Skip to content

Commit 4154326

Browse files
committed
修改: README.md
重命名: demo/.nojekyll -> doc/.nojekyll 重命名: demo/README.md -> doc/README.md 重命名: demo/docsify-plugin-meting-api.js -> doc/docsify-plugin-meting-api.js 重命名: demo/index.html -> doc/index.html 修改: package.json
1 parent 3ecbd13 commit 4154326

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ window.$docsify = {
4848
## Example
4949

5050
1. Run `npm i`
51-
2. Run `npm run demo`
51+
2. Run `npm run doc`
5252
3. Go to [http://localhost:3000/](http://localhost:3000/)
5353

5454
## License
File renamed without changes.

demo/README.md renamed to doc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ window.$docsify = {
4848
## Example
4949

5050
1. Run `npm i`
51-
2. Run `npm run demo`
51+
2. Run `npm run doc`
5252
3. Go to [http://localhost:3000/](http://localhost:3000/)
5353

5454
## License
File renamed without changes.
File renamed without changes.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
"webpack-cli": "latest"
2929
},
3030
"directories": {
31-
"demo": "demo"
31+
"doc": "doc"
3232
},
3333
"scripts": {
3434
"build": "npm run build:dev && npm run build:prod",
35-
"build:dev": "webpack ./src/index.js -o ./dist/ --output-filename docsify-plugin-meting-api.js --mode=development && webpack ./src/index.js -o ./demo/ --output-filename docsify-plugin-meting-api.js --mode=development",
35+
"build:dev": "webpack ./src/index.js -o ./dist/ --output-filename docsify-plugin-meting-api.js --mode=development && webpack ./src/index.js -o ./doc/ --output-filename docsify-plugin-meting-api.js --mode=development",
3636
"build:prod": "webpack ./src/index.js -o ./dist/ --output-filename docsify-plugin-meting-api.min.js --mode=production",
37-
"prettier:format": "npx prettier --write \"{,src/**/,demo/**/}*.{md,json,js,ts,html,css,scss,yml}\"",
38-
"prettier:check": "npx prettier --list-different \"{,src/**/,demo/**/}*.{md,json,js,ts,html,css,scss,yml}\" ",
39-
"demo": "npm run build && npx docsify serve demo --open",
37+
"prettier:format": "npx prettier --write \"{,src/**/,doc/**/}*.{md,json,js,ts,html,css,scss,yml}\"",
38+
"prettier:check": "npx prettier --list-different \"{,src/**/,doc/**/}*.{md,json,js,ts,html,css,scss,yml}\" ",
39+
"doc": "npm run build && npx docsify serve doc --open",
4040
"lic-chk": "npx license-checker",
4141
"lib-chk": "npx ncu",
4242
"lib-chk-up": "npx ncu -u"

0 commit comments

Comments
 (0)