Skip to content

Commit 02240c3

Browse files
committed
Updated depedencies.
1 parent 3f0365d commit 02240c3

File tree

6 files changed

+45
-15
lines changed

6 files changed

+45
-15
lines changed

.coveralls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
repo_token: vnqpbiGFbHmVwNwcJnseZAZ5X33epllne
1+
repo_token: bqiXmaOA0xarSUociqxGKJ72bp8SSHlQC

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules
22
/coverage
33
npm-debug.log
4+
.coveralls.yml

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2015, Gajus Kuizinas (http://gajus.com/)
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
* Redistributions of source code must retain the above copyright
7+
notice, this list of conditions and the following disclaimer.
8+
* Redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the following disclaimer in the
10+
documentation and/or other materials provided with the distribution.
11+
* Neither the name of the Gajus Kuizinas (http://gajus.com/) nor the
12+
names of its contributors may be used to endorse or promote products
13+
derived from this software without specific prior written permission.
14+
15+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
DISCLAIMED. IN NO EVENT SHALL ANUARY BE LIABLE FOR ANY
19+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-css-modules",
33
"description": "Seamless mapping of class names to CSS modules inside of React components.",
4-
"main": "dist/index.js",
4+
"main": "./dist/index.js",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/gajus/react-css-modules"
@@ -23,22 +23,23 @@
2323
"lodash": "^3.10.1"
2424
},
2525
"devDependencies": {
26-
"babel": "^5.8.21",
27-
"babel-eslint": "^4.1.0",
28-
"babel-istanbul": "^0.3.19",
26+
"babel": "^5.8.23",
27+
"babel-eslint": "^4.1.2",
28+
"babel-istanbul": "^0.3.20",
2929
"chai": "^3.2.0",
3030
"coveralls": "^2.11.4",
31-
"eslint": "^1.2.1",
32-
"eslint-plugin-react": "^3.3.0",
33-
"jsdom": "^6.2.0",
34-
"mocha": "^2.2.5",
35-
"mocha-lcov-reporter": "0.0.2",
36-
"react": "^0.14.0-beta3",
37-
"react-addons-test-utils": "^0.14.0-beta3"
31+
"eslint": "^1.4.3",
32+
"eslint-plugin-react": "^3.3.2",
33+
"jsdom": "^6.5.0",
34+
"mocha": "^2.3.2",
35+
"mocha-lcov-reporter": "^0.0.2",
36+
"react": "^0.14.0-rc1",
37+
"react-addons-test-utils": "^0.14.0-rc1"
3838
},
3939
"scripts": {
4040
"lint": "./node_modules/.bin/eslint ./src/ ./test/",
41-
"test": "npm run lint && node ./node_modules/.bin/babel-istanbul cover ./node_modules/.bin/_mocha && cat ./coverage/lcov.info | coveralls",
41+
"quick-test": "npm run lint && node ./node_modules/.bin/babel-istanbul cover ./node_modules/.bin/_mocha",
42+
"test": "npm run quick-test && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
4243
"build": "babel ./src/ --out-dir ./dist/",
4344
"watch": "babel --watch ./src/ --out-dir ./dist/"
4445
}

test/linkClass.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable max-nested-callbacks */
2+
13
import {
24
expect
35
} from 'chai';
@@ -92,8 +94,8 @@ describe('linkClass', () => {
9294
bar: 'bar-1'
9395
});
9496

95-
expect(subject.props.children['.0'].props.className).to.equal('foo-1');
96-
expect(subject.props.children['.1'].props.className).to.equal('bar-1');
97+
expect(subject.props.children[0].props.className).to.equal('foo-1');
98+
expect(subject.props.children[1].props.className).to.equal('bar-1');
9799
});
98100
});
99101
context('when ReactElement does not have an existing className', () => {

test/makeConfiguration.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable max-nested-callbacks */
2+
13
import {
24
expect
35
} from 'chai';

0 commit comments

Comments
 (0)