new-webpack: replace old scripts in `package.json` (#569)

Test Plan:
Run `yarn start` and note that everything checks out.

Run `yarn build && (cd build/ && python -m SimpleHTTPServer)` and note
that everything checks out, except that the static assets are of course
not included in the build.

wchargin-branch: webpack-replace-scripts
This commit is contained in:
William Chargin 2018-07-30 18:10:54 -07:00 committed by GitHub
parent b45ef739fe
commit 0128df8c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -72,8 +72,8 @@
"scripts": {
"prettify": "prettier --write '**/*.js'",
"check-pretty": "prettier --list-different '**/*.js'",
"start": "node scripts/start.js",
"build": "node scripts/build.js",
"start": "NODE_ENV=development webpack-dev-server --config config/makeWebpackConfig.js",
"build": "NODE_ENV=production webpack --config config/makeWebpackConfig.js",
"backend": "node scripts/backend.js",
"test": "node scripts/test.js --env=jsdom",
"ci-test": "CI=1 npm run test",