commit dad22f28305784cc0a21e69505a2a19d8fbbaf27
parent de922bf56ba33825e68f724da7d8d17b4c2bdd40
Author: finwo <finwo@pm.me>
Date: Tue, 30 May 2023 23:46:17 +0200
Fix unrun postpublishOnly script
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package.json b/package.json
@@ -18,7 +18,6 @@
}
},
"scripts": {
- "prepublishonly": "npm test",
"test": "npm run linter && npm run build && node_modules/.bin/tap --reporter-arg=--reporter=html --branches=50 --functions=90 --lines=98 --statements=81 'dist/test/**/*.test.js'",
"clean": "rm -rf ./dist",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:test",
@@ -27,7 +26,7 @@
"build:esm": "tsc -p ./config/tsconfig.esm.json && mv dist/esm/index.js dist/esm/index.mjs && mv dist/esm/index.js.map dist/esm/index.mjs.map",
"build:test": "tsc -p ./config/tsconfig.test.json",
"linter": "eslint src",
- "postpublishonly": "PACKAGE_VERSION=$(jq -r .version < package.json) && PACKAGE_NAME=$(jq -r .name < package.json) && npm deprecate \"${PACKAGE_NAME}@<${PACKAGE_VERSION}\" \"Rolling release, please update to ${PACKAGE_VERSION}\"",
+ "postpublishOnly": "PACKAGE_VERSION=$(jq -r .version < package.json) && PACKAGE_NAME=$(jq -r .name < package.json) && npm deprecate \"${PACKAGE_NAME}@<${PACKAGE_VERSION}\" \"Rolling release, please update to ${PACKAGE_VERSION}\"",
"watch": "nodemon --watch src --watch test --ext ts --exec npm -- run build"
},
"repository": {