@@ -44,10 +44,7 @@ module.exports = {
4444 contributors : [ ] ,
4545 repository : "" ,
4646 license : "MIT" ,
47- scripts : [
48- { build : "rm -rf ./lib/** && tsx" } ,
49- { watch : "tsc -- --watch" }
50- ] ,
47+ scripts : [ { build : "rollup -c" } , { watch : "rollup -cw" } ] ,
5148 dependencies : [ ] ,
5249 devDependencies : [
5350 { "@babel/cli" : "^7.2.3" } ,
@@ -67,7 +64,14 @@ module.exports = {
6764 { "tslint-react" : "^3.6.0" } ,
6865 { typescript : "^3.3.3333" } ,
6966 { react : "*" } ,
70- { "react-dom" : "*" }
67+ { "react-dom" : "*" } ,
68+ { rollup : "^1.27.5" } ,
69+ { "rollup-plugin-babel-minify" : "^9.1.1" } ,
70+ { "rollup-plugin-cleanup" : "^3.1.1" } ,
71+ { "rollup-plugin-commonjs" : "^10.1.0" } ,
72+ { "rollup-plugin-delete" : "^1.1.0" } ,
73+ { "rollup-plugin-progress" : "^1.1.1" } ,
74+ { "rollup-plugin-typescript2" : "^0.25.2" }
7175 ] ,
7276 peerDependencies : [ { react : "*" } , { "react-dom" : "*" } ]
7377 } ;
@@ -184,6 +188,7 @@ module.exports = {
184188 babelrc : ".babelrc" ,
185189 travis_yml : ".travis.yml" ,
186190 jest_config_js : "jest.config.js" ,
191+ rollup_config_js : "rollup.config.js" ,
187192 releaserc : ".releaserc" ,
188193 _package_json : "package.json" ,
189194 _tsconfig_json : "tsconfig.json" ,
0 commit comments