Skip to content

Commit 52f045d

Browse files
committed
Added minify.js + build:js script
1 parent b3471b0 commit 52f045d

2 files changed

Lines changed: 239 additions & 1 deletion

File tree

package-lock.json

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

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@
4141
"lint:all": "eslint .",
4242
"lint:fix": "eslint . --fix --cache",
4343
"lint:fix-all": "eslint . --fix",
44+
"build:js": "minify-js assets/js dist --relative-output",
4445
"bump:chatbots": "node utils/bump/chatbots --cache",
4546
"bump:chatbots-nc": "node utils/bump/chatbots --cache --no-commit",
4647
"bump:chatbots-np": "node utils/bump/chatbots --cache --no-push",
4748
"bump:res": "node utils/bump/resources --cache"
4849
},
4950
"devDependencies": {
51+
"@adamlui/minify.js": "^2.1.0",
5052
"@eslint/json": "^0.14.0",
5153
"@eslint/markdown": "^7.5.1",
5254
"@stylistic/eslint-plugin": "^5.7.0",

0 commit comments

Comments
 (0)