-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 5.1 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 5.1 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "nanvc",
"description": "Lightweight TypeScript client for HashiCorp Vault with typed KV v2, AppRole, response wrapping, and database secrets support.",
"version": "2.1.0",
"author": {
"name": "Ionut Zailic",
"email": "ionut@zailic.com"
},
"contributors": [],
"keywords": [
"vault",
"hashicorp-vault",
"vault-client",
"vault-http-client",
"http-client",
"hashicorp",
"secrets",
"secret-management",
"kv",
"kv-v2",
"vault-kv",
"vault-kv-v2",
"approle",
"vault-approle",
"response-wrapping",
"database-secrets",
"vault-database",
"typescript",
"typescript-vault-client",
"node",
"nodejs",
"esm"
],
"repository": {
"type": "git",
"url": "https://github.com/zailic/nanvc.git"
},
"homepage": "https://zailic.github.io/nanvc",
"bugs": {
"url": "https://github.com/zailic/nanvc/issues"
},
"license": "MIT",
"type": "module",
"files": [
"dist"
],
"main": "dist/main.js",
"types": "dist/main.d.ts",
"exports": {
".": {
"types": "./dist/main.d.ts",
"import": "./dist/main.js"
}
},
"scripts": {
"clean": "rimraf dist coverage .nyc_output",
"docs:prepare": "node ./scripts/generate-docs-changelog.mjs && node ./scripts/generate-docs-config.mjs",
"docs:serve": "npm run docs:prepare && bundle exec jekyll serve --source docs --config docs/_config.yml,docs/_config.local.yml,docs/_config.generated.yml --livereload",
"generate:v2:openapi": "node ./scripts/generate-v2-openapi-types.mjs",
"generate:docs": "node ./scripts/generate-v2-docs.mjs && node ./scripts/generate-examples-docs.mjs",
"typecheck": "tsc -p tsconfig.json",
"build": "npm run clean && tsc -p tsconfig.build.json",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . && npm run format:check",
"lint:fix": "eslint . --fix && npm run format",
"docker:up": "docker compose up -d --build",
"docker:down": "docker compose down --volumes --remove-orphans",
"test:integration:prepare": "sh ./test/util/vault/generate-certs.sh",
"test:integration:reset": "npm run docker:down && npm run docker:up && npm run test:integration:wait",
"test:integration:wait": "npx tsx ./scripts/wait-for-vault.ts",
"test:integration:legacy": "mocha --config .mocharc.json \"test/integration/lib/**/*.ts\"",
"test:integration:v2": "mocha --config .mocharc.json \"test/integration/v2/**/*.ts\"",
"test:integration:all": "npm run test:integration:prepare && npm run test:integration:reset && npm run test:integration:legacy && npm run test:integration:reset && npm run test:integration:v2",
"test:integration": "npm run test:integration:all",
"test": "npm run test:unit",
"test:unit": "mocha --config .mocharc.json \"test/unit/**/*.ts\"",
"test:all": "npm run test:unit && npm run test:integration:all && npm run examples",
"coverage": "npm run coverage:clean && npm run coverage:unit && npm run test:integration:prepare && npm run test:integration:reset && npm run coverage:integration:legacy && npm run test:integration:reset && npm run coverage:integration:v2 && npm run coverage:report",
"coverage:clean": "rimraf coverage .nyc_output",
"coverage:unit": "nyc --silent --clean=false npm run test:unit",
"coverage:integration:legacy": "nyc --silent --clean=false npm run test:integration:legacy",
"coverage:integration:v2": "nyc --silent --clean=false npm run test:integration:v2",
"coverage:report": "nyc report",
"prepack": "npm run build",
"examples": "node ./scripts/run-examples.mjs"
},
"nyc": {
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"test/**/*.ts",
"test/**/*.tsx"
],
"extension": [
".ts",
".tsx"
],
"require": [
"tsx/cjs"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"sourceMap": true,
"instrument": true
},
"engines": {
"node": ">=20"
},
"dependencies": {
"tv4": "1.3.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.0",
"@types/node": "^24.0.0",
"@types/pg": "^8.20.0",
"@types/sinon": "^22.0.0",
"@types/tv4": "^1.2.0",
"eslint": "^10.0.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"mocha": "^12.0.0",
"nyc": "^18.0.0",
"pg": "8.23.0",
"prettier": "3.8.5",
"rimraf": "^6.0.0",
"serialize-javascript": "^7.0.5",
"sinon": "^22.0.0",
"tsx": "^4.21.0",
"typescript": "^6.0.0",
"typescript-eslint": "^8.58.0"
}
}