Change npm to yarn
Summary: `npm` is not found in Tupperware and cause an error in Sandcastle (https://our.intern.facebook.com/intern/sandcastle/job/36028797237063790/). Changing from `npm` to `yarn` Note: - changing job spec (`vcs` and `type` in `capacities`) without changing `npm` passes the test (https://our.intern.facebook.com/intern/sandcastle/job/18014398729063207). Not sure what to do now Reviewed By: nikoant Differential Revision: D20191486 fbshipit-source-id: b354c28a61dbce7bc165bd43c4c608fe359a9670
This commit is contained in:
committed by
Facebook Github Bot
parent
26a5a87158
commit
2afa75a5a7
@@ -24,13 +24,13 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"prepare": "npm run build",
|
||||
"prepublishOnly": "npm test && npm run lint",
|
||||
"preversion": "npm run lint",
|
||||
"prepare": "yarn run build",
|
||||
"prepublishOnly": "yarn test && yarn run lint",
|
||||
"preversion": "yarn run lint",
|
||||
"test": "jest --config jestconfig.json --passWithNoTests",
|
||||
"lint": "eslint -c ../../sonar/.eslintrc.js src/**/* --ext .js,.ts && tsc --noemit",
|
||||
"fix": "eslint -c ../../sonar/.eslintrc.js src/**/* --fix --ext .js,.ts",
|
||||
"run": "npm run build && node lib/cli.js"
|
||||
"run": "yarn run build && node lib/cli.js"
|
||||
},
|
||||
"files": [
|
||||
"lib/**/*"
|
||||
|
||||
Reference in New Issue
Block a user