|
2 | 2 | "name": "arrest", |
3 | 3 | "version": "0.0.0-development", |
4 | 4 | "description": "OpenAPI v3 compliant REST framework for Node.js, with support for MongoDB and JSON-Schema", |
| 5 | + "type": "module", |
5 | 6 | "main": "dist/index.js", |
6 | 7 | "typings": "dist/index.d.ts", |
7 | 8 | "directories": { |
|
19 | 20 | "build:tests": "tsc -p test", |
20 | 21 | "clean": "rimraf dist coverage .nyc_output test-results && find ./test/ts -type f -name '*.js' -delete && rimraf test/tsconfig.tsbuildinfo", |
21 | 22 | "clean:all": "npm run clean && rimraf node_modules", |
22 | | - "cover": "nyc --reporter=lcov --reporter=text npm t", |
| 23 | + "cover": "c8 --reporter=lcov --reporter=text npm t", |
23 | 24 | "report-coverage": "cat ./coverage/lcov.info | coveralls", |
24 | | - "commit": "git-cz", |
25 | | - "check-coverage": "nyc check-coverage", |
| 25 | + "check-coverage": "c8 check-coverage", |
26 | 26 | "watch:test": "npm t -- -w", |
27 | 27 | "test": "npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js", |
28 | 28 | "test:debug": "find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js", |
|
77 | 77 | }, |
78 | 78 | "homepage": "https://github.com/vivocha/arrest", |
79 | 79 | "devDependencies": { |
80 | | - "@commitlint/cli": "^16.2.3", |
81 | | - "@commitlint/config-conventional": "^16.2.1", |
82 | 80 | "@types/body-parser": "^1.19.2", |
83 | | - "@types/chai": "^4.3.0", |
| 81 | + "@types/chai": "^4.3.1", |
84 | 82 | "@types/chai-as-promised": "^7.1.5", |
85 | 83 | "@types/chai-spies": "^1.0.3", |
86 | 84 | "@types/debug": "^4.1.7", |
87 | 85 | "@types/express": "^4.17.13", |
88 | | - "@types/lodash": "^4.14.181", |
89 | | - "@types/luxon": "^2.3.1", |
90 | | - "@types/mocha": "^9.1.0", |
| 86 | + "@types/lodash": "^4.14.182", |
| 87 | + "@types/luxon": "^2.3.2", |
| 88 | + "@types/mocha": "^9.1.1", |
91 | 89 | "@types/needle": "^2.5.3", |
92 | 90 | "@types/node": "^16.11.1", |
93 | 91 | "@types/semver": "^7.3.9", |
| 92 | + "c8": "^7.11.3", |
94 | 93 | "chai": "^4.3.6", |
95 | 94 | "chai-as-promised": "^7.1.1", |
96 | 95 | "chai-spies": "^1.0.0", |
97 | | - "commitizen": "^4.2.4", |
98 | | - "commitlint": "^16.2.3", |
99 | 96 | "coveralls": "^3.1.1", |
100 | | - "cz-conventional-changelog": "^3.3.0", |
101 | | - "husky": "^7.0.4", |
102 | | - "mocha": "^9.2.2", |
| 97 | + "mocha": "^10.0.0", |
103 | 98 | "mochawesome": "^7.1.3", |
104 | 99 | "mongodoki": "^5.0.0", |
105 | | - "nyc": "^15.1.0", |
106 | 100 | "pem": "^1.14.6", |
107 | 101 | "rimraf": "^3.0.2", |
108 | 102 | "semantic-release": "^19.0.2", |
109 | | - "supertest": "^6.2.2", |
110 | | - "typescript": "^4.6.3" |
| 103 | + "supertest": "^6.2.3", |
| 104 | + "typescript": "^4.7.3" |
111 | 105 | }, |
112 | 106 | "dependencies": { |
113 | | - "@casl/ability": "^5.4.3", |
| 107 | + "@casl/ability": "^5.4.4", |
114 | 108 | "@vivocha/scopes": "^1.0.0", |
115 | 109 | "body-parser": "^1.20.0", |
116 | | - "camelcase": "^6.3.0", |
| 110 | + "camelcase": "^7.0.0", |
117 | 111 | "cookie-parser": "^1.4.6", |
118 | 112 | "debug": "^4.3.4", |
119 | 113 | "debuggo": "^1.4.1", |
120 | | - "decamelize": "^5.0.0", |
121 | | - "dot-prop": "^6.0.1", |
| 114 | + "decamelize": "^6.0.0", |
| 115 | + "dot-prop": "^7.2.0", |
122 | 116 | "eredita": "^1.2.1", |
123 | | - "express": "^4.17.3", |
124 | | - "jsonref": "^7.0.0", |
| 117 | + "express": "^4.18.1", |
| 118 | + "jsonref": "^8.0.4", |
125 | 119 | "lodash": "^4.17.21", |
126 | | - "luxon": "^2.3.1", |
127 | | - "mongodb": "^4.5.0", |
| 120 | + "luxon": "^2.4.0", |
| 121 | + "mongodb": "^4.7.0", |
128 | 122 | "needle": "^3.1.0", |
129 | | - "openapi-police": "^3.0.1", |
| 123 | + "openapi-police": "^4.0.0", |
130 | 124 | "rql": "^0.3.3", |
131 | | - "semver": "^7.3.6" |
| 125 | + "semver": "^7.3.7" |
132 | 126 | }, |
133 | 127 | "engines": { |
134 | 128 | "node": ">=16.14.0" |
135 | 129 | }, |
136 | | - "config": { |
137 | | - "commitizen": { |
138 | | - "path": "./node_modules/cz-conventional-changelog" |
139 | | - } |
140 | | - }, |
141 | | - "husky": { |
142 | | - "hooks": { |
143 | | - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
144 | | - "pre-commit": "npm run build && npm run cover && npm run check-coverage" |
145 | | - } |
146 | | - }, |
147 | | - "nyc": { |
| 130 | + "c8": { |
148 | 131 | "lines": 100, |
149 | 132 | "statements": 100, |
150 | 133 | "functions": 100, |
|
0 commit comments