File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2
2
examples
3
3
tools
4
4
rollup.config.js
5
+ ** /* .test.js
5
6
* .sublime-project
6
7
* .sublime-workspace
Original file line number Diff line number Diff line change 13
13
" react" ,
14
14
" react-component" ,
15
15
" component" ,
16
+ " google-maps" ,
16
17
" google" ,
17
18
" maps" ,
18
19
" api" ,
38
39
"clean" : " rm -f index.js && rm -f GoogleMap.js && rm -f Marker.js && rm -f MarkerClusterer.js && rm -fr es && rm -fr umd" ,
39
40
"prebuild" : " npm run clean" ,
40
41
"build" : " node ./tools/build.js" ,
41
- "watch" : " babel ./src -d . --ignore __tests__ --watch" ,
42
+ "watch" : " babel ./src -d . --ignore __tests__,**/*.test.js --watch" ,
42
43
"prepare" : " npm run build" ,
43
44
"prepublishOnly" : " node ./tools/build.js" ,
44
45
"push-release" : " git push origin master && git push --tags" ,
Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ const exec = (command, extraEnv) => {
12
12
13
13
console . log ( 'Building CommonJS modules ...' ) ;
14
14
15
- exec ( 'babel src -d . --ignore __tests__,*.test.js' , {
15
+ exec ( 'babel src -d . --ignore __tests__,**/* .test.js' , {
16
16
BABEL_ENV : 'cjs'
17
17
} ) ;
18
18
19
19
console . log ( '\nBuilding ES modules ...' ) ;
20
20
21
- exec ( 'babel src -d es --ignore __tests__,*.test.js' , {
21
+ exec ( 'babel src -d es --ignore __tests__,**/* .test.js' , {
22
22
BABEL_ENV : 'es'
23
23
} ) ;
24
24
You can’t perform that action at this time.
0 commit comments