File tree Expand file tree Collapse file tree 3 files changed +10
-46
lines changed Expand file tree Collapse file tree 3 files changed +10
-46
lines changed Original file line number Diff line number Diff line change 4
4
"description" : " Svix webhooks API client and webhook verification library" ,
5
5
"author" : " svix" ,
6
6
"repository" : " https://github.com/svix/svix-libs" ,
7
+ "type" : " commonjs" ,
7
8
"keywords" : [
8
9
" svix" ,
9
10
" diahook" ,
10
11
" webhooks" ,
11
12
" typescript"
12
13
],
13
14
"license" : " MIT" ,
14
- "type" : " commonjs" ,
15
- "main" : " ./dist/cjs/index.js" ,
16
- "typings" : " ./dist/cjs/index.d.ts" ,
15
+ "main" : " ./dist/index.js" ,
16
+ "typings" : " ./dist/index.d.ts" ,
17
17
"files" : [
18
18
" src" ,
19
19
" dist"
20
20
],
21
21
"scripts" : {
22
- "build" : " tsc --project tsconfig.cjs.json && tsc --project tsconfig.esm.json " ,
22
+ "build" : " tsc" ,
23
23
"prepare" : " yarn run build" ,
24
24
"test" : " jest" ,
25
25
"prepublishOnly" : " yarn lint" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
"moduleResolution" : " node" ,
8
8
"declaration" : true ,
9
9
"allowJs" : true ,
10
+
10
11
/* Additional Checks */
11
12
"noUnusedLocals" : false /* Report errors on unused locals. */ , // TODO: reenable (unused imports!)
12
13
"noUnusedParameters" : false /* Report errors on unused parameters. */ , // TODO: set to true again
13
14
"noImplicitReturns" : true /* Report error when not all code paths in function return a value. */ ,
14
15
"noFallthroughCasesInSwitch" : true /* Report errors for fallthrough cases in switch statement. */ ,
16
+
15
17
"removeComments" : true ,
16
18
"sourceMap" : true ,
17
- "outDir" : " ./dist/cjs " ,
19
+ "outDir" : " ./dist" ,
18
20
"noLib" : false ,
19
- "lib" : [
20
- " es6" ,
21
- " dom"
22
- ]
21
+ "lib" : [" es6" , " dom" ]
23
22
},
24
23
"exclude" : [
25
24
" dist" ,
26
25
" node_modules" ,
27
26
" jest.config.js" ,
28
27
" src/**/*.test.ts" ,
29
28
],
30
- "filesGlob" : [
31
- " ./src/**/*.ts"
32
- ]
33
- }
29
+ "filesGlob" : [" ./src/**/*.ts" ]
30
+ }
You can’t perform that action at this time.
0 commit comments