Skip to content

Instantly share code, notes, and snippets.

@subblue
Created June 5, 2016 08:36
Show Gist options
  • Save subblue/850b1a7ee81229c5f904c8a045810af7 to your computer and use it in GitHub Desktop.
Save subblue/850b1a7ee81229c5f904c8a045810af7 to your computer and use it in GitHub Desktop.
General React.js dev package.json
{
"name": "test-app",
"version": "0.0.1",
"description": "Test App",
"main": "index.js",
"scripts": {
"start": "clear && NODE_ENV=development webpack-dev-server --config webpack-dev.js --devtool cheap-module-source-map --inline --hot",
"test": "clear && watch 'npm run --silent mocha' ./src -d -u",
"mocha": "clear && mocha --opts mocha.opts ./src/**/*-test.js",
},
"dependencies": {
"babel-core": "6.9.0",
"babel-polyfill": "6.9.0",
"babel-runtime": "6.9.0",
"classnames": "2.2.5",
"history": "2.1.1",
"immutable": "3.8.1",
"isomorphic-fetch": "2.2.1",
"jwt-decode": "2.0.1",
"react": "15.1.0",
"react-addons-css-transition-group": "15.1.0",
"react-addons-pure-render-mixin": "15.1.0",
"react-addons-transition-group": "15.1.0",
"react-dom": "15.1.0",
"react-helmet": "3.1.0",
"react-redux": "4.4.5",
"react-router": "2.4.1",
"react-router-redux": "4.0.4",
"redux": "3.5.2",
"redux-thunk": "2.1.0",
"reselect": "2.5.1"
},
"devDependencies": {
"babel-eslint": "6.0.4",
"babel-loader": "6.2.4",
"babel-plugin-transform-react-constant-elements": "6.8.0",
"babel-plugin-transform-react-inline-elements": "6.8.0",
"babel-plugin-transform-react-remove-prop-types": "0.2.7",
"babel-plugin-transform-runtime": "6.9.0",
"babel-preset-es2015": "6.9.0",
"babel-preset-react": "6.5.0",
"babel-preset-stage-0": "6.5.0",
"css-loader": "0.23.1",
"enzyme": "2.3.0",
"eslint": "2.10.2",
"eslint-plugin-react": "5.1.1",
"expect": "1.20.1",
"expect-jsx": "2.5.1",
"file-loader": "0.8.5",
"html-webpack-plugin": "2.17.0",
"jsdom": "9.2.0",
"mocha": "2.5.2",
"module-alias": "1.0.8",
"nock": "8.0.0",
"node-storage-shim": "1.0.1",
"postcss": "5.0.21",
"postcss-browser-reporter": "0.5.0",
"postcss-cssnext": "2.5.2",
"postcss-import": "8.1.2",
"postcss-loader": "0.9.1",
"postcss-reporter": "1.3.3",
"postcss-url": "5.1.2",
"raw-loader": "0.5.1",
"react-addons-perf": "15.1.0",
"react-addons-test-utils": "15.1.0",
"react-hot-loader": "1.3.0",
"redux-mock-store": "1.0.3",
"script-loader": "0.7.0",
"sinon": "1.17.4",
"style-loader": "0.13.1",
"url-loader": "0.5.7",
"watch": "0.18.0",
"webpack": "1.13.1",
"webpack-dev-server": "1.14.1"
},
"engines": {
"node": "6.0.0"
},
"_moduleDirectories": [
"src/app/components",
"src/app/views",
"src/app",
"node_modules"
]
}
@subblue
Copy link
Author

subblue commented Jun 5, 2016

Use with this webpack-dev.js configuration: https://gist.github.com/subblue/a0c06c9b3168a55ec5d75a7dd27467f0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment