File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 34
34
"react" : " ^18.0.0"
35
35
},
36
36
"scripts" : {
37
- "build" : " run-p build:cjs build:esm build:types" ,
37
+ "build" : " run-p build:cjs build:esm build:types build:plugin " ,
38
38
"build:cjs" : " tsc -p tsconfig.cjs.json" ,
39
39
"build:dev" : " run-s build" ,
40
40
"build:es5" : " yarn build:cjs # *** backwards compatibility - remove in v7 ***" ,
41
41
"build:esm" : " tsc -p tsconfig.esm.json" ,
42
+ "build:plugin" : " tsc -p tsconfig.plugin.json" ,
42
43
"build:types" : " tsc -p tsconfig.types.json" ,
43
44
"build:watch" : " run-p build:cjs:watch build:esm:watch build:types:watch" ,
44
45
"build:cjs:watch" : " tsc -p tsconfig.cjs.json --watch" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+
4
+ "include" : [" gatsby-browser.js" , " gatsby-node.js" ],
5
+
6
+ "compilerOptions" : {
7
+ // should include all types from `./tsconfig.json` plus types for all test frameworks used
8
+ // "types": ["node", "jest"]
9
+ "declaration" : true ,
10
+ "declarationMap" : false ,
11
+ "emitDeclarationOnly" : true ,
12
+ "allowJs" : true ,
13
+ "skipLibCheck" : true
14
+
15
+ // other package-specific, plugin-specific options
16
+ }
17
+ }
You can’t perform that action at this time.
0 commit comments