commit d41d5d175c293e67ce6eebfd5aa0b3c77f0f3590
parent 2597cc3011c9e5b64391defd7e95071921265267
Author: Robin Bron <finwo@pm.me>
Date: Fri, 9 Oct 2020 12:07:36 +0200
Include common package.json components
Diffstat:
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
@@ -4,8 +4,25 @@
"description": "",
"main": "index.js",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{print $2}' | sed 's/[\",]//g' | tr -d '[[:space:]]') && npm deprecate \"jest-isa@<${PACKAGE_VERSION}\" \"Rolling release, please update to ${PACKAGE_VERSION}\"",
+ "test": "echo \"Error: no test specified\""
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/finwo/jest-isa.git"
},
"author": "Robin Bron <robin@finwo.nl>",
- "license": "MIT"
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/finwo/jest-isa/issues"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/finwo"
+ },
+ "homepage": "https://github.com/finwo/jest-isa#readme",
+ "keywords": [
+ "jest",
+ "isa",
+ "instanceof"
+ ]
}