File tree Expand file tree Collapse file tree 6 files changed +37
-8
lines changed Expand file tree Collapse file tree 6 files changed +37
-8
lines changed Original file line number Diff line number Diff line change 1
- package-lock = false
2
1
registry = https://registry.npmjs.org
Original file line number Diff line number Diff line change
1
+ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2
+ version: v1.13.3
3
+ ignore: {}
4
+ patch: {}
Original file line number Diff line number Diff line change @@ -11,6 +11,5 @@ before_script:
11
11
script :
12
12
- npm test
13
13
14
- after_script : NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
15
-
14
+ after_script : make test-coveralls
16
15
Original file line number Diff line number Diff line change
1
+ REPORTER = spec
2
+ test :
3
+ @$(MAKE ) lint
4
+ @echo TRAVIS_JOB_ID $(TRAVIS_JOB_ID )
5
+ @NODE_ENV=test ./node_modules/.bin/mocha -b --reporter $(REPORTER )
6
+
7
+ lint :
8
+ ./node_modules/.bin/jshint ./lib ./test ./index.js
9
+
10
+ test-cov :
11
+ $(MAKE ) lint
12
+ @NODE_ENV=test ./node_modules/.bin/istanbul cover \
13
+ ./node_modules/mocha/bin/_mocha -- -R spec
14
+
15
+ test-coveralls :
16
+ @NODE_ENV=test ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
17
+
18
+
19
+
20
+ .PHONY : test
Original file line number Diff line number Diff line change 4
4
[ ![ Build Status] ( https://travis-ci.org/intuit/oauth-jsclient.svg?branch=master )] ( https://travis-ci.org/intuit/oauth-jsclient )
5
5
[ ![ NPM Package Version] ( https://img.shields.io/npm/v/intuit-oauth.svg?style=flat-square )] ( https://www.npmjs.com/package/intuit-oauth )
6
6
[ ![ Coverage Status] ( https://coveralls.io/repos/github/intuit/oauth-jsclient/badge.svg )] ( https://coveralls.io/github/intuit/oauth-jsclient )
7
+ [ ![ Known Vulnerabilities] ( https://snyk.io/test/github/intuit/oauth-jsclient/badge.svg )] ( https://snyk.io/test/github/intuit/oauth-jsclient )
8
+
7
9
8
10
# Intuit OAuth2.0 NodeJS Library
9
11
Original file line number Diff line number Diff line change 7
7
"start" : " node index.js" ,
8
8
"karma" : " karma start karma.conf.js" ,
9
9
"test" : " nyc mocha" ,
10
+ "snyk" : " snyk test" ,
10
11
"lint" : " eslint ." ,
11
12
"fix" : " eslint . --fix" ,
12
13
"posttest" : " nyc check-coverage" ,
32
33
" coverage" ,
33
34
" .nyc_output" ,
34
35
" sample" ,
35
- " sample/node_modules" ,
36
- " test"
36
+ " sample/node_modules"
37
37
],
38
38
"check-coverage" : true ,
39
39
"lines" : 85 ,
48
48
" json"
49
49
]
50
50
},
51
+ "bin" : {
52
+ "coveralls" : " ./bin/coveralls.js"
53
+ },
51
54
"engines" : {
52
55
"node" : " >=7.0.0"
53
56
},
82
85
"body-parser" : " ^1.15.2" ,
83
86
"chai" : " ^4.1.2" ,
84
87
"chai-as-promised" : " ^7.1.1" ,
85
- "chance" : " ^1.0.13 " ,
88
+ "chance" : " ^1.1.3 " ,
86
89
"cors" : " ^2.8.1" ,
87
- "coveralls" : " ^3.0.6 " ,
90
+ "coveralls" : " ^3.0.7 " ,
88
91
"eslint" : " ^4.19.1" ,
89
92
"eslint-config-airbnb-base" : " ^12.0.0" ,
90
93
"eslint-plugin-import" : " ^2.9.0" ,
91
94
"express" : " ^4.14.0" ,
92
95
"is-travis" : " ^1.0.0" ,
96
+ "istanbul" : " ^0.4.5" ,
93
97
"mocha" : " ^5.0.4" ,
98
+ "mocha-lcov-reporter" : " ^1.3.0" ,
94
99
"nock" : " ^9.2.3" ,
95
100
"nyc" : " ^11.6.0" ,
96
101
"phantomjs-prebuilt" : " ^2.1.4" ,
97
- "standard" : " ^11.0.0" ,
98
102
"sinon" : " ^7.5.0" ,
103
+ "standard" : " ^11.0.0" ,
99
104
"watchify" : " ^3.7.0"
100
105
}
101
106
}
You can’t perform that action at this time.
0 commit comments