|
3 | 3 | "description": "Proxy for Lad",
|
4 | 4 | "version": "2.1.1",
|
5 | 5 | "author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
|
6 |
| - "ava": { |
7 |
| - "failFast": true, |
8 |
| - "verbose": true |
9 |
| - }, |
10 | 6 | "bugs": {
|
11 | 7 | "url": "https://github.com/ladjs/proxy/issues",
|
12 | 8 | "email": "niftylettuce@gmail.com"
|
13 | 9 | },
|
14 |
| - "commitlint": { |
15 |
| - "extends": [ |
16 |
| - "@commitlint/config-conventional" |
17 |
| - ] |
18 |
| - }, |
19 | 10 | "contributors": [
|
20 | 11 | "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)"
|
21 | 12 | ],
|
|
28 | 19 | "url-parse": "^1.5.10"
|
29 | 20 | },
|
30 | 21 | "devDependencies": {
|
31 |
| - "@commitlint/cli": "^17.0.1", |
32 |
| - "@commitlint/config-conventional": "^17.0.0", |
33 |
| - "ava": "^4.2.0", |
34 |
| - "codecov": "^3.8.2", |
| 22 | + "@commitlint/cli": "^17.0.3", |
| 23 | + "@commitlint/config-conventional": "^17.0.3", |
| 24 | + "ava": "^4.3.0", |
35 | 25 | "cross-env": "^7.0.3",
|
36 |
| - "eslint": "^8.16.0", |
37 |
| - "eslint-config-xo-lass": "^1.0.6", |
| 26 | + "eslint": "^8.19.0", |
| 27 | + "eslint-config-xo-lass": "^2.0.1", |
38 | 28 | "fixpack": "^4.0.0",
|
39 | 29 | "husky": "^8.0.1",
|
40 |
| - "lint-staged": "^12.4.3", |
| 30 | + "lint-staged": "^13.0.3", |
41 | 31 | "nyc": "^15.1.0",
|
42 |
| - "remark-cli": "^10.0.1", |
43 |
| - "remark-preset-github": "^4.0.1", |
| 32 | + "remark-cli": "^11.0.0", |
| 33 | + "remark-preset-github": "^4.0.4", |
44 | 34 | "sinon": "^14.0.0",
|
45 |
| - "supertest": "^6.2.3", |
46 |
| - "xo": "^0.49.0" |
| 35 | + "supertest": "^6.2.4", |
| 36 | + "xo": "^0.50.0" |
47 | 37 | },
|
48 | 38 | "engines": {
|
49 |
| - "node": ">=8.3" |
| 39 | + "node": ">=14" |
50 | 40 | },
|
51 | 41 | "homepage": "https://github.com/ladjs/proxy",
|
52 |
| - "husky": { |
53 |
| - "hooks": { |
54 |
| - "pre-commit": "lint-staged && npm test", |
55 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
56 |
| - } |
57 |
| - }, |
58 | 42 | "keywords": [
|
59 | 43 | "config",
|
60 | 44 | "domain",
|
|
81 | 65 | "virtuals"
|
82 | 66 | ],
|
83 | 67 | "license": "MIT",
|
84 |
| - "lint-staged": { |
85 |
| - "*.js": [ |
86 |
| - "xo --fix", |
87 |
| - "git add" |
88 |
| - ], |
89 |
| - "*.md": [ |
90 |
| - "remark . -qfo", |
91 |
| - "git add" |
92 |
| - ], |
93 |
| - "package.json": [ |
94 |
| - "fixpack", |
95 |
| - "git add" |
96 |
| - ] |
97 |
| - }, |
98 | 68 | "main": "index.js",
|
99 |
| - "prettier": { |
100 |
| - "singleQuote": true, |
101 |
| - "bracketSpacing": true, |
102 |
| - "trailingComma": "none" |
103 |
| - }, |
104 | 69 | "publishConfig": {
|
105 | 70 | "access": "public"
|
106 | 71 | },
|
107 |
| - "remarkConfig": { |
108 |
| - "plugins": [ |
109 |
| - "preset-github" |
110 |
| - ] |
111 |
| - }, |
112 | 72 | "repository": {
|
113 | 73 | "type": "git",
|
114 | 74 | "url": "https://github.com/ladjs/proxy"
|
115 | 75 | },
|
116 | 76 | "scripts": {
|
117 |
| - "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
118 |
| - "lint": "xo && remark . -qfo", |
119 |
| - "precommit": "lint-staged && npm test", |
120 |
| - "test": "npm run lint && npm run test-coverage", |
121 |
| - "test-coverage": "cross-env NODE_ENV=test nyc ava" |
122 |
| - }, |
123 |
| - "xo": { |
124 |
| - "prettier": true, |
125 |
| - "space": true, |
126 |
| - "extends": [ |
127 |
| - "xo-lass" |
128 |
| - ] |
| 77 | + "lint": "xo --fix && remark . -qfo && fixpack", |
| 78 | + "prepare": "husky install", |
| 79 | + "pretest": "npm run lint", |
| 80 | + "test": "cross-env NODE_ENV=test nyc ava" |
129 | 81 | }
|
130 | 82 | }
|
0 commit comments