Skip to content

Commit e2990ef

Browse files
committed
feat: 修改脚本
1 parent 557ad5d commit e2990ef

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"gen:index": "node ./scripts/generate-index.js",
77
"gen:doc": "node ./scripts/generate-doc.js",
88
"dev": "concurrently \"npm run start\" \"npm run watch\"",
9-
"start": "npm run gen:index && npm run lint && dumi dev",
10-
"site": "npm run gen:index && npm run lint && father-build --dev && dumi build",
11-
"build": "rimraf dist/* && npm run lint && father-build --no-clean && node ./scripts/pre-publish.js",
12-
"watch": "rimraf dist/* && npm run lint && father-build --watch",
13-
"deploy": "npm run lint && npm run docs:build && npm run docs:deploy",
14-
"release": "npm run lint && npm run build && npm publish dist",
9+
"start": "npm run gen:index && dumi dev",
10+
"site": "npm run gen:index && father-build --dev && dumi build",
11+
"build": "rimraf dist/* && father-build --no-clean && node ./scripts/pre-publish.js",
12+
"watch": "rimraf dist/* && father-build --watch",
13+
"deploy": "npm run docs:build && npm run docs:deploy",
14+
"release": "npm run build && npm publish dist",
1515
"test": "umi-test",
1616
"test:coverage": "umi-test --coverage",
1717
"postversion": "dumi assets",

0 commit comments

Comments
 (0)