Skip to content

Commit 4f66a16

Browse files
committed
Expose npm bin scripts in package.json
1 parent d2239e7 commit 4f66a16

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@
112112
"webpack-cli": "^5.1.4",
113113
"webpack-dev-server": "^5.1.0"
114114
},
115+
"bin": {
116+
"qwc_build_iconfont": "./scripts/makeIconkit.js",
117+
"qwc_gen_themesconfig": "./scripts/themesConfig.js",
118+
"qwc_update_translations": "./scripts/updateTranslations.js"
119+
},
115120
"scripts": {
116121
"prod": "npm run tsupdate && npm run themesconfig && npm run iconfont && webpack --mode production --progress",
117122
"start": "npm run tsupdate && npm run themesconfig && npm run iconfont && webpack serve --mode development --progress --host 0.0.0.0 --port 8081",

0 commit comments

Comments
 (0)