From 182db01312908c52b604929eeef39f9f33724543 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 15 Jun 2024 20:30:41 +0200 Subject: [PATCH] feat: remove release script, add check to pretest --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index f4daa14..efe8885 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,6 @@ "rollup-plugin-visualizer": "^5.9.2" }, "scripts": { - "release": "node ./prerelease.js && npm test && npm run build", "build": "rm -rf ./dist/ && npm run build:bundle && npm run build:minify", "build:bundle": "rollup -c", "build:minify": "minify ./dist/doip.core.js > ./dist/doip.core.min.js && minify ./dist/doip.fetchers.js > ./dist/doip.fetchers.min.js && minify ./dist/doip.fetchers.minimal.js > ./dist/doip.fetchers.minimal.min.js", @@ -67,7 +66,7 @@ "docs:lib": "jsdoc -c jsdoc-lib.json -r -d ./docs -P package.json", "lint": "eslint ./src", "lint:fix": "eslint ./src --fix", - "pretest": "npm run lint && npm run license:check", + "pretest": "node ./prerelease.js && npm run lint && npm run license:check", "test": "mocha", "prepare": "husky install" },