|
1 | 1 | {
|
2 | 2 | "name": "@inaiat/fastify-papr",
|
3 |
| - "version": "0.0.9", |
| 3 | + "version": "1.0.0", |
4 | 4 | "description": "Fastify Papr Plugin Integration",
|
5 | 5 | "type": "module",
|
6 | 6 | "engines": {
|
|
12 | 12 | "test": "xo && ava",
|
13 | 13 | "build": "rimraf ./dist && mkdir dist && tsc --outDir dist && git rev-parse HEAD > BUILD_SHA",
|
14 | 14 | "lint": "xo --fix",
|
15 |
| - "prepublishOnly": "npm run build" |
| 15 | + "coverage": "xo && c8 ava", |
| 16 | + "prepublishOnly": "npm run build", |
| 17 | + "make-badges": "istanbul-badges-readme" |
16 | 18 | },
|
17 | 19 | "repository": {
|
18 | 20 | "type": "git",
|
|
44 | 46 | ],
|
45 | 47 | "homepage": "https://github.com/inaiat/fastify-papr.git",
|
46 | 48 | "dependencies": {
|
47 |
| - "fastify-plugin": "^4.2.0", |
48 |
| - "papr": "^7.2.1" |
| 49 | + "fastify-plugin": "^4.2.1" |
49 | 50 | },
|
50 | 51 | "peerDependencies": {
|
51 |
| - "fastify": "^4.5.0", |
52 |
| - "mongodb": "^4.8.1" |
| 52 | + "fastify": "^4.5.3", |
| 53 | + "mongodb": "^4.9.0", |
| 54 | + "papr": "^7.x" |
53 | 55 | },
|
54 | 56 | "devDependencies": {
|
55 | 57 | "@swc/cli": "^0.1.57",
|
56 |
| - "@swc/core": "^1.2.237", |
57 |
| - "@swc/helpers": "^0.4.6", |
58 |
| - "@types/node": "^18.7.6", |
| 58 | + "@swc/core": "^1.2.245", |
| 59 | + "@swc/helpers": "^0.4.11", |
| 60 | + "@types/node": "^18.7.14", |
59 | 61 | "@types/semver": "^7.3.12",
|
60 |
| - "ava": "^4.3.1", |
| 62 | + "ava": "^4.3.3", |
61 | 63 | "c8": "^7.12.0",
|
62 |
| - "fastify": "^4.5.0", |
63 | 64 | "mongodb-memory-server": "^8.8.0",
|
64 | 65 | "rimraf": "^3.0.2",
|
65 | 66 | "semver": "^7.3.7",
|
66 | 67 | "ts-node": "^10.9.1",
|
67 |
| - "typescript": "^4.7.4", |
68 |
| - "xo": "^0.51.0" |
| 68 | + "typescript": "^4.8.2", |
| 69 | + "xo": "^0.52.2", |
| 70 | + "istanbul-badges-readme": "^1.8.2" |
69 | 71 | },
|
70 | 72 | "files": [
|
71 | 73 | "dist"
|
|
81 | 83 | "--loader=ts-node/esm"
|
82 | 84 | ]
|
83 | 85 | },
|
| 86 | + "c8": { |
| 87 | + "reporter": [ |
| 88 | + "text", |
| 89 | + "json-summary", |
| 90 | + "lcov" |
| 91 | + ] |
| 92 | + }, |
84 | 93 | "xo": {
|
85 | 94 | "semicolon": false,
|
86 | 95 | "ignores": [
|
|
102 | 111 | "@typescript-eslint/no-redundant-type-constituents": "off",
|
103 | 112 | "no-lone-blocks": "off",
|
104 | 113 | "unicorn/no-await-expression-member": "off",
|
105 |
| - "@typescript-eslint/naming-convention": "off" |
| 114 | + "@typescript-eslint/naming-convention": "off", |
| 115 | + "@typescript-eslint/consistent-type-definitions": "off" |
106 | 116 | }
|
107 | 117 | },
|
108 | 118 | "config": {
|
|
0 commit comments