Files
generator-react-webpack/templates/common/_package.json
T
Brandon Smyth 83b06593c5 Update karma-webpack depency to fix confusing error
Using karma-webpack-plugin 1.0.0 led to the following error from grunt
test immediately after generating.  I found the following fix in
karma-webpack that had not been included in karma-webpack-plugin because
it has since become karma-webpack.

error:
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket 33J3dAUsvdMT6Io38nxm with id 51124214
PhantomJS 1.9.7 (Mac OS X) ERROR
  TEST RUN WAS CANCELLED because this file contains some errors:
      /.../eventlist/test/spec/components/EventlistApp.js

fix:
https://github.com/webpack/karma-webpack/commit/ad3be8452f4debd954256cffcb9ffd84f2b838d6
2014-09-28 23:05:42 -07:00

41 lines
1.1 KiB
JSON

{
"name": "<%= _.slugify(appname) %>",
"version": "0.0.0",
"description": "",
"repository": "",
"private": true,
"src": "src",
"test": "test",
"dist": "dist",
"mainInput": "<% if (reactRouter) { %>main<% } else { %><%= scriptAppName %><% } %>",
"mainOutput": "main",
"dependencies": {<% if (reactRouter) { %>
"react-router": "^0.7.0",<% } %>
"react": "~0.11.2"
},
"devDependencies": {
"grunt": "~0.4.5",
"load-grunt-tasks": "~0.6.0",
"grunt-contrib-connect": "~0.8.0",
"webpack": "~1.4.3",
"jsx-loader": "~0.11.0",
"grunt-webpack": "~1.0.8",
"style-loader": "~0.8.0",
"url-loader": "~0.5.5",
"css-loader": "~0.9.0",
"karma-script-launcher": "~0.1.0",
"karma-chrome-launcher": "~0.1.4",
"karma-firefox-launcher": "~0.1.3",
"karma-jasmine": "~0.1.5",
"karma-phantomjs-launcher": "~0.1.3",
"karma": "~0.12.21",
"grunt-karma": "~0.8.3",
"karma-webpack": "~1.2.2",
"webpack-dev-server": "~1.6.5",
"grunt-open": "~0.2.3",
"jshint-loader": "~0.8.0",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-clean": "~0.6.0"
}
}