|
28 | 28 | "webpack-cli": "latest"
|
29 | 29 | },
|
30 | 30 | "directories": {
|
31 |
| - "demo": "demo" |
| 31 | + "doc": "doc" |
32 | 32 | },
|
33 | 33 | "scripts": {
|
34 | 34 | "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", |
36 | 36 | "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", |
40 | 40 | "lic-chk": "npx license-checker",
|
41 | 41 | "lib-chk": "npx ncu",
|
42 | 42 | "lib-chk-up": "npx ncu -u"
|
|
0 commit comments