mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Use yarn instead of npm for scripts. (#2083)
This commit is contained in:
parent
66b9eebe9b
commit
2ce66662e1
1 changed files with 6 additions and 6 deletions
12
package.json
12
package.json
|
|
@ -1,18 +1,18 @@
|
|||
{
|
||||
"repository": "zeit/hyper",
|
||||
"scripts": {
|
||||
"start": "echo 'please run `npm run dev` in one tab and then `npm run app` in another one'",
|
||||
"start": "echo 'please run `yarn run dev` in one tab and then `yarn run app` in another one'",
|
||||
"app": "electron app",
|
||||
"dev": "webpack -w",
|
||||
"build": "cross-env NODE_ENV=production webpack",
|
||||
"lint": "xo",
|
||||
"test": "npm run lint",
|
||||
"test": "yarn run lint",
|
||||
"test:unit": "ava test/unit",
|
||||
"test:unit:watch": "npm run test:unit -- --watch",
|
||||
"prepush": "npm test",
|
||||
"postinstall": "electron-builder install-app-deps && npm run rebuild-node-pty",
|
||||
"test:unit:watch": "yarn run test:unit -- --watch",
|
||||
"prepush": "yarn test",
|
||||
"postinstall": "electron-builder install-app-deps && yarn run rebuild-node-pty",
|
||||
"rebuild-node-pty": "electron-rebuild -f -w app/node_modules/node-pty -m app",
|
||||
"dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/renderer/bundle.js --no-comments --minified app/renderer/bundle.js && build",
|
||||
"dist": "yarn run build && cross-env BABEL_ENV=production babel --out-file app/renderer/bundle.js --no-comments --minified app/renderer/bundle.js && build",
|
||||
"clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer"
|
||||
},
|
||||
"xo": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue