File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -35,4 +35,9 @@ gulp.task('css', function () {
3535 . pipe ( gulp . dest ( './lib' ) ) ;
3636} ) ;
3737
38- gulp . task ( 'default' , [ 'js' , 'css' ] ) ;
38+ gulp . task ( 'tsd' , function ( ) {
39+ gulp . src ( './components/**/*.d.ts' )
40+ . pipe ( gulp . dest ( './lib' ) ) ;
41+ } ) ;
42+
43+ gulp . task ( 'default' , [ 'js' , 'css' , 'tsd' ] ) ;
Original file line number Diff line number Diff line change 22 "name" : " react-toolbox" ,
33 "description" : " A set of React components implementing Google's Material Design specification with the power of CSS Modules." ,
44 "homepage" : " http://www.react-toolbox.com" ,
5- "version" : " 2.0.0-beta.8 " ,
5+ "version" : " 2.0.0-beta.11 " ,
66 "main" : " ./lib" ,
77 "module" : " ./components" ,
88 "author" : {
9999 },
100100 "scripts" : {
101101 "babel" : " babel ./components --out-dir ./lib" ,
102- "build" : " cross-env NODE_ENV=production gulp && npm run tsd " ,
102+ "build" : " cross-env NODE_ENV=production gulp" ,
103103 "clean" : " rimraf ./lib" ,
104104 "css" : " cpx \" ./components/**/*.css\" ./lib" ,
105105 "lint" : " npm run lint:js && npm run lint:css" ,
112112 "release" : " bumped release" ,
113113 "start" : " cross-env NODE_ENV=development UV_THREADPOOL_SIZE=100 node ./server" ,
114114 "test" : " jest" ,
115- "test:watch" : " jest --watch --no-watchman" ,
116- "tsd" : " cpx \" ./components/**/*.d.ts\" ./lib"
115+ "test:watch" : " jest --watch --no-watchman"
117116 },
118117 "license" : " MIT" ,
119118 "jest" : {
You can’t perform that action at this time.
0 commit comments