-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
package.json
97 lines (97 loc) · 2.8 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@fastify/autoload",
"version": "5.8.3",
"description": "Require all plugins in a directory",
"main": "index.js",
"type": "commonjs",
"types": "types/index.d.ts",
"scripts": {
"lint": "standard | snazzy",
"lint:fix": "standard --fix | snazzy",
"test": "npm run unit && npm run typescript && npm run typescript:jest && npm run typescript:esm && npm run typescript:swc && npm run typescript:swc-node-register && npm run typescript:tsm && npm run typescript:tsx && npm run typescript:vitest && npm run typescript:esbuild",
"typescript": "tsd",
"typescript:jest": "jest",
"typescript:esm": "node scripts/unit-typescript-esm.js",
"typescript:swc": "node scripts/unit-typescript-swc.js",
"typescript:swc-node-register": "node scripts/unit-typescript-swc-node-register.js",
"typescript:tsm": "node scripts/unit-typescript-tsm.js",
"typescript:tsx": "node scripts/unit-typescript-tsx.js",
"typescript:esbuild": "node scripts/unit-typescript-esbuild.js",
"typescript:vitest": "vitest run",
"typescript:vitest:dev": "vitest",
"unit": "node scripts/unit.js",
"unit:with-modules": "tap test/issues/*/test.js test/commonjs/*.js test/module/*.js test/typescript/*.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fastify/fastify-autoload.git"
},
"keywords": [
"fastify",
"require",
"folder",
"directory",
"plugin",
"plugins",
"automatically",
"load",
"auto"
],
"author": "Matteo Collina <hello@matteocollina.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/fastify/fastify-autoload/issues"
},
"homepage": "https://github.com/fastify/fastify-autoload#readme",
"dependencies": {},
"devDependencies": {
"@fastify/pre-commit": "^2.0.2",
"@fastify/url-data": "^5.0.0",
"@swc-node/register": "^1.5.1",
"@swc/core": "^1.2.129",
"@swc/register": "^0.1.9",
"@types/jest": "^29.0.0",
"@types/node": "^20.1.0",
"@types/tap": "^15.0.5",
"esbuild": "^0.19.2",
"esbuild-register": "^3.4.1",
"fastify": "^4.0.0-rc.2",
"fastify-plugin": "^4.0.0",
"jest": "^28.1.3",
"snazzy": "^9.0.0",
"standard": "^17.0.0",
"tap": "^16.0.0",
"ts-jest": "^28.0.7",
"ts-node": "^10.4.0",
"ts-node-dev": "^2.0.0",
"tsd": "^0.29.0",
"tsm": "^2.2.1",
"tsx": "^3.7.1",
"typescript": "^5.0.2",
"vite": "^5.0.0",
"vitest": "^0.34.1"
},
"standard": {
"ignore": [
"test/*/*-error/lib/a.js"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"rootDir": "./test/typescript-jest",
"testMatch": [
"**/*.test.ts"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
}
},
"publishConfig": {
"access": "public"
},
"pre-commit": [
"lint",
"test"
]
}