Skip to content

Commit

Permalink
[meta] add safe-publish-latest, auto-changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 11, 2019
1 parent 69f6d9c commit 2ebecb5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .npmrc
@@ -1 +1,3 @@
package-lock=false
allow-same-version=true
message=v%s
12 changes: 12 additions & 0 deletions package.json
Expand Up @@ -4,6 +4,9 @@
"description": "Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.",
"main": "index.js",
"scripts": {
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"",
"prepublish": "safe-publish-latest",
"pretest": "npm run lint",
"lint": "eslint .",
"tests-only": "node test",
Expand Down Expand Up @@ -33,11 +36,20 @@
"homepage": "https://github.com/inspect-js/is-map#readme",
"devDependencies": {
"@ljharb/eslint-config": "^15.0.1",
"auto-changelog": "^1.16.2",
"es5-shim": "^4.5.13",
"es6-shim": "^0.35.5",
"eslint": "^6.6.0",
"for-each": "^0.3.3",
"object-inspect": "^1.7.0",
"safe-publish-latest": "^1.1.4",
"tape": "^4.11.0"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false
}
}

0 comments on commit 2ebecb5

Please sign in to comment.