|
9 | 9 | "build:docs": "Build all documentation for all bundles", |
10 | 10 | "build:libs": "Build all module library code", |
11 | 11 | "build:modules": "Build all bundles, tabs and documentation", |
| 12 | + "devserver": "Run the modules development server", |
12 | 13 | "lint:all": "Lint all code in the repository", |
13 | 14 | "lint:inspect": "Run the interactive ESLint config inspector", |
14 | 15 | "prepare": "Enable git hooks", |
15 | 16 | "serve": "Start the HTTP server to serve all files in `build/`, with the same directory structure", |
16 | 17 | "template": "Interactively initialise a new bundle or tab from their templates", |
17 | 18 | "test:all": "Run unit tests for the entire repository", |
| 19 | + "test:libs": "Run unit tests for libraries", |
18 | 20 | "test:modules": "Run unit tests for tabs and bundles", |
19 | 21 | "tsc:all": "Run the Typescript compiler for all code in the repository", |
| 22 | + "tsc:devserver": "Run the Typescript compiler for the devserver", |
20 | 23 | "tsc:modules": "Run the Typescript compiler for bundle and tabs only" |
21 | 24 | }, |
22 | 25 | "scripts": { |
23 | 26 | "build:docs": "buildtools build docs", |
24 | 27 | "build:libs": "yarn workspaces foreach -ptW --from \"./lib/*\" run build", |
25 | 28 | "build:modules": "buildtools build all", |
26 | 29 | "devserver": "devserver", |
27 | | - "lint:all": "eslint src lib devserver", |
| 30 | + "lint:all": "eslint lib devserver && yarn lint:modules", |
28 | 31 | "lint:inspect": "yarn dlx eslint --inspect-config", |
29 | 32 | "lint:modules": "yarn workspaces foreach -j 5 -pW --from \"./src/{bundles,tabs}\" run lint", |
30 | | - "preinstall": "yarn build:libs", |
31 | 33 | "prepare": "husky", |
32 | 34 | "serve": "http-server --cors=* -c-1 -p 8022 ./build", |
33 | 35 | "template": "buildtools template", |
|
58 | 60 | "eslint-plugin-react-hooks": "^5.1.0", |
59 | 61 | "eslint-plugin-vitest": "^0.5.4", |
60 | 62 | "http-server": "^0.13.0", |
61 | | - "husky": "^9.0.11", |
| 63 | + "husky": "^9.1.7", |
62 | 64 | "jsdom": "^26.1.0", |
63 | 65 | "jsonc-eslint-parser": "^2.4.0", |
64 | 66 | "typescript": "^5.8.2", |
|
0 commit comments