File tree 1 file changed +31
-2
lines changed 1 file changed +31
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " async-context-tc39" ,
3
- "version" : " 1.0.4 " ,
3
+ "version" : " 1.0.6 " ,
4
4
"description" : " AsyncContext (implementation for TC39)" ,
5
5
"type" : " module" ,
6
- "main" : " index.js" ,
7
6
"scripts" : {
8
7
"compile" : " rm -rf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && echo '{\" type\" :\" commonjs\" }' > dist/cjs/package.json" ,
9
8
"compile:esm" : " tsc -p tsconfig.esm.json" ,
10
9
"compile:cjs" : " tsc -p tsconfig.cjs.json && echo '{\" type\" :\" commonjs\" }' > dist/cjs/package.json" ,
11
10
"lint" : " eslint ." ,
12
11
"test" : " vitest run"
13
12
},
13
+ "source" : " ./src/index.ts" ,
14
+ "main" : " ./dist/index.js" ,
15
+ "types" : " ./dist/index.d.ts" ,
16
+ "exports" : {
17
+ "./package.json" : " ./package.json" ,
18
+ "." : {
19
+ "require" : {
20
+ "types" : " ./dist/cjs/index.d.ts" ,
21
+ "default" : " ./dist/cjs/index.js"
22
+ },
23
+ "default" : {
24
+ "types" : " ./dist/index.d.ts" ,
25
+ "default" : " ./dist/index.js"
26
+ }
27
+ },
28
+ "./*" : {
29
+ "require" : {
30
+ "types" : " ./dist/cjs/*.d.ts" ,
31
+ "default" : " ./dist/cjs/*.js"
32
+ },
33
+ "default" : {
34
+ "types" : " ./dist/*.d.ts" ,
35
+ "default" : " ./dist/*.js"
36
+ }
37
+ }
38
+ },
39
+ "files" : [
40
+ " src" ,
41
+ " dist"
42
+ ],
14
43
"author" : " Artem Elkin" ,
15
44
"repository" : {
16
45
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments