File tree Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Expand file tree Collapse file tree 3 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1
1
.DS_Store
2
+ * .d.ts.map
3
+ * .d.ts
2
4
* .log
3
5
build /
4
6
data /
Original file line number Diff line number Diff line change 90
90
"stylelint-config-standard" : " ^36.0.0" ,
91
91
"to-vfile" : " ^8.0.0" ,
92
92
"trough" : " ^2.0.0" ,
93
+ "type-coverage" : " ^2.0.0" ,
94
+ "typescript" : " ^5.0.0" ,
93
95
"unified" : " ^11.0.0" ,
94
96
"unist-util-visit" : " ^5.0.0" ,
95
97
"vfile-matter" : " ^5.0.0" ,
99
101
"xo" : " ^0.58.0"
100
102
},
101
103
"scripts" : {
104
+ "build" : " tsc --build --clean && tsc --build && type-coverage" ,
102
105
"start" : " budo --dir build" ,
103
106
"format" : " remark . -qo && prettier . -w --log-level warn && stylelint \" **/*.css\" --fix && xo --fix" ,
104
107
"crawl:sponsors" : " mkdir -p data; node crawl/sponsors" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "checkJs" : true ,
4
+ "customConditions" : [" development" ],
5
+ "declaration" : true ,
6
+ "declarationMap" : true ,
7
+ "emitDeclarationOnly" : true ,
8
+ // To do: uncomment.
9
+ // "exactOptionalPropertyTypes": true,
10
+ // To do: no `dom`.
11
+ "lib" : [" dom" , " es2022" ],
12
+ "module" : " node16" ,
13
+ // To do: remove.
14
+ "skipLibCheck" : true ,
15
+ // To do: uncomment.
16
+ // "strict": true,
17
+ "target" : " es2022"
18
+ },
19
+ "exclude" : [" coverage/" , " node_modules/" ],
20
+ "include" : [" **/*.js" ]
21
+ }
You can’t perform that action at this time.
0 commit comments