Skip to content

Commit

Permalink
Fix: include build file in release
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 committed Jul 6, 2021
1 parent cea7f1f commit 16cfc67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .cjsescache
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[
"data/units.js",
"node_modules/semver-regex/index.js"
"data/units.js"
]
1 change: 1 addition & 0 deletions browser-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,5 @@ rl.question('Open browser-test.html and check if all tests have passed (y/N): ',
if (!/y/i.test(ans)) {
process.exit(1); // eslint-disable-line unicorn/no-process-exit
}
rl.close();
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build-units": "shx rm -rf data/* && node generate-units > data/units.js",
"coverage": "nyc report --reporter=html",
"preversion": "node prepare-release.js && npm test && npm run build && node browser-test",
"version": "npm run build",
"version": "npm run build && git add .",
"postversion": "git push --follow-tags && npm publish"
},
"files": [
Expand Down

0 comments on commit 16cfc67

Please sign in to comment.