File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
"clean" : " rimraf lib" ,
8
8
"build" : " babel src --out-dir lib" ,
9
9
"lint" : " eslint --max-warnings=0 src test examples" ,
10
- "test" : " NODE_ENV=test mocha --compilers js:babel-core/register --recursive" ,
10
+ "test" : " npm run lint && NODE_ENV=test mocha --compilers js:babel-core/register --recursive" ,
11
11
"test:watch" : " NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch" ,
12
12
"test:cov" : " babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive" ,
13
- "prepublish" : " npm run lint && npm run test && npm run clean && npm run build" ,
13
+ "prepublish" : " npm run test && npm run clean && npm run build" ,
14
14
"start" : " cd examples && npm start"
15
15
},
16
16
"repository" : {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import expect from 'expect';
3
3
import { createRenderer } from 'react-addons-test-utils' ;
4
4
5
5
import JSONTree from '../src/index' ;
6
- import JSONNode from '../lib /JSONNode' ;
6
+ import JSONNode from '../src /JSONNode' ;
7
7
8
8
const BASIC_DATA = { a : 1 , b : 'c' } ;
9
9
You can’t perform that action at this time.
0 commit comments