Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,4 @@ After submitting the pull request, please make sure the Continuous Integration c
## Releasing

1. Merge the release PR
2. Switch to the default branch `git checkout master`
3. Pull latest changes `git pull`
4. Publish the package `npm publish`
2. Publish the package `npm publish`
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@
"test:dev": "run-s test:dev:*",
"test:ci": "run-s test:ci:*",
"test:dev:ava": "ava",
"test:ci:ava": "nyc -r lcovonly -r text -r json ava"
"test:ci:ava": "nyc -r lcovonly -r text -r json ava",
"prepublishOnly": "run-s prepublishOnly:*",
"prepublishOnly:checkout": "git checkout master",
"prepublishOnly:pull": "git pull",
"prepublishOnly:install": "npm ci",
"prepublishOnly:test": "npm test"
},
"scriptsArgs": {
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{bin,.github}/**/*.{js,md,html}\" \".*.js\"",
Expand Down