Skip to content

Commit 776ed87

Browse files
committed
chore: update the script of the project
1 parent 8c53c2f commit 776ed87

5 files changed

+7
-6
lines changed

README.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ $ cd gg-editor
104104
$ npm install
105105

106106
# Run examples
107-
$ npm doc:start
107+
$ npm start
108108
```

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ $ cd gg-editor
104104
$ npm install
105105

106106
# 运行示例
107-
$ npm doc:start
107+
$ npm start
108108
```

docs/guide/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ $ cd gg-editor
9999
$ npm install
100100

101101
# Run examples
102-
$ npm doc:start
102+
$ npm start
103103
```

docs/guide/getting-started.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ $ cd gg-editor
9999
$ npm install
100100

101101
# 运行示例
102-
$ npm doc:start
102+
$ npm start
103103
```

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
"src"
2121
],
2222
"scripts": {
23+
"start": "npm run docs:start",
2324
"build": "node ./scripts/build.js",
24-
"doc:start": "dumi dev",
25-
"doc:build": "dumi build",
25+
"docs:start": "dumi dev",
26+
"docs:build": "dumi build",
2627
"lint": "eslint --cache --ext .ts,.tsx ./src",
2728
"lint:fix": "npm run lint -- --fix",
2829
"pretty-quick": "pretty-quick",

0 commit comments

Comments
 (0)