|
22 | 22 | "dev-watch": "node scripts/watchAndCopy",
|
23 | 23 | "build": "rimraf -rf dist && node scripts/copyShared && tsc -p src/client && tsc -p src/node && node scripts/copyClient",
|
24 | 24 | "lint": "yarn lint:js && yarn lint:ts",
|
25 |
| - "lint:js": "prettier --check --write \"{bin,scripts,src}/**/*.js\"", |
26 |
| - "lint:ts": "prettier --check --write --parser typescript \"{src,types}/**/*.ts\"", |
| 25 | + "lint:js": "prettier --check --write \"{bin,docs,scripts,src}/**/*.js\"", |
| 26 | + "lint:ts": "prettier --check --write --parser typescript \"{src,docs,types}/**/*.ts\"", |
27 | 27 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
28 | 28 | "release": "bash scripts/release.sh",
|
29 | 29 | "docs": "run-p dev docs-dev",
|
30 | 30 | "docs-dev": "node ./bin/vitepress dev docs",
|
31 |
| - "docs-build": "yarn build && node ./bin/vitepress build docs" |
| 31 | + "docs-build": "yarn build && node ./bin/vitepress build docs", |
| 32 | + "docs-serve": "yarn docs-build && node ./bin/vitepress serve --root docs" |
32 | 33 | },
|
33 | 34 | "engines": {
|
34 | 35 | "node": ">=10.0.0"
|
|
85 | 86 | },
|
86 | 87 | "devDependencies": {
|
87 | 88 | "@types/fs-extra": "^9.0.1",
|
| 89 | + "@types/koa": "^2.11.6", |
| 90 | + "@types/koa-static": "^4.0.1", |
88 | 91 | "@types/lru-cache": "^5.1.0",
|
89 | 92 | "@types/markdown-it": "^10.0.2",
|
90 | 93 | "@types/node": "^13.13.4",
|
91 | 94 | "@types/postcss-load-config": "^2.0.1",
|
92 | 95 | "chokidar": "^3.4.2",
|
93 | 96 | "conventional-changelog-cli": "^2.1.0",
|
| 97 | + "koa": "^2.13.0", |
| 98 | + "koa-static": "^5.0.0", |
94 | 99 | "lint-staged": "^10.3.0",
|
95 | 100 | "npm-run-all": "^4.1.5",
|
96 | 101 | "prettier": "^2.0.5",
|
|
0 commit comments