diff --git a/package.json b/package.json index c37ffb3..e1de479 100644 --- a/package.json +++ b/package.json @@ -24,11 +24,12 @@ "babel-core": "^6.17.0", "babel-loader": "^6.2.5", "babel-preset-latest": "^6.16.0", - "ohm-js": "^0.12.3", + "ohm-js": "^0.14.0", "webpack": "^1.13.2" }, "devDependencies": { "chai": "^3.5.0", + "json-loader": "^0.5.7", "mocha": "^3.1.0" } -} +} \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index 8e82977..35657e7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -13,7 +13,8 @@ module.exports = { }, module: { loaders: [ - { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader"}, + { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader" }, + { test: /\.json$/, loader: 'json-loader' } ] }, plugins: [