Skip to content

Commit a353ce7

Browse files
committed
prepack instead of prepublishOnly
1 parent 2d72f88 commit a353ce7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"clean-built-types": "rm -f $(find . -maxdepth 1 -type f -name '*.d.ts*') $(find lib -type f -name '*.d.ts*' ! -name 'types.d.ts')",
99
"prebuild-types": "npm run clean-built-types",
1010
"build-types": "tsc -p build.tsconfig.json",
11-
"prepublishOnly": "npm run build-types",
12-
"prepack": "npmignore --auto --commentLines=autogenerated",
11+
"prepack": "npm run build-types && npmignore --auto --commentLines=autogenerated",
1312
"prelint": "npm run lint:docs",
1413
"lint:docs": "markdownlint \"**/*.md\"",
1514
"postlint:docs": "npm run update:eslint-docs -- --check",

0 commit comments

Comments
 (0)