Skip to content

Commit 3bb10ec

Browse files
committed
feat: proper build script, added 1.2.0 bundle.min.js
1 parent 022e830 commit 3bb10ec

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/nexys/bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/nexys/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
"lint": "eslint \"**/*.ts*\"",
3737
"build": "tsc",
3838
"dev": "tsc-watch --onSuccess tsc",
39-
"build:all": "npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd-minify",
39+
"build:all": "npm run build && npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd-minify",
4040
"build:es2015": "tsc --module es2015 --target es2015 --outDir build/es2015",
4141
"build:esm": "tsc --module es2015 --target es5 --outDir build/esm",
4242
"build:cjs": "tsc --module commonjs --target es5 --outDir build/cjs",
43-
"build:umd": "rollup dist/index.js --file bundle.js --format umd --name nexys",
44-
"build:umd-minify": "rollup dist/index.js --file bundle.js --format umd --name nexys && uglifyjs bundle.js --output bundle.min.js"
43+
"build:umd": "npm run build && rollup dist/index.js --file bundle.js --format umd --name nexys",
44+
"build:umd-minify": "npm run build && rollup dist/index.js --file bundle.js --format umd --name nexys && uglifyjs bundle.js --output bundle.min.js"
4545
},
4646
"devDependencies": {
4747
"@types/node": "^18.11.9",

0 commit comments

Comments
 (0)