|
1 | 1 | { |
2 | | - "compilerOptions": { |
3 | | - // Base options: |
4 | | - "skipLibCheck": true, |
5 | | - "target": "es2024", |
6 | | - "verbatimModuleSyntax": true, |
7 | | - "allowJs": false, |
8 | | - "moduleDetection": "force", |
9 | | - // Strictness |
10 | | - "strict": true, |
11 | | - "noUncheckedIndexedAccess": true, |
12 | | - // Type checking, not transpiling |
13 | | - "module": "ESNext", |
14 | | - "moduleResolution": "bundler", |
15 | | - "lib": ["es2024", "DOM"], |
16 | | - "declaration": true, |
17 | | - "rootDirs": ["src/lib", "src/cli"], |
18 | | - "outDir": "dist", |
19 | | - "paths": { |
20 | | - // So we can import like an external in the CLI |
21 | | - "@projectwallace/format-css": ["./src/lib/index.ts"] |
22 | | - } |
23 | | - }, |
24 | | - "include": ["src/lib/index.ts", "src/cli/cli.ts"], |
25 | | - "exclude": ["node_modules"] |
| 2 | + "compilerOptions": { |
| 3 | + // Base options: |
| 4 | + "skipLibCheck": true, |
| 5 | + "target": "es2024", |
| 6 | + "verbatimModuleSyntax": true, |
| 7 | + "allowJs": false, |
| 8 | + "moduleDetection": "force", |
| 9 | + // Strictness |
| 10 | + "strict": true, |
| 11 | + "noUncheckedIndexedAccess": true, |
| 12 | + // Type checking, not transpiling |
| 13 | + "types": ["node"], |
| 14 | + "module": "ESNext", |
| 15 | + "moduleResolution": "bundler", |
| 16 | + "lib": ["es2024", "DOM"], |
| 17 | + "declaration": true, |
| 18 | + "rootDir": "src", |
| 19 | + "rootDirs": ["src/lib", "src/cli"], |
| 20 | + "outDir": "dist", |
| 21 | + "paths": { |
| 22 | + // So we can import like an external in the CLI |
| 23 | + "@projectwallace/format-css": ["./src/lib/index.ts"] |
| 24 | + } |
| 25 | + }, |
| 26 | + "include": ["src/lib/index.ts", "src/cli/cli.ts"], |
| 27 | + "exclude": ["node_modules"] |
26 | 28 | } |
0 commit comments