File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 22 "name" : " @abraham/reflection" ,
33 "version" : " 0.3.0" ,
44 "description" : " Lightweight ES Module implementation of reflect-metadata" ,
5- "main" : " dist/index.js" ,
5+ "main" : " dist/index.umd. js" ,
66 "module" : " dist/index.js" ,
77 "types" : " dist/index.d.ts" ,
88 "scripts" : {
9- "build" : " tsc" ,
9+ "build" : " tsc && rollup -c " ,
1010 "clean" : " rimraf dist" ,
1111 "prebuild" : " npm run clean" ,
1212 "prepare" : " npm run build" ,
3838 "jest" : " 23.4.1" ,
3939 "pkg-ok" : " 2.2.0" ,
4040 "rimraf" : " 2.6.2" ,
41+ "rollup" : " 0.63.4" ,
4142 "ts-jest" : " 23.0.1" ,
4243 "typescript" : " 2.9.2"
4344 },
6263 "extends" : [
6364 " config:base"
6465 ]
66+ },
67+ "rollup" : {
68+ "input" : " dist/index.js" ,
69+ "output" : {
70+ "file" : " dist/index.umd.js" ,
71+ "format" : " umd" ,
72+ "name" : " @abraham/reflection"
73+ }
6574 }
6675}
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