This is an automated email from the ASF dual-hosted git repository.
gerben pushed a commit to branch top-level-exports
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
The following commit(s) were added to refs/heads/top-level-exports by this push:
new bca0bae Run ‘yarn build’ in prepare script
bca0bae is described below
commit bca0bae076a690bd80549811a95f42b3710b2b12
Author: Gerben <[email protected]>
AuthorDate: Fri Sep 18 22:37:19 2020 +0200
Run ‘yarn build’ in prepare script
So it also gets run when installing this package as a git dependency.
(see <https://docs.npmjs.com/using-npm/scripts.html#life-cycle-scripts>)
---
package.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package.json b/package.json
index 534e97b..7eef720 100644
--- a/package.json
+++ b/package.json
@@ -23,8 +23,7 @@
"build:types": "tsc --build",
"clean": "tsc --build --clean && lerna exec -- rimraf LICENSE NOTICE lib",
"lint": "tsc --build && eslint .",
- "prepare": "yarn run build:types && lerna run prepare",
- "prepublishOnly": "yarn run build",
+ "prepare": "yarn run build && lerna run prepare",
"start": "yarn run web:server",
"test": "cross-env BABEL_ENV=test nyc mocha packages/**/*.test.ts",
"validate": "cross-env BABEL_ENV=test mocha test/**/*.test.ts",