Skip to content

Commit 2cc1199

Browse files
committed
fix: add prepack script for cleaner package management
1 parent 6f27fde commit 2cc1199

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
"build": "npx pkgroll --clean-dist --minify --env.DEBUG_LOG=false",
6969
"build:en": "npx pkgroll --clean-dist --minify --env.DEBUG_LOG=false --env.MENU_LANGUAGE=it",
7070
"build:it": "npx pkgroll --clean-dist --minify --env.DEBUG_LOG=false --env.MENU_LANGUAGE=it",
71-
"pack:test": "npm pack --dry-run"
71+
"pack:test": "npm pack --dry-run",
72+
"prepack": "clean-pkg-json -r scripts,plugins"
7273
},
7374
"plugins": [
7475
"@semantic-release/commit-analyzer",

0 commit comments

Comments
 (0)