-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.39 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.39 KB
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
{
"name": "apiv",
"version": "1.2.1",
"description": "A Hapi.js plugin that automatically adds version prefixes to all your API routes, making it easy to version your API endpoints.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/cjs/index.js"
}
},
"scripts": {
"lint": "eslint",
"lint:fix": "eslint --fix",
"build": "tsc && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json && sed -i 's/exports.default = plugin;/module.exports = plugin;/' dist/cjs/index.js",
"test": "npm run build && vitest run --coverage",
"test:watch": "vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/johnwatson484/apiv.git"
},
"keywords": [
"apiv",
"hapi",
"hapi.js",
"plugin",
"hapi plugin",
"api",
"versioning"
],
"author": "John Watson",
"license": "MIT",
"type": "module",
"bugs": {
"url": "https://github.com/johnwatson484/apiv/issues"
},
"homepage": "https://github.com/johnwatson484/apiv#readme",
"devDependencies": {
"@hapi/hapi": "21.4.4",
"@types/node": "25.0.3",
"@vitest/coverage-v8": "4.0.16",
"eslint": "9.39.2",
"neostandard": "0.12.2",
"typescript": "5.9.3",
"vitest": "4.0.16"
},
"dependencies": {
"@hapi/hoek": "11.0.7",
"joi": "18.0.2"
}
}