Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c2ef83

Browse files
committed
fix(app): copy-libs just before publish
Fixes #1422
1 parent 0946e0f commit 5c2ef83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"start": "npm run test:watch",
1111
"copy-libs": "node tools/copy-libs.js",
12-
"postinstall": "npm run copy-libs && opencollective-postinstall || exit 0",
12+
"postinstall": "opencollective-postinstall || exit 0",
1313
"*********BUILD********": "*******************",
1414
"prebuild": "rimraf dist/*",
1515
"build": "rollup -c rollup/rollup.config.mjs --bundleConfigAsCjs && npm run build-schematics",
@@ -34,7 +34,7 @@
3434
"premerge-lcov": "mv coverage-refactoring/lcov.info coverage/lcov-refactoring.info",
3535
"merge-lcov": "./node_modules/.bin/lcov-result-merger 'coverage/lcov-*.info' 'coverage/lcov_merged.info'",
3636
"*********PUBLISH********": "*******************",
37-
"prepublishOnly": "npm run build && npm run backup-package-json",
37+
"prepublishOnly": "npm run build && npm run backup-package-json && npm run copy-libs",
3838
"postpublish": "npm run restore-package-json",
3939
"*********QUALITY********": "*******************",
4040
"lint": "eslint src/**/*.ts",

0 commit comments

Comments
 (0)