sanity restored

This commit is contained in:
Guillermo Rauch 2017-01-12 13:04:45 -08:00
parent fcd56b596a
commit e1a861659d
2 changed files with 1 additions and 2 deletions

View file

@ -32,7 +32,7 @@ brew cask install hyper
To make sure that your code works in the finished application, you can generate the binaries like this: To make sure that your code works in the finished application, you can generate the binaries like this:
```bash ```bash
$ npm run pack npm run dist
``` ```
After that, you'll see the binary in the `./dist` folder! After that, you'll see the binary in the `./dist` folder!

View file

@ -9,7 +9,6 @@
"test": "npm run lint", "test": "npm run lint",
"prepush": "npm test", "prepush": "npm test",
"postinstall": "install-app-deps", "postinstall": "install-app-deps",
"pack": "npm run build && build --dir && cross-env BABEL_ENV=production babel --out-file app/dist/bundle.js --no-comments --minified app/dist/bundle.js",
"dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/dist/bundle.js --no-comments --minified app/dist/bundle.js && build", "dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/dist/bundle.js --no-comments --minified app/dist/bundle.js && build",
"clean": "npm cache clear && rm -rf node_modules && rm -rf app/node_modules && rm -rf app/dist" "clean": "npm cache clear && rm -rf node_modules && rm -rf app/node_modules && rm -rf app/dist"
}, },