Skip to content

Commit 8a64a31

Browse files
committed
- Made tests to pass in node@4.
- Added coverage - Fixed missing dependencies
1 parent 35b4a53 commit 8a64a31

File tree

9 files changed

+23
-4
lines changed

9 files changed

+23
-4
lines changed

.babelrc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
"plugins": [
88
"add-module-exports",
99
"lodash",
10-
"transform-class-properties",
11-
["transform-es2015-classes", { "loose": true }],
12-
"transform-proto-to-assign"
10+
"transform-class-properties",
11+
["transform-es2015-classes", {
12+
"loose": true
13+
}],
14+
"transform-proto-to-assign"
1315
]
1416
}

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: node_js
22
node_js:
33
- 6
44
- 5
5+
- 4
56
notifications:
67
email: false
78
sudo: false

package.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,40 @@
2828
"babel-cli": "^6.10.1",
2929
"babel-plugin-add-module-exports": "^0.2.1",
3030
"babel-plugin-lodash": "^3.2.5",
31+
"babel-plugin-transform-class-properties": "^6.11.5",
32+
"babel-plugin-transform-es2015-classes": "^6.9.0",
3133
"babel-plugin-transform-proto-to-assign": "^6.9.0",
3234
"babel-preset-es2015": "^6.9.0",
3335
"babel-preset-react": "^6.11.1",
3436
"babel-preset-stage-0": "^6.5.0",
3537
"babel-register": "^6.9.0",
3638
"chai": "^3.5.0",
39+
"coveralls": "^2.11.12",
3740
"eslint": "^3.0.0",
3841
"eslint-config-canonical": "^1.7.12",
42+
"eslint-plugin-babel": "^3.3.0",
43+
"eslint-plugin-flowtype": "^2.4.0",
44+
"eslint-plugin-import": "^1.12.0",
45+
"eslint-plugin-jsdoc": "^2.3.1",
46+
"eslint-plugin-lodash": "^1.10.1",
47+
"eslint-plugin-mocha": "^4.3.0",
48+
"eslint-plugin-no-use-extend-native": "^0.3.7",
49+
"eslint-plugin-promise": "^2.0.0",
50+
"eslint-plugin-react": "^6.0.0",
51+
"eslint-plugin-sorting": "^0.3.0",
3952
"jsdom": "^8.1.0",
4053
"mocha": "^2.5.3",
54+
"nyc": "^7.1.0",
55+
"pre-commit": "^1.1.3",
4156
"react": "^15.0.0-rc.1",
4257
"react-addons-shallow-compare": "^15.0.0-rc.1",
4358
"react-addons-test-utils": "^15.0.0-rc.1",
4459
"react-dom": "^15.0.0-rc.1"
4560
},
4661
"scripts": {
4762
"lint": "eslint ./src ./tests",
48-
"test": "mocha --compilers js:babel-register ./tests/**/*.js",
63+
"test": "nyc --reporter=lcov --reporter=text mocha --compilers js:babel-register ./test/**/*.js",
64+
"debug": "mocha --compilers js:babel-register ./test/**/*.js",
4965
"build": "babel ./src --out-dir ./dist"
5066
}
5167
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)