File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 "acorn-jsx" : " 4.1.0" ,
3636 "asyncro" : " ^2.0.1" ,
3737 "babel-polyfill" : " ^6.26.0" ,
38+ "camelcase" : " ^4.1.0" ,
3839 "chalk" : " ^2.3.0" ,
3940 "es6-promisify" : " ^5.0.0" ,
4041 "glob" : " ^7.1.2" ,
5354 "rollup-plugin-preserve-shebang" : " ^0.1.3" ,
5455 "rollup-plugin-sizes" : " ^0.4.2" ,
5556 "rollup-plugin-uglify" : " ^2.0.1" ,
56- "uppercamelcase" : " ^3.0.0" ,
5757 "yargs" : " ^10.0.3"
5858 },
5959 "devDependencies" : {
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ import gzipSize from 'gzip-size';
1616import prettyBytes from 'pretty-bytes' ;
1717import shebangPlugin from 'rollup-plugin-preserve-shebang' ;
1818import flow from 'rollup-plugin-flow' ;
19- import pascalCase from 'uppercamelcase ' ;
19+ import camelCase from 'camelcase ' ;
2020
2121const readFile = promisify ( fs . readFile ) ;
2222const stat = promisify ( fs . stat ) ;
2323const isDir = name => stat ( name ) . then ( stats => stats . isDirectory ( ) ) . catch ( ( ) => false ) ;
2424const isFile = name => stat ( name ) . then ( stats => stats . isFile ( ) ) . catch ( ( ) => false ) ;
25- const safeVariableName = name => pascalCase ( name . toLowerCase ( ) . replace ( / ( ( ^ [ ^ a - z A - Z ] + ) | [ ^ \w . - ] ) | ( [ ^ a - z A - Z 0 - 9 ] + $ ) / g, '' ) ) ;
25+ const safeVariableName = name => camelCase ( name . toLowerCase ( ) . replace ( / ( ( ^ [ ^ a - z A - Z ] + ) | [ ^ \w . - ] ) | ( [ ^ a - z A - Z 0 - 9 ] + $ ) / g, '' ) ) ;
2626
2727const FORMATS = [ 'es' , 'cjs' , 'umd' ] ;
2828
You can’t perform that action at this time.
0 commit comments