From 3ba847944297ef72ff6e5378dc3d0c465bfbfe16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9odore=20BIADALA?= Date: Sat, 14 Nov 2020 12:52:52 +0100 Subject: [PATCH] Fix command loop --- package.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a507004..9d2377e 100644 --- a/package.json +++ b/package.json @@ -48,16 +48,14 @@ "terser": "^5.3.8" }, "scripts": { - "build": "node ./build/dist.js", - "prepublish": "npm install && npm run validate", - "validate": "npm run test && npm pack --dry-run", + "build": "node ./build/dist.js && npm run docs", "test": "web-test-runner 'test/*.test.html' --node-resolve --playwright --browsers chromium firefox", "lint": "eslint src/", "docs": "jsdoc2md src/once.js > API.md", - "dev": "", "pretest": "npm run lint && npm run build", + "prepare": "npm test", "preversion": "npm test", - "version": "npm run build && git add -A dist -f", - "//postversion": "git push && git push --tags" + "version": "npm run build && git add -A dist -f && git add -A API.md", + "postversion": "git push && git push --tags" } }