File tree Expand file tree Collapse file tree 3 files changed +18
-12
lines changed
Expand file tree Collapse file tree 3 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " validator-ec" ,
3- "version" : " 1.0.0" ,
3+ "version" : " 1.0.3" ,
4+ "type" : " module" ,
45 "author" : " Victor Bayas" ,
56 "license" : " Apache-2.0" ,
67 "repository" : {
1011 "bugs" : {
1112 "url" : " https://github.com/bayasdev/validator-ec/issues"
1213 },
13- "type" : " module" ,
14- "files" : [
15- " dist"
16- ],
17- "module" : " dist/index.js" ,
18- "main" : " dist/index.cjs" ,
19- "types" : " dist/index.d.ts" ,
14+ "main" : " ./dist/index.cjs" ,
15+ "module" : " ./dist/index.js" ,
16+ "types" : " ./dist/index.d.ts" ,
2017 "exports" : {
18+ "./package.json" : " ./package.json" ,
2119 "." : {
22- "types" : " ./dist/index.d.ts" ,
23- "import" : " ./dist/index.js" ,
24- "require" : " ./dist/index.cjs"
20+ "import" : {
21+ "types" : " ./dist/index.d.ts" ,
22+ "default" : " ./dist/index.js"
23+ },
24+ "require" : {
25+ "types" : " ./dist/index.d.cts" ,
26+ "default" : " ./dist/index.cjs"
27+ }
2528 }
2629 },
30+ "files" : [
31+ " dist"
32+ ],
2733 "scripts" : {
2834 "build" : " tsup" ,
2935 "test" : " vitest"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { defineConfig } from "tsup";
22
33export default defineConfig ( {
44 entry : [ "src/index.ts" ] ,
5- format : [ "cjs " , "esm " ] ,
5+ format : [ "esm " , "cjs " ] ,
66 dts : true ,
77 sourcemap : true ,
88 minify : true ,
You can’t perform that action at this time.
0 commit comments