File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 16
16
],
17
17
"main" : " dist/main/index.js" ,
18
18
"module" : " dist/module/index.js" ,
19
+ "types" : " dist/main/index.d.ts" ,
19
20
"repository" : " supabase/supabase-js" ,
20
21
"scripts" : {
21
22
"clean" : " rimraf dist docs" ,
24
25
"build:main" : " tsc -p tsconfig.json" ,
25
26
"build:module" : " tsc -p tsconfig.module.json" ,
26
27
"build:umd" : " webpack" ,
28
+ "types-generate" : " dts-gen -m '@supabase/supabase-js' -s" ,
27
29
"test" : " jest --runInBand" ,
28
30
"test:db" : " cd infra/db && docker-compose down && docker-compose up -d && sleep 5" ,
29
31
"test:clean" : " cd infra/db && docker-compose down" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"include" : [" src" ],
3
+ "exclude" : [" node_modules/**/*.ts" ],
3
4
"compilerOptions" : {
4
5
"declaration" : true ,
5
6
"declarationMap" : true ,
16
17
17
18
"forceConsistentCasingInFileNames" : true ,
18
19
"stripInternal" : true ,
19
- "allowSyntheticDefaultImports" :true
20
+ "allowSyntheticDefaultImports" : true
20
21
}
21
22
}
You can’t perform that action at this time.
0 commit comments