File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " @abraham/reflection" ,
3
3
"version" : " 0.3.0" ,
4
4
"description" : " Lightweight ES Module implementation of reflect-metadata" ,
5
- "main" : " dist/index.js" ,
5
+ "main" : " dist/index.umd. js" ,
6
6
"module" : " dist/index.js" ,
7
7
"types" : " dist/index.d.ts" ,
8
8
"scripts" : {
9
- "build" : " tsc" ,
9
+ "build" : " tsc && rollup -c " ,
10
10
"clean" : " rimraf dist" ,
11
11
"prebuild" : " npm run clean" ,
12
12
"prepare" : " npm run build" ,
38
38
"jest" : " 23.4.1" ,
39
39
"pkg-ok" : " 2.2.0" ,
40
40
"rimraf" : " 2.6.2" ,
41
+ "rollup" : " 0.63.4" ,
41
42
"ts-jest" : " 23.0.1" ,
42
43
"typescript" : " 2.9.2"
43
44
},
62
63
"extends" : [
63
64
" config:base"
64
65
]
66
+ },
67
+ "rollup" : {
68
+ "input" : " dist/index.js" ,
69
+ "output" : {
70
+ "file" : " dist/index.umd.js" ,
71
+ "format" : " umd" ,
72
+ "name" : " @abraham/reflection"
73
+ }
65
74
}
66
75
}
Original file line number Diff line number Diff line change
1
+ export { rollup as default } from './package.json' ;
You can’t perform that action at this time.
0 commit comments