Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit ffc7efe

Browse files
committed
Merge pull request #51 from lelandrichardson/travis-node-versions
Use newer versions of node and lock react
2 parents 933f298 + 7664017 commit ffc7efe

File tree

4 files changed

+38
-79
lines changed

4 files changed

+38
-79
lines changed

.babelrc

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
11
{
2-
"presets": ["airbnb"],
3-
"plugins": [
4-
"syntax-async-functions",
5-
"syntax-class-properties",
6-
"syntax-trailing-function-commas",
7-
"transform-class-properties",
8-
"transform-es2015-arrow-functions",
9-
"transform-es2015-block-scoping",
10-
"transform-es2015-classes",
11-
"transform-es2015-computed-properties",
12-
"check-es2015-constants",
13-
"transform-es2015-destructuring",
14-
["transform-es2015-modules-commonjs", { "strict": false, "allowTopLevelThis": true }],
15-
"transform-es2015-parameters",
16-
"transform-es2015-shorthand-properties",
17-
"transform-es2015-spread",
18-
"transform-es2015-template-literals",
19-
"transform-flow-strip-types",
20-
"transform-object-assign",
21-
"transform-object-rest-spread",
22-
"transform-react-display-name",
23-
"transform-react-jsx",
24-
"transform-regenerator",
25-
"transform-es2015-for-of"
26-
]
2+
"presets": ["airbnb", "react-native"],
273
}

.eslintrc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"extends": "airbnb",
3-
"ecmaFeatures": {
4-
"experimentalObjectRestSpread": true
5-
},
3+
plugins: [
4+
"react",
5+
"react-native"
6+
],
67
"rules": {
78
"comma-dangle": 0
89
}

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: node_js
22
node_js:
3-
- "5"
4-
- "5.1"
3+
- "4.0.0"
4+
- "5.0.0"
5+
- "6.0.0"
56
- "4"
6-
- "4.2"
7-
- "4.1"
7+
- "5"
8+
- "6"

package.json

Lines changed: 28 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"prepublish": "npm run build",
88
"test": "mocha --require babel-core/register test/**/*.js",
99
"test:watch": "npm run test -- --watch",
10-
"build": "babel src --out-dir build"
10+
"build": "babel src --out-dir build",
11+
"lint": "eslint 'src/' 'test/'"
1112
},
1213
"repository": {
1314
"type": "git",
@@ -26,55 +27,35 @@
2627
},
2728
"homepage": "https://github.com/lelandrichardson/react-native-mock#readme",
2829
"devDependencies": {
29-
"babel": "^6.3.26",
30-
"babel-cli": "^6.4.5",
31-
"babel-core": "^6.4.5",
32-
"babel-plugin-check-es2015-constants": "^6.3.13",
33-
"babel-plugin-syntax-async-functions": "^6.3.13",
34-
"babel-plugin-syntax-class-properties": "^6.3.13",
35-
"babel-plugin-syntax-trailing-function-commas": "^6.3.13",
36-
"babel-plugin-transform-class-properties": "^6.4.0",
37-
"babel-plugin-transform-es2015-arrow-functions": "^6.4.0",
38-
"babel-plugin-transform-es2015-block-scoping": "^6.4.0",
39-
"babel-plugin-transform-es2015-classes": "^6.4.5",
40-
"babel-plugin-transform-es2015-computed-properties": "^6.4.0",
41-
"babel-plugin-transform-es2015-destructuring": "^6.4.0",
42-
"babel-plugin-transform-es2015-for-of": "^6.3.13",
43-
"babel-plugin-transform-es2015-modules-commonjs": "^6.4.5",
44-
"babel-plugin-transform-es2015-parameters": "^6.4.5",
45-
"babel-plugin-transform-es2015-shorthand-properties": "^6.3.13",
46-
"babel-plugin-transform-es2015-spread": "^6.4.0",
47-
"babel-plugin-transform-es2015-template-literals": "^6.3.13",
48-
"babel-plugin-transform-flow-strip-types": "^6.4.0",
49-
"babel-plugin-transform-object-assign": "^6.3.13",
50-
"babel-plugin-transform-object-rest-spread": "^6.3.13",
51-
"babel-plugin-transform-react-display-name": "^6.4.0",
52-
"babel-plugin-transform-react-jsx": "^6.4.0",
53-
"babel-plugin-transform-regenerator": "^6.4.4",
54-
"babel-preset-airbnb": "^2.0.0",
55-
"chai": "^3.5.0",
56-
"eslint": "^2.9.0",
57-
"eslint-config-airbnb": "^9.0.1",
58-
"eslint-plugin-import": "^1.8.0",
59-
"eslint-plugin-jsx-a11y": "^1.2.0",
60-
"eslint-plugin-react": "^5.1.1",
61-
"mocha": "^2.4.5",
62-
"react": "^15.0.2",
30+
"babel": "=6.5.2",
31+
"babel-cli": "=6.9.0",
32+
"babel-core": "=6.9.0",
33+
"babel-preset-airbnb": "=2.0.0",
34+
"babel-preset-react-native": "=1.8.0",
35+
"chai": "=3.5.0",
36+
"eslint": "2.10.2",
37+
"eslint-config-airbnb": "=9.0.1",
38+
"eslint-plugin-import": "=1.8.0",
39+
"eslint-plugin-jsx-a11y": "=1.2.2",
40+
"eslint-plugin-react": "=5.1.1",
41+
"eslint-plugin-react-native": "=1.0.2",
42+
"mocha": "=2.5.3",
6343
"react-native": "^0.26.0"
6444
},
6545
"dependencies": {
66-
"cubic-bezier": "^0.1.2",
67-
"invariant": "^2.2.0",
68-
"keymirror": "^0.1.1",
69-
"raf": "^3.1.0",
70-
"react-addons-create-fragment": "^15.0.2",
71-
"react-addons-linked-state-mixin": "^15.0.2",
72-
"react-addons-perf": "^15.0.2",
73-
"react-addons-pure-render-mixin": "^15.0.2",
74-
"react-addons-test-utils": "^15.0.2",
75-
"react-addons-update": "^15.0.2",
76-
"react-timer-mixin": "^0.13.3",
77-
"warning": "^2.1.0"
46+
"cubic-bezier": "=0.1.2",
47+
"invariant": "=2.2.1",
48+
"keymirror": "=0.1.1",
49+
"raf": "=3.2.0",
50+
"react": "=15.0.2",
51+
"react-addons-create-fragment": "=15.0.2",
52+
"react-addons-linked-state-mixin": "=15.0.2",
53+
"react-addons-perf": "=15.0.2",
54+
"react-addons-pure-render-mixin": "=15.0.2",
55+
"react-addons-test-utils": "=15.0.2",
56+
"react-addons-update": "=15.0.2",
57+
"react-timer-mixin": "=0.13.3",
58+
"warning": "=2.1.0"
7859
},
7960
"peerDependencies": {
8061
"react": "*",

0 commit comments

Comments
 (0)