|
10 | 10 | "repository": "googleapis/nodejs-error-reporting", |
11 | 11 | "main": "./build/src/index.js", |
12 | 12 | "types": "./build/src/index.d.ts", |
13 | | - "nyc": { |
14 | | - "exclude": [ |
15 | | - "./build/utils/fuzzer.js" |
16 | | - ] |
17 | | - }, |
18 | 13 | "files": [ |
19 | 14 | "build/src", |
20 | 15 | "!build/src/**/*.map" |
21 | 16 | ], |
22 | 17 | "scripts": { |
23 | 18 | "docs": "compodoc src/", |
24 | | - "lint": "eslint '**/*.js' && gts check && jsgl --local .", |
| 19 | + "lint": "eslint '**/*.js' && gts check", |
25 | 20 | "presystem-test": "npm run compile", |
26 | | - "system-test": "nyc --exclude=\"error-message.js\" mocha build/system-test/**/*.js", |
27 | | - "cover": "nyc --exclude=\"fuzzer.js\" --reporter=lcov mocha build/test/unit/*.js build/test/unit/**/*.js && nyc report", |
| 21 | + "system-test": "c8 mocha build/system-test", |
28 | 22 | "presamples-test": "npm run compile", |
29 | 23 | "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", |
30 | | - "test-no-cover": "mocha build/test/unit/**/*.js --timeout 20000", |
31 | | - "test-only": "npm run cover", |
32 | | - "test": "npm run test-only", |
33 | | - "check": "gts check", |
| 24 | + "test": "c8 mocha --recursive build/test/unit", |
34 | 25 | "clean": "gts clean", |
35 | 26 | "compile": "tsc -p .", |
36 | 27 | "postcompile": "cpy 'utils/**/*.*' build --parents && cpy 'test/**/*.*' build --parents", |
37 | 28 | "fix": "gts fix && eslint --fix '**/*.js'", |
38 | 29 | "prepare": "npm run compile", |
39 | | - "pretest-only": "npm run compile", |
40 | | - "posttest": "npm run check && npm run license-check", |
| 30 | + "pretest": "npm run compile", |
41 | 31 | "license-check": "jsgl --local .", |
42 | | - "docs-test": "linkinator docs -r --skip www.googleapis.com", |
| 32 | + "docs-test": "linkinator docs --recurse", |
43 | 33 | "predocs-test": "npm run docs" |
44 | 34 | }, |
45 | 35 | "dependencies": { |
46 | | - "@google-cloud/common": "^2.0.0", |
47 | | - "console-log-level": "^1.4.0", |
48 | | - "is": "^3.2.1", |
| 36 | + "@google-cloud/common": "^2.0.1", |
| 37 | + "console-log-level": "^1.4.1", |
| 38 | + "is": "^3.3.0", |
49 | 39 | "lodash.has": "^4.5.2" |
50 | 40 | }, |
51 | 41 | "devDependencies": { |
52 | | - "@compodoc/compodoc": "^1.1.7", |
53 | | - "@types/boom": "^7.2.0", |
| 42 | + "@compodoc/compodoc": "^1.1.9", |
| 43 | + "@types/boom": "^7.2.1", |
54 | 44 | "@types/console-log-level": "^1.4.0", |
55 | | - "@types/express": "^4.11.1", |
56 | | - "@types/hapi": "^18.0.0", |
| 45 | + "@types/express": "^4.17.0", |
| 46 | + "@types/hapi": "^18.0.2", |
57 | 47 | "@types/is": "0.0.21", |
58 | 48 | "@types/json-stable-stringify": "^1.0.32", |
59 | | - "@types/koa": "^2.0.45", |
60 | | - "@types/lodash.has": "^4.5.3", |
61 | | - "@types/lodash.maxby": "^4.6.3", |
62 | | - "@types/lodash.merge": "^4.6.3", |
63 | | - "@types/lodash.omit": "^4.5.3", |
64 | | - "@types/lodash.omitby": "^4.6.3", |
65 | | - "@types/lodash.pick": "^4.4.3", |
66 | | - "@types/lodash.random": "^3.2.3", |
67 | | - "@types/lodash.without": "^4.4.3", |
68 | | - "@types/mocha": "^5.2.0", |
69 | | - "@types/nock": "^10.0.0", |
70 | | - "@types/node": "^10.1.1", |
| 49 | + "@types/koa": "^2.0.48", |
| 50 | + "@types/lodash.has": "^4.5.6", |
| 51 | + "@types/lodash.maxby": "^4.6.6", |
| 52 | + "@types/lodash.merge": "^4.6.6", |
| 53 | + "@types/lodash.omit": "^4.5.6", |
| 54 | + "@types/lodash.omitby": "^4.6.6", |
| 55 | + "@types/lodash.pick": "^4.4.6", |
| 56 | + "@types/lodash.random": "^3.2.6", |
| 57 | + "@types/lodash.without": "^4.4.6", |
| 58 | + "@types/mocha": "^5.2.7", |
| 59 | + "@types/nock": "^10.0.3", |
| 60 | + "@types/node": "^12.0.8", |
71 | 61 | "@types/once": "^1.4.0", |
72 | 62 | "@types/proxyquire": "^1.3.28", |
73 | | - "@types/restify": "^7.2.0", |
| 63 | + "@types/restify": "^7.2.11", |
74 | 64 | "@types/uuid": "^3.4.4", |
75 | | - "body-parser": "^1.18.3", |
76 | | - "boom": "^7.2.0", |
77 | | - "codecov": "^3.0.2", |
| 65 | + "body-parser": "^1.19.0", |
| 66 | + "boom": "^7.3.0", |
| 67 | + "c8": "^5.0.1", |
| 68 | + "codecov": "^3.5.0", |
78 | 69 | "cpy-cli": "^2.0.0", |
79 | | - "delay": "^4.1.0", |
80 | | - "eslint": "^5.0.0", |
81 | | - "eslint-config-prettier": "^4.0.0", |
82 | | - "eslint-plugin-node": "^9.0.0", |
83 | | - "eslint-plugin-prettier": "^3.0.0", |
84 | | - "express": "^4.16.3", |
| 70 | + "delay": "^4.3.0", |
| 71 | + "eslint": "^5.16.0", |
| 72 | + "eslint-config-prettier": "^5.0.0", |
| 73 | + "eslint-plugin-node": "^9.1.0", |
| 74 | + "eslint-plugin-prettier": "^3.1.0", |
| 75 | + "express": "^4.17.1", |
85 | 76 | "gts": "^1.0.0", |
86 | | - "hapi": "^18.0.0", |
| 77 | + "hapi": "^18.1.0", |
87 | 78 | "intelli-espower-loader": "^1.0.1", |
88 | | - "js-green-licenses": "^1.0.0", |
| 79 | + "js-green-licenses": "^1.1.0", |
89 | 80 | "json-stable-stringify": "^1.0.1", |
90 | | - "koa": "^2.5.1", |
91 | | - "linkinator": "^1.1.2", |
| 81 | + "koa": "^2.7.0", |
| 82 | + "linkinator": "^1.4.3", |
92 | 83 | "lodash.maxby": "^4.6.0", |
93 | 84 | "lodash.merge": "^4.6.1", |
94 | 85 | "lodash.omit": "^4.5.0", |
|
97 | 88 | "lodash.random": "^3.2.0", |
98 | 89 | "lodash.without": "^4.4.0", |
99 | 90 | "mocha": "^6.1.4", |
100 | | - "nock": "^10.0.0", |
101 | | - "nyc": "^14.0.0", |
| 91 | + "nock": "^10.0.6", |
102 | 92 | "post-install-check": "0.0.1", |
103 | | - "power-assert": "^1.5.0", |
104 | | - "prettier": "^1.12.1", |
105 | | - "proxyquire": "^2.0.1", |
106 | | - "restify": "^8.0.0", |
107 | | - "source-map-support": "^0.5.9", |
108 | | - "typescript": "~3.5.0", |
| 93 | + "power-assert": "^1.6.1", |
| 94 | + "prettier": "^1.18.2", |
| 95 | + "proxyquire": "^2.1.0", |
| 96 | + "restify": "^8.3.3", |
| 97 | + "source-map-support": "^0.5.12", |
| 98 | + "typescript": "~3.5.2", |
109 | 99 | "uuid": "^3.3.2" |
110 | 100 | } |
111 | 101 | } |
0 commit comments