File tree 3 files changed +12
-8
lines changed
3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
- lib
2
1
umd
Original file line number Diff line number Diff line change
1
+ .babelrc
2
+ .eslintrc
3
+ .gitignore
4
+ .npmignore
5
+ .travis.yml
6
+ karma.conf.js
7
+ modules
8
+ node_modules
9
+ scripts
10
+ tests.webpack.js
11
+ webpack.config.js
Original file line number Diff line number Diff line change 5
5
"repository" : " ReactTraining/react-media" ,
6
6
"author" : " Michael Jackson" ,
7
7
"license" : " MIT" ,
8
- "main" : " lib" ,
9
- "files" : [
10
- " lib" ,
11
- " umd"
12
- ],
13
8
"scripts" : {
14
9
"build" : " node ./scripts/build.js" ,
15
- "build-lib" : " rimraf lib && babel ./modules -d lib --ignore '__tests__'" ,
10
+ "build-lib" : " babel ./modules -d . --ignore '__tests__'" ,
16
11
"build-umd" : " webpack modules/index.js umd/react-media.js" ,
17
12
"build-min" : " webpack -p modules/index.js umd/react-media.min.js" ,
18
13
"release" : " node ./scripts/release.js" ,
51
46
"react" : " ^15.3.0" ,
52
47
"react-dom" : " ^15.3.0" ,
53
48
"readline-sync" : " ^1.4.4" ,
54
- "rimraf" : " ^2.5.4" ,
55
49
"webpack" : " ^1.13.1"
56
50
},
57
51
"keywords" : [
You can’t perform that action at this time.
0 commit comments