Skip to content

Instantly share code, notes, and snippets.

@jslnriot
Last active September 11, 2017 17:50
Show Gist options
  • Save jslnriot/9250a9e00a15dafb02549ab3e0552c7a to your computer and use it in GitHub Desktop.
Save jslnriot/9250a9e00a15dafb02549ab3e0552c7a to your computer and use it in GitHub Desktop.
Package.json example for webpack 2 config
{
"name": "react-webpack2-bootstrap4-sass",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"clean": "rimraf dist",
"buildDev": "npm run build && ./node_modules/.bin/webpack-dev-server",
"build": "npm run clean && webpack"
},
"repository": "https://github.com/jslnriot/react-webpack2-bootstrap4-sass-demo",
"author": "",
"license": "ISC",
"dependencies": {
"bootstrap": "^4.0.0-alpha.6",
"jquery": "^3.1.1",
"lodash": "^4.17.2",
"react": "^15.4.1",
"react-dom": "^15.4.1",
"react-input-range": "^0.9.2",
"react-redux": "^4.4.6",
"react-router": "^3.0.0",
"redux": "^3.6.0",
"redux-form": "^6.3.2",
"redux-promise": "^0.5.3",
"redux-thunk": "^2.1.0",
"swiper": "^3.4.0",
"tether": "^1.4.0"
},
"devDependencies": {
"babel-core": "^6.17.0",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.0",
"babel-preset-env": "^1.1.4",
"babel-preset-react": "^6.16.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.26.1",
"extract-text-webpack-plugin": "^2.0.0-beta.4",
"file-loader": "^0.9.0",
"html-webpack-plugin": "^2.26.0",
"mocha": "^3.1.2",
"node-sass": "^4.2.0",
"rimraf": "^2.5.4",
"sass-loader": "^4.0.0",
"sass-resources-loader": "1.2.0-beta.1",
"script-loader": "^0.7.0",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
"webpack": "^2.2.0",
"webpack-dev-server": "^2.2.0-rc.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment