File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11node_modules
22.DS_Store
33dist
4+ _types
Original file line number Diff line number Diff line change 66 "files" : [
77 " dist/*"
88 ],
9+ "types" : " dist/types.d.ts" ,
910 "exports" : {
10- "./snackbar" : " ./dist/snackbar.js" ,
11- "./notifications" : " ./dist/notifications.js" ,
12- "./toaster" : " ./dist/toaster.js"
11+ "./snackbar.js " : " ./dist/snackbar.js" ,
12+ "./notifications.js " : " ./dist/notifications.js" ,
13+ "./toaster.js " : " ./dist/toaster.js"
1314 },
1415 "scripts" : {
1516 "cleanup" : " node ./build/cleanup.js" ,
1617 "build" : " tsc && esbuild ./src/snackbar.ts ./src/notifications.ts ./src/toaster.ts --format=esm --minify --bundle --outdir=dist" ,
17- "prerelease" : " npm run cleanup && npm run build" ,
18+ "prerelease" : " npm run cleanup && npm run build && cp ./src/types.d.ts ./dist/types.d.ts " ,
1819 "test" : " npm run build && cp -r ./dist ./test/ && serve ./test" ,
1920 "deploy" : " npm run build && cp -r ./dist ./test/ && node ./build/deploy.js"
2021 },
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "outDir" : " ./dist " ,
3+ "outDir" : " ./_types " ,
44 "sourceMap" : true ,
55 "noImplicitAny" : true ,
66 "experimentalDecorators" : true ,
You can’t perform that action at this time.
0 commit comments