Skip to content

Instantly share code, notes, and snippets.

@joshuacrass
Created September 10, 2018 11:53
Show Gist options
  • Save joshuacrass/deb388502d50979e0476f6d6673512f4 to your computer and use it in GitHub Desktop.
Save joshuacrass/deb388502d50979e0476f6d6673512f4 to your computer and use it in GitHub Desktop.
webpack-starter sample package.json
{
"name": "react-starter-test-2",
"version": "1.0.0",
"main": "index.jsx",
"license": "MIT",
"scripts": {
"build": "yarn clean; webpack --config config/webpack-prod-config.js",
"clean": "rm -rf build/*",
"start:dev": "node config/webpack-dev-server.js",
"start:prod": "yarn build; serve build"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.2",
"css-loader": "^1.0.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^2.0.0",
"html-webpack-plugin": "^3.2.0",
"path": "^0.12.7",
"react-hot-loader": "^4.3.6",
"style-loader": "^0.23.0",
"uglifyjs-webpack-plugin": "^1.3.0",
"webpack": "^4.17.2",
"webpack-command": "^0.4.1",
"webpack-dev-server": "^3.1.8",
"webpack-merge": "^4.1.4"
},
"dependencies": {
"react": "^16.5.0",
"react-dom": "^16.5.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment