diff --git a/package.json b/package.json index a37ca0d..710bbad 100644 --- a/package.json +++ b/package.json @@ -24,8 +24,12 @@ "scripts": { "build": "tsc", "clean": "ts-node scripts/clean.ts", - "prepublishOnly": "npm run clean && npm run build", + "prepublishOnly": "npm run reset && npm test", "pretest": "npm run build", + "preversion": "npm run reset && npm test", + "publish": "npm publish", + "release": "npm version", + "reset": "npm run clean && npm ci", "test": "ts-node --project=test/tsconfig.json test/run-tests.ts" }, "devDependencies": {