File tree 4 files changed +34
-2
lines changed
4 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " airbnb" ,
3
+ "env" : {
4
+ "jest" : true
5
+ }
6
+ }
Original file line number Diff line number Diff line change
1
+ node_modules
2
+ coverage
Original file line number Diff line number Diff line change
1
+ console . log ( 'hi' ) ;
Original file line number Diff line number Diff line change 4
4
"description" : " Universal JS client for micro-rpc" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "test" : " echo \" Error: no test specified\" && exit 1"
7
+ "start" : " node ." ,
8
+ "lint" : " eslint . --ignore-pattern coverage node_modules" ,
9
+ "test" : " npm run lint && jest --coverage" ,
10
+ "test-watch" : " jest --watch" ,
11
+ "test-update" : " jest -u"
12
+ },
13
+ "jest" : {
14
+ "verbose" : true ,
15
+ "coverageThreshold" : {
16
+ "global" : {
17
+ "branches" : 100 ,
18
+ "functions" : 100 ,
19
+ "lines" : 100 ,
20
+ "statements" : 100
21
+ }
22
+ }
8
23
},
9
24
"repository" : {
10
25
"type" : " git" ,
19
34
"bugs" : {
20
35
"url" : " https://github.com/bufferapp/micro-rpc-client/issues"
21
36
},
22
- "homepage" : " https://github.com/bufferapp/micro-rpc-client#readme"
37
+ "homepage" : " https://github.com/bufferapp/micro-rpc-client#readme" ,
38
+ "devDependencies" : {
39
+ "eslint" : " ^3.19.0" ,
40
+ "eslint-config-airbnb" : " ^14.1.0" ,
41
+ "eslint-plugin-import" : " ^2.2.0" ,
42
+ "eslint-plugin-jsx-a11y" : " ^4.0.0" ,
43
+ "eslint-plugin-react" : " ^6.10.3" ,
44
+ "jest" : " ^19.0.2"
45
+ }
23
46
}
You can’t perform that action at this time.
0 commit comments