diff --git a/package.json b/package.json index b7ec5d9..3bbf835 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cell-router", - "version": "3.0.0", + "version": "3.0.1", "license": "LGPL-3.0", "description": "Web Component Router based on WebCell & MobX", "keywords": [ @@ -58,14 +58,13 @@ "typescript": "~5.6.3" }, "scripts": { - "prepare": "husky", - "install": "app-find chrome msedge firefox -c", + "prepare": "husky && app-find chrome msedge firefox -c", "preview": "cd test/ && rimraf ../.parcel-cache/ dist/ && parcel --open", "pack-preview": "cd test/ && rimraf ../.parcel-cache/ dist/ && parcel build --public-url=. --dist-dir=../docs/preview/", "pack-dist": "rimraf dist/ && parcel build source/index.ts", "test": "lint-staged && npm run pack-preview && jest --forceExit", "pack-docs": "rimraf docs/ && typedoc source/", - "build": "npm run pack-dist && npm run pack-docs", + "build": "npm run pack-dist && npm run pack-docs && npm run pack-preview", "help": "npm run pack-docs && web-server docs/ -o", "prepublishOnly": "npm test && npm run build" },