File tree Expand file tree Collapse file tree 4 files changed +19
-49
lines changed Expand file tree Collapse file tree 4 files changed +19
-49
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
- node_js :
3
- - stable
4
- branches :
5
- only :
6
- - master
2
+ node_js : node
3
+ cache :
4
+ directories :
5
+ - " $HOME/.cache/yarn"
6
+ - node_modules
7
+ env :
8
+ global :
9
+ - secure : J/xT+f4cyBtvmi1rNbwNOQcP/dnheS6Ydi0pHlf7PaEPYVauHWVOYt/aANwdkW4mZP/dlTpvG+J56DkDypvj6U7Q8xL+66PCWpP7geFkwz0kAzD0Els+zSdzpjSoAf4b7d+k8m+3hcjO+BePsDashnx4kLXtRAMbfPMsEaKyAyhMhod/dpBV69vXOTIeJMjPDoScl9LMDOoYGmwAYGRwqRmnH8twGfCknvqfns937r8bHXp6CwMVNhFi82nbGFcO5YDwQNjsp0yg0tzK1xXcIRwG86IABAIBlxvahmi6lsLeGnn21VwoAbYuc6zMj4jlhwjnj0Ko4faV1cQrUVAg5H2C6EdLHij/ufdcG9dwdNGpj9oEiUY97lZrBrmj9RDqGSN/ajA+CZqfjM0ohWXXytieMaCM6ldNF2alYRFaEcoGmHAOUW0Vw5NtUtpvA+cWwwGbxwWhEM+ZBL1/McdWJbH9M6FRj0M6LEB2AzjbtVpU7e74uRcgiwa5BeZYrZ+De9PpTK5XIS5yUTO6xxQ1hH1R6mtslfZTG9hQW/f4gmC/jUEn2OHJ+ZUTXU436zM8g7Q/Iz3DSADhvMFZ3G7ppCOF9csqYMm70lcH3vvMw4uWh/cyVCW70PFou7OMZju11rXxA2C+rzAmmiTqqjEoyDI1dSKi2fImIX2wMZaTOJY=
10
+ - NPM_TAG=$([[ "$TRAVIS_TAG" == *-* ]] && echo "next" || echo "latest")
11
+ deploy :
12
+ provider : npm
13
+
14
+ api_key : " $NPM_TOKEN"
15
+ tag : " $NPM_TAG"
16
+ skip_cleanup : true
17
+ on :
18
+ all_branches : true
19
+ condition : ' "$TRAVIS_TAG" =~ ^v[0-9]'
Original file line number Diff line number Diff line change 15
15
"unpkg" : " umd/react-media.js" ,
16
16
"scripts" : {
17
17
"build" : " node ./scripts/build.js" ,
18
- "clean" : " git clean -fdX ." ,
19
18
"prepublishOnly" : " node ./scripts/build.js" ,
20
- "release " : " node ./scripts/release.js " ,
19
+ "clean " : " git clean -fdX . " ,
21
20
"lint" : " eslint modules" ,
22
21
"test" : " jest"
23
22
},
47
46
"pretty-bytes" : " ^4.0.2" ,
48
47
"react" : " ^15.4.1 || ^0.14.7" ,
49
48
"react-dom" : " ^15.3.0 || ^0.14.7" ,
50
- "readline-sync" : " ^1.4.4" ,
51
49
"rollup" : " ^0.53.4" ,
52
50
"rollup-plugin-babel" : " ^3.0.3" ,
53
51
"rollup-plugin-commonjs" : " ^8.2.6" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2899,10 +2899,6 @@ readable-stream@^2.2.2:
2899
2899
string_decoder "~1.0.3"
2900
2900
util-deprecate "~1.0.1"
2901
2901
2902
- readline-sync@^1.4.4 :
2903
- version "1.4.7"
2904
- resolved "https://registry.yarnpkg.com/readline-sync/-/readline-sync-1.4.7.tgz#001bfdd4c06110c3c084c63bf7c6a56022213f30"
2905
-
2906
2902
readline2@^1.0.1 :
2907
2903
version "1.0.1"
2908
2904
resolved "https://registry.yarnpkg.com/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35"
You can’t perform that action at this time.
0 commit comments