Skip to content

Commit 02e388d

Browse files
committed
Added settings for travis, updated build scripts for beta usage
1 parent 561ef7c commit 02e388d

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
language: node_js
22
node_js:
33
- '4'
4-
- '5'
4+
- '6'
5+
env:
6+
- CXX=g++-4.8
7+
addons:
8+
apt:
9+
sources:
10+
- ubuntu-toolchain-r-test
11+
packages:
12+
- g++-4.8
513
before_install:
614
- currentfolder=${PWD##*/}
715
- if [ "$currentfolder" != 'react-webpack-template' ]; then cd .. && eval "mv $currentfolder react-webpack-template" && cd react-webpack-template; fi

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-webpack-template",
3-
"version": "2.0.0-alpha-1",
3+
"version": "2.0.0-beta",
44
"description": "React Webpack Starter Kit",
55
"main": "src/index.js",
66
"scripts": {
@@ -14,9 +14,9 @@
1414
"lint": "eslint ./src",
1515
"clean": "rimraf dist/*",
1616
"copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist",
17-
"release:major": "npm version major && git push --follow-tags",
18-
"release:minor": "npm version minor && git push --follow-tags",
19-
"release:patch": "npm version patch && git push --follow-tags"
17+
"release:major": "npm version major && git push --follow-tags && npm publish --tag beta",
18+
"release:minor": "npm version minor && git push --follow-tags && npm publish --tag beta",
19+
"release:patch": "npm version patch && git push --follow-tags && npm publish --tag beta"
2020
},
2121
"repository": {
2222
"type": "git",

0 commit comments

Comments
 (0)