Skip to content

Commit 8727b30

Browse files
committed
[fix] NPM scripts
1 parent f765d1c commit 8727b30

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cell-router",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"license": "LGPL-3.0",
55
"description": "Web Component Router based on WebCell & MobX",
66
"keywords": [
@@ -58,14 +58,13 @@
5858
"typescript": "~5.6.3"
5959
},
6060
"scripts": {
61-
"prepare": "husky",
62-
"install": "app-find chrome msedge firefox -c",
61+
"prepare": "husky && app-find chrome msedge firefox -c",
6362
"preview": "cd test/ && rimraf ../.parcel-cache/ dist/ && parcel --open",
6463
"pack-preview": "cd test/ && rimraf ../.parcel-cache/ dist/ && parcel build --public-url=. --dist-dir=../docs/preview/",
6564
"pack-dist": "rimraf dist/ && parcel build source/index.ts",
6665
"test": "lint-staged && npm run pack-preview && jest --forceExit",
6766
"pack-docs": "rimraf docs/ && typedoc source/",
68-
"build": "npm run pack-dist && npm run pack-docs",
67+
"build": "npm run pack-dist && npm run pack-docs && npm run pack-preview",
6968
"help": "npm run pack-docs && web-server docs/ -o",
7069
"prepublishOnly": "npm test && npm run build"
7170
},

0 commit comments

Comments
 (0)