This repository was archived by the owner on Jun 9, 2019. It is now read-only.
File tree 4 files changed +18
-17
lines changed
4 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 6
6
"rules": {
7
7
// possible errors
8
8
"comma-dangle": [ 2, "always-multiline" ],
9
- "no-cond-assign": [ 2, "expect-parens" ] ,
10
- "no-console": 2 ,
9
+ "no-cond-assign": 2 ,
10
+ "no-console": 0 ,
11
11
"no-extra-boolean-cast": 0,
12
12
13
13
// best practice
28
28
"comma-spacing": 0,
29
29
"key-spacing": 0,
30
30
"no-underscore-dangle": 0,
31
- "quotes": [ 2, "double", "avoid-escape" ]
31
+ "no-use-before-define": 0,
32
+ "quotes": [ 2, "double", "avoid-escape" ],
33
+ "space-infix-ops": [ 2, { "int32Hint": true } ]
32
34
}
33
35
}
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ language: node_js
2
2
sudo : false
3
3
node_js :
4
4
- " 0.12"
5
+ - " iojs"
5
6
env :
6
7
global :
7
8
- secure : " ZXHZg3GLqgjUyCmXD3Zy28M16+2EEkT7ab8gBywhU5TUcPElN75PtpOeOWt+1bOHM8ZsdBpb3BSi2wdOsD7p0BYz4XdZoBjufcV5YZp/Jz9Y2DBDP0o4OzaNp7etfSEKgP7qcPu4tDjKzcUEyMAeQBOUF3SY51XQGkkeudXWI60="
Original file line number Diff line number Diff line change 8
8
},
9
9
"dependencies" : {},
10
10
"devDependencies" : {
11
- "babel" : " ^5.2.6 " ,
12
- "babel-eslint" : " ^3.0.1 " ,
13
- "babelify" : " ^6.0 .2" ,
14
- "browserify" : " ^10.0.0 " ,
11
+ "babel" : " ^5.6.11 " ,
12
+ "babel-eslint" : " ^3.1.18 " ,
13
+ "babelify" : " ^6.1 .2" ,
14
+ "browserify" : " ^10.2.4 " ,
15
15
"coveralls" : " ^2.11.2" ,
16
- "eslint" : " ^0.20 .0" ,
17
- "espower-babel" : " ^2.1 .0" ,
16
+ "eslint" : " ^0.23 .0" ,
17
+ "espower-babel" : " ^3.2 .0" ,
18
18
"isparta" : " ^3.0.3" ,
19
- "lodash" : " ^3.7.0 " ,
20
- "mocha" : " ^2.2.4 " ,
19
+ "lodash" : " ^3.9.3 " ,
20
+ "mocha" : " ^2.2.5 " ,
21
21
"power-assert" : " ^0.11.0" ,
22
- "sinon" : " ^1.14.1 "
22
+ "sinon" : " ^1.15.3 "
23
23
},
24
24
"files" : [
25
25
" package.json" ,
39
39
},
40
40
"scripts" : {
41
41
"build" : " browserify src -t babelify --outfile build/web-audio-test-api.js" ,
42
- "cover" : " babel-node $(npm bin)/isparta cover --report text --report html --report lcov $(npm bin)/ _mocha" ,
42
+ "cover" : " babel-node $(npm bin)/isparta cover --report text --report html --report lcov _mocha" ,
43
43
"lint" : " eslint src test" ,
44
- "mocha" : " mocha" ,
45
- "prepublish" : " npm run lint && npm run mocha && npm run build" ,
46
- "test" : " mocha --require espower-babel/guess" ,
44
+ "prepublish" : " npm run lint && npm run test && npm run build" ,
45
+ "test" : " mocha --compilers js:espower-babel/guess" ,
47
46
"travis" : " npm run lint && npm run cover"
48
47
}
49
48
}
Original file line number Diff line number Diff line change 1
1
--reporter spec
2
2
--recursive
3
- --compilers js:babel/register
4
3
--require test/bootstrap/bootstrap.js
You can’t perform that action at this time.
0 commit comments