Skip to content

Commit 39c7143

Browse files
committed
[meta] cp core.json on prepack instead of prepublishOnly
1 parent 04ca704 commit 39c7143

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"module"
1818
],
1919
"scripts": {
20-
"prepack": "npmignore --auto --commentLines=autogenerated",
21-
"prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:",
20+
"prepack": "npmignore --auto --commentLines=autogenerated && cp node_modules/is-core-module/core.json ./lib/ ||:",
21+
"prepublishOnly": "safe-publish-latest",
2222
"prepublish": "not-in-publish || npm run prepublishOnly",
2323
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
2424
"lint": "eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**'",

0 commit comments

Comments
 (0)