Remove node_modules from build

This commit is contained in:
Boris Kubiak 2018-01-27 14:42:50 +01:00
parent aec85c7c68
commit 78323b3bd7

View file

@ -36,7 +36,7 @@
"test": "node ./node_modules/xo/cli.js", "test": "node ./node_modules/xo/cli.js",
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot", "dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules", "build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"clean": "find . -maxdepth 1 -type f -not -name 'index.html' -not -name 'README.md' -delete && rm -fr src dist/vanity.js" "clean": "find . -maxdepth 1 -type f -not -name 'index.html' -not -name 'README.md' -delete && rm -fr node_modules src dist/vanity.js"
}, },
"xo": { "xo": {
"rules": { "rules": {