|
3 | 3 | "description": "Caching middleware for Koa using koa-cash and route pattern-based matching with path-to-regexp. Made for Lad.",
|
4 | 4 | "version": "0.0.3",
|
5 | 5 | "author": "Nick Baugh <[email protected]> (http://niftylettuce.com/)",
|
6 |
| - "ava": { |
7 |
| - "verbose": true |
8 |
| - }, |
9 | 6 | "bugs": {
|
10 | 7 | "url": "https://github.com/ladjs/koa-cache-responses/issues",
|
11 | 8 |
|
12 | 9 | },
|
13 |
| - "commitlint": { |
14 |
| - "extends": [ |
15 |
| - "@commitlint/config-conventional" |
16 |
| - ] |
17 |
| - }, |
18 | 10 | "contributors": [
|
19 | 11 | "Nick Baugh <[email protected]> (http://niftylettuce.com/)"
|
20 | 12 | ],
|
21 | 13 | "dependencies": {
|
22 |
| - "lodash": "^4.17.15", |
23 |
| - "ms": "^2.1.2", |
| 14 | + "lodash": "^4.17.21", |
| 15 | + "ms": "^2.1.3", |
24 | 16 | "path-to-regexp": "^6.1.0"
|
25 | 17 | },
|
26 | 18 | "devDependencies": {
|
27 |
| - "@commitlint/cli": "latest", |
28 |
| - "@commitlint/config-conventional": "latest", |
29 |
| - "@ladjs/redis": "^1.0.4", |
30 |
| - "ava": "latest", |
31 |
| - "codecov": "latest", |
32 |
| - "cross-env": "latest", |
33 |
| - "eslint": "6.x", |
34 |
| - "eslint-config-xo-lass": "latest", |
35 |
| - "fast-safe-stringify": "^2.0.7", |
36 |
| - "fixpack": "latest", |
37 |
| - "husky": "latest", |
38 |
| - "koa": "^2.12.1", |
39 |
| - "koa-cash": "^4.0.3", |
40 |
| - "lint-staged": "latest", |
41 |
| - "node-cache": "^5.1.1", |
42 |
| - "nyc": "latest", |
43 |
| - "remark-cli": "latest", |
44 |
| - "remark-preset-github": "latest", |
| 19 | + "@commitlint/cli": "^19.7.1", |
| 20 | + "@commitlint/config-conventional": "^19.7.1", |
| 21 | + "@ladjs/redis": "^1.1.1", |
| 22 | + "ava": "^5.2.0", |
| 23 | + "cross-env": "^7.0.3", |
| 24 | + "eslint": "^8.55.0", |
| 25 | + "eslint-config-xo-lass": "^2.0.1", |
| 26 | + "fast-safe-stringify": "^2.1.1", |
| 27 | + "fixpack": "^4.0.0", |
| 28 | + "husky": "^9.1.7", |
| 29 | + "koa": "^2.15.4", |
| 30 | + "koa-cash": "^4.1.1", |
| 31 | + "lint-staged": "^15.4.3", |
| 32 | + "node-cache": "^5.1.2", |
| 33 | + "nyc": "^17.1.0", |
| 34 | + "remark-cli": "11.0.0", |
| 35 | + "remark-preset-github": "^4.0.4", |
45 | 36 | "supertest": "^4.0.2",
|
46 |
| - "xo": "0.25" |
| 37 | + "xo": "0.56.0" |
47 | 38 | },
|
48 | 39 | "engines": {
|
49 |
| - "node": ">=8.3" |
| 40 | + "node": ">=18" |
50 | 41 | },
|
51 | 42 | "homepage": "https://github.com/ladjs/koa-cache-responses",
|
52 |
| - "husky": { |
53 |
| - "hooks": { |
54 |
| - "pre-commit": "lint-staged && npm test", |
55 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
56 |
| - } |
57 |
| - }, |
58 | 43 | "keywords": [
|
59 | 44 | "alternative",
|
60 | 45 | "asset",
|
|
101 | 86 | ],
|
102 | 87 | "license": "MIT",
|
103 | 88 | "main": "index.js",
|
104 |
| - "prettier": { |
105 |
| - "singleQuote": true, |
106 |
| - "bracketSpacing": true, |
107 |
| - "trailingComma": "none" |
108 |
| - }, |
109 | 89 | "publishConfig": {
|
110 | 90 | "access": "public"
|
111 | 91 | },
|
112 |
| - "remarkConfig": { |
113 |
| - "plugins": [ |
114 |
| - "preset-github" |
115 |
| - ] |
116 |
| - }, |
117 | 92 | "repository": {
|
118 | 93 | "type": "git",
|
119 | 94 | "url": "https://github.com/ladjs/koa-cache-responses"
|
120 | 95 | },
|
121 | 96 | "scripts": {
|
122 | 97 | "ava": "cross-env NODE_ENV=test ava",
|
123 |
| - "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
124 |
| - "lint": "xo && remark . -qfo", |
| 98 | + "lint": "xo --fix && remark . -qfo && fixpack", |
125 | 99 | "nyc": "cross-env NODE_ENV=test nyc ava",
|
126 |
| - "test": "yarn run lint && yarn run ava", |
127 |
| - "test-coverage": "yarn run lint && yarn run nyc" |
128 |
| - }, |
129 |
| - "xo": { |
130 |
| - "prettier": true, |
131 |
| - "space": true, |
132 |
| - "extends": [ |
133 |
| - "xo-lass" |
134 |
| - ] |
| 100 | + "prepare": "husky install", |
| 101 | + "pretest": "npm run lint", |
| 102 | + "test": "npm run nyc" |
135 | 103 | }
|
136 | 104 | }
|
0 commit comments