Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 613024e

Browse files
author
george
committed
add packaged js modules
1 parent c538345 commit 613024e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dist/undernet.modules.js.zip

10.5 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
"js:merge": "BABEL_ENV=dist rollup -c config/rollup.config.js",
2626
"js:minify": "BABEL_ENV=dist rollup -c config/rollup.config.prod.js",
2727
"js:watch": "BABEL_ENV=dist babel js/src/ --watch --out-dir js/dist/ --no-comments",
28+
"js:modules:zip": "cd js/dist/ && zip -r ../../dist/undernet.modules.js.zip .",
2829
"js:zip": "cd dist/ && zip -r undernet.js.zip . -x *.css *.zip *.css.map",
29-
"js:prepublish": "npm run js:build && npm run js:merge && npm run js:minify && npm run js:zip",
30+
"js:prepublish": "npm run js:build && npm run js:merge && js:modules:zip && npm run js:minify && npm run js:zip",
3031
"js:lint": "prettier --write 'js/src/**/*.js'",
3132
"css:minify": "sass scss/undernet.scss:dist/undernet.min.css --style compressed",
3233
"css:build": "sass scss/undernet.scss:dist/undernet.css",

0 commit comments

Comments
 (0)