File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 "scripts" : {
1010 "tsc" : " tsc" ,
1111 "rollup" : " rollup" ,
12- "prepublish" : " (node src/ checkver.js ge 5.0.0 && tsc -m es6 --outdir dist/esm -p src && rollup -c) || tsc -p src" ,
12+ "prepublish" : " (checkver ge 5.0.0 && tsc -m es6 --outdir dist/esm -p src && rollup -c) || tsc -p src" ,
1313 "test" : " tsc -p test && node test/test.js"
1414 },
1515 "author" : " Juha Järvi" ,
2727 " gmp"
2828 ],
2929 "devDependencies" : {
30- "@types/node" : " ^10.12.0" ,
30+ "@types/node" : " ^10.12.1" ,
31+ "autoroll" : " ^0.1.0" ,
3132 "rollup" : " ^0.66.6" ,
32- "typescript" : " ^3.1.3 "
33+ "typescript" : " ^3.1.4 "
3334 }
3435}
Original file line number Diff line number Diff line change 1- const pkg = require ( './package.json' ) ;
2-
3- module . exports = {
4- input : pkg . module ,
5- output : [
6- {
7- file : pkg . main ,
8- format : 'cjs'
9- } , {
10- file : pkg . browser ,
11- name : pkg . name ,
12- format : 'umd'
13- }
14- ]
15- } ;
1+ module . exports = require ( 'autoroll' ) ( require ( './package.json' ) ) ;
You can’t perform that action at this time.
0 commit comments