Skip to content

Commit

Permalink
Fix missed all.js javascript generation on prepare script.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamChatfield committed Oct 28, 2024
1 parent e5f7f92 commit 5cc2bab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const styleRules = {

module.exports = [
js.configs.recommended,
{
ignores: ['all.js']
},
{
languageOptions: {
ecmaVersion: 2022,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test:unit": "nyc --reporter=lcov --reporter=text-summary _mocha --recursive test 'components/**/spec.*.js'",
"test:sass": "sass -q -I . --no-source-map test/test.scss /dev/null && echo scss compiles in sass",
"posttest": "npm audit --production",
"prepare": "husky"
"prepare": "husky && uglifyjs components/common.js components/**/script.js -o all.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 5cc2bab

Please sign in to comment.