Created
March 25, 2018 18:56
-
-
Save rencire/a7ab0224ac901b59e71244c4d5be1df3 to your computer and use it in GitHub Desktop.
simple package.json. 0 conf webpack. postcss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "static", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1", | |
| "build.js.dev": "webpack --mode development -o static/main.js", | |
| "build.js.prod": "webpack --mode production -o static/main.js", | |
| "clean": "rm -rf static/", | |
| "build.dev": "npm run clean && npm run build.js.dev && shx cp src/**/*.css static/", | |
| "build.prod": "npm run clean && npm run build.js.prod && shx cp src/**/*.css static/ && gzip static/*" | |
| }, | |
| "author": "", | |
| "license": "ISC", | |
| "dependencies": { | |
| "learn-crypto": "0.0.5" | |
| }, | |
| "devDependencies": { | |
| "cssnano": "^3.10.0", | |
| "postcss": "^6.0.21", | |
| "postcss-cli": "^5.0.0", | |
| "postcss-cssnext": "^3.1.0", | |
| "shx": "^0.2.2", | |
| "webpack": "^4.2.0", | |
| "webpack-cli": "^2.0.13" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment