refactor: Made versioning more efficient.

This commit is contained in:
Bret Comnes 2020-02-18 10:20:02 -07:00
parent b0dba38c69
commit 7b4bdb680c
No known key found for this signature in database
GPG Key ID: 3705F4634DC3A1AC
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ sandbox.js
config.json
public
node_modules
tmp_modules

View File

@ -12,8 +12,8 @@
"release": "git push --follow-tags && gh-release",
"version": "run-s version:*",
"version:1-changelog": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING:' && git add CHANGELOG.md",
"version:2-cleandeps": "rm -rf node_modules && npm i --only=prod && git add node_modules --force",
"postversion": "npm i",
"version:2-cleandeps": "mv node_modules tmp_modules && npm i --only=prod && git add node_modules --force",
"postversion": "rm -rf node_modules && mv tmp_modules node_modules",
"clean": "rimraf dist && mkdirp dist",
"build": "mkdir public && cp package.json public/test.json"
},