|
3 | 3 | "type": "module", |
4 | 4 | "version": "0.0.1", |
5 | 5 | "scripts": { |
6 | | - "dev": "astro dev --host", |
7 | | - "build": "astro build", |
8 | | - "preview": "astro preview", |
| 6 | + "prepare": "bun run build:parser", |
9 | 7 | "astro": "astro", |
| 8 | + "dev": "astro dev", |
| 9 | + "preview": "bun run build:parser && astro preview", |
| 10 | + "build": "bun run build:parser && astro build", |
| 11 | + "build:parser": "lezer-generator src/scripts/editor/language/glsl.grammar -o src/scripts/editor/language/parser.js", |
| 12 | + "test": "vitest run", |
| 13 | + "test:watch": "vitest --watch", |
| 14 | + "test:ui": "vitest --ui", |
10 | 15 | "lint": "eslint .", |
11 | 16 | "lint:fix": "eslint . --fix", |
| 17 | + "lint:types": "eslint --config eslint.types.config.mjs .", |
| 18 | + "lint:fix:types": "eslint --config eslint.types.config.mjs . --fix", |
12 | 19 | "format": "prettier --write .", |
13 | 20 | "format:check": "prettier --check ." |
14 | 21 | }, |
15 | 22 | "dependencies": { |
16 | | - "astro": "^5.11.2", |
| 23 | + "assimpts": "^0.1.0", |
| 24 | + "astro": "^5.12.0", |
17 | 25 | "autoprefixer": "^10.4.21", |
18 | 26 | "codemirror": "^6.0.2", |
19 | | - "codemirror-lang-glsl": "^0.5.0", |
20 | 27 | "gl-matrix": "^3.4.3" |
21 | 28 | }, |
22 | 29 | "devDependencies": { |
| 30 | + "@astrojs/check": "^0.9.4", |
23 | 31 | "@eslint/js": "^9.31.0", |
| 32 | + "@lezer/generator": "^1.8.0", |
| 33 | + "@vitest/coverage-v8": "3.2.4", |
| 34 | + "@vitest/ui": "3.2.4", |
24 | 35 | "eslint": "^9.31.0", |
25 | | - "eslint-config-prettier": "^10.1.5", |
| 36 | + "eslint-config-prettier": "^10.1.8", |
26 | 37 | "eslint-plugin-astro": "1.3.1", |
27 | 38 | "prettier": "3.6.2", |
28 | 39 | "prettier-plugin-astro": "0.14.1", |
29 | | - "typescript-eslint": "^8.37.0" |
| 40 | + "typescript-eslint": "^8.37.0", |
| 41 | + "vitest": "^3.2.4" |
30 | 42 | } |
31 | 43 | } |
0 commit comments