Fix npm publishing
Summary: Fixed npm packaging/publishing scripts for "flipper-doctor", "flipper-pkg" and "flipper-babel-transformer". Also removed scripts for testing and linting, because these packages are tested and linted by root level package.json. Reviewed By: jknoxville Differential Revision: D20839959 fbshipit-source-id: 4d9d037d4921fc97356c849054c389dfece05652
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f1e8297800
commit
2690894ad0
@@ -24,13 +24,9 @@
|
||||
"typescript": "^3.7.2"
|
||||
},
|
||||
"scripts": {
|
||||
"reset": "rimraf lib *.tsbuildinfo",
|
||||
"build": "tsc -b",
|
||||
"prepare": "yarn run build",
|
||||
"prepublishOnly": "yarn test && yarn run lint",
|
||||
"preversion": "yarn run lint",
|
||||
"test": "jest --config jestconfig.json --passWithNoTests",
|
||||
"lint": "eslint -c ../.eslintrc.js src/**/* --ext .js,.ts && tsc --noemit",
|
||||
"fix": "eslint -c ../.eslintrc.js src/**/* --fix --ext .js,.ts",
|
||||
"prepack": "yarn reset && yarn build",
|
||||
"run": "yarn run build && node lib/cli.js"
|
||||
},
|
||||
"files": [
|
||||
|
||||
Reference in New Issue
Block a user