Skip to content

Instantly share code, notes, and snippets.

@a-m-dev
Last active July 25, 2018 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a-m-dev/99fc7c615d9cd02234d867450b970782 to your computer and use it in GitHub Desktop.
Save a-m-dev/99fc7c615d9cd02234d867450b970782 to your computer and use it in GitHub Desktop.
{
"name": "amdev",
"version": "1.0.0",
"description": "My Personal Website",
"main": "index.js",
"scripts": {
"dev": "webpack-dev-server -d --progress",
"build": "npm run clear && webpack -p",
"clear": "rimraf ./dist/*"
},
"author": "a_m_dev",
"license": "ISC",
"dependencies": {
"chart.js": "^2.7.2",
"react": "^16.4.1",
"react-chartjs-2": "^2.7.2",
"react-dom": "^16.4.1",
"react-tilt": "^0.1.4"
},
"devDependencies": {
"babel": "^6.23.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-3": "^6.24.1", // install stage-0 instead all the time
"css-loader": "^0.28.11",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"node-sass": "^4.9.1",
"rimraf": "^2.6.2",
"sass-loader": "^7.0.3",
"style-loader": "^0.21.0",
"url-loader": "^1.0.1", // skip this if you iuseing file-loader
"webpack": "^4.15.1",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.4"
}
}
@a-m-dev
Copy link
Author

a-m-dev commented Jul 15, 2018

see the corresponding webpack.config.js file https://gist.github.com/ErEllison/e744df029c8dc37fc8deb1f90ed2e5e4

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