-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
69 lines (69 loc) · 2.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "fastify-openapi-docs",
"version": "4.0.1",
"description": "A simple plugin for Fastify that generates OpenAPI spec automatically.",
"homepage": "https://sw.cowtech.it/fastify-openapi-docs",
"repository": {
"type": "git",
"url": "git+https://github.com/ShogunPanda/fastify-openapi-docs.git"
},
"keywords": [
"fastify",
"fastify-plugin",
"openapi",
"docs"
],
"bugs": {
"url": "https://github.com/ShogunPanda/fastify-openapi-docs/issues"
},
"author": "Shogun <[email protected]>",
"license": "ISC",
"private": false,
"files": [
"dist",
"CHANGELOG.md",
"LICENSE.md",
"README.md"
],
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"dev": "swc --strip-leading-paths --delete-dir-on-start -s -w -d dist src",
"build": "swc --strip-leading-paths --delete-dir-on-start -d dist src",
"postbuild": "concurrently npm:lint npm:typecheck",
"format": "prettier -w src test",
"lint": "eslint --cache",
"typecheck": "tsc -p . --emitDeclarationOnly",
"test": "c8 -c test/config/c8-local.json node --env-file=test.env --test test/*.test.ts",
"test:ci": "c8 -c test/config/c8-ci.json node --env-file=test.env --test-reporter=tap --test test/*.test.ts",
"ci": "npm run build && npm run test:ci",
"prepublishOnly": "npm run ci",
"postpublish": "git push origin && git push origin -f --tags"
},
"dependencies": {
"@fastify/static": "^8.0.3",
"fastify-plugin": "^5.0.1",
"js-yaml": "^4.1.0",
"swagger-ui-dist": "^5.18.2"
},
"devDependencies": {
"@cowtech/eslint-config": "10.2.0",
"@swc-node/register": "^1.10.9",
"@swc/cli": "0.5.2",
"@swc/core": "^1.10.3",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.10.2",
"@types/swagger-ui-dist": "^3.30.5",
"c8": "^10.1.3",
"chokidar": "^4.0.3",
"concurrently": "^9.1.1",
"eslint": "^9.17.0",
"fastify": "^5.2.0",
"prettier": "^3.4.2",
"typescript": "^5.7.2"
},
"engines": {
"node": ">= 20.18.0"
}
}