|
9 | 9 | },
|
10 | 10 | "license": "ISC",
|
11 | 11 | "author": {
|
12 |
| - "name": "Nato Boram", |
13 |
| - "url": "https://github.com/NatoBoram" |
| 12 | + "name": "CodeRabbit", |
| 13 | + "url": "https://www.coderabbit.ai" |
14 | 14 | },
|
15 |
| - "files": ["./**/*.js", "./**/*.d.ts", "!./**/*.test.*"], |
16 |
| - "main": "index.js", |
| 15 | + "files": ["dist", "!dist/**/*.test.*"], |
| 16 | + "main": "dist/index.js", |
17 | 17 | "repository": "github:ast-grep/langs",
|
18 | 18 | "scripts": {
|
| 19 | + "build": "tsc", |
| 20 | + "clean": "rm -rf dist docs node_modules tsconfig.tsbuildinfo", |
19 | 21 | "format": "biome format --write",
|
20 |
| - "test": "node --test './**/*.test.js'" |
| 22 | + "format:ci": "biome format", |
| 23 | + "lint": "biome lint --fix", |
| 24 | + "lint:ci": "biome lint", |
| 25 | + "pretest": "tsc", |
| 26 | + "test": "node --test './dist/**/*.test.js'" |
21 | 27 | },
|
22 | 28 | "dependencies": {
|
23 | 29 | "@ast-grep/lang-angular": "workspace:*",
|
|
46 | 52 | "@ast-grep/lang-toml": "workspace:*",
|
47 | 53 | "@ast-grep/lang-tsx": "workspace:*",
|
48 | 54 | "@ast-grep/lang-typescript": "workspace:*",
|
| 55 | + "@ast-grep/lang-yaml": "workspace:*", |
49 | 56 | "@ast-grep/napi": "^0.37.0"
|
50 | 57 | },
|
| 58 | + "devDependencies": { |
| 59 | + "@biomejs/biome": "1.9.4", |
| 60 | + "@types/node": "22.14.1", |
| 61 | + "typescript": "^5.8.3" |
| 62 | + }, |
51 | 63 | "type": "module",
|
52 | 64 | "exports": {
|
53 | 65 | ".": {
|
54 |
| - "types": "./index.d.ts", |
55 |
| - "default": "./index.js" |
| 66 | + "types": "./dist/index.d.ts", |
| 67 | + "default": "./dist/index.js" |
56 | 68 | }
|
57 | 69 | },
|
58 |
| - "types": "./index.d.ts", |
59 |
| - "module": "./index.js" |
| 70 | + "types": "dist/index.d.ts", |
| 71 | + "module": "dist/index.js" |
60 | 72 | }
|
0 commit comments