hashi-vault-js
Version:
A node.js module to interact with the Hashicorp Vault API.
111 lines (110 loc) • 3.77 kB
JSON
{
"name": "hashi-vault-js",
"version": "0.5.0",
"description": "A node.js module to interact with the Hashicorp Vault API.",
"exports": "./src/Vault.js",
"type": "module",
"types": "dist/Vault.d.ts",
"scripts": {
"compile": "npx tsc",
"test": "bash -c 'source tests/process.env && jest tests/*.test.js'",
"test:approle": "bash -c 'source tests/process.env && jest tests/AppRole.test.js'",
"test-ts:approle": "bash -c 'source tests/process.env && jest tests/AppRole.test.ts'",
"test:kv": "bash -c 'source tests/process.env && jest tests/KV.test.js'",
"test:ldap": "bash -c 'source tests/process.env && jest tests/LDAP.test.js'",
"test:sys-seal": "bash -c 'source tests/process.env && jest tests/Seal.test.js'",
"test:sys-api": "bash -c 'source tests/process.env && jest tests/SysApi.test.js'",
"test:token": "bash -c 'source tests/process.env && jest tests/Token.test.js'",
"test:userpass": "bash -c 'source tests/process.env && jest tests/Userpass.test.js'",
"test:pki-gen": "bash -c 'source tests/process.env && jest tests/PKI-gen.test.js'",
"test:pki-ca": "bash -c 'source tests/process.env && jest tests/PKI-ca.test.js'",
"test:pki-roles": "bash -c 'source tests/process.env && jest tests/PKI-roles.test.js'",
"test:k8s": "bash -c 'source tests/process.env && jest tests/K8s.test.js'",
"test:ad-config": "bash -c 'source tests/process.env && jest tests/AD-config.test.js'",
"test:ad-roles": "bash -c 'source tests/process.env && jest tests/AD-roles.test.js'",
"test:ad-libraries": "bash -c 'source tests/process.env && jest tests/AD-libraries.test.js'",
"test:totp": "bash -c 'source tests/process.env && jest tests/TOTP.test.js'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kyndryl-open-source/hashi-vault-js"
},
"keywords": [
"kyndryl",
"hashicorp",
"nodejs",
"promises",
"api",
"async",
"vault"
],
"author": "Rod Anami <rod.anami@kyndryl.com> (https://github.com/rod4n4m1)",
"contributors": [
"Richard <richie765@> (https://github.com/Richie765)",
"Ordinary IT9 <hkgnobody@> (https://github.com/hkgnobody)",
"Osama Adil <dilosama47@gmail.com> (https://github.com/phr3nzy)",
"Jose <josedev-union@> (https://github.com/josedev-union)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/kyndryl-open-source/hashi-vault-js/issues"
},
"homepage": "https://github.com/kyndryl-open-source/hashi-vault-js#readme",
"engines": {
"node": ">=20"
},
"dependencies": {
"axios": ">=1.8.2"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.14.2",
"jest": "^29.7.0",
"jest-config": "^29.7.0",
"jest-environment-node": "^29.7.0",
"random-words": "^2.0.1",
"ts-jest": "^29.1.4",
"typescript": "^5.4.5"
},
"jest": {
"verbose": true,
"testTimeout": 30000,
"preset": "ts-jest/presets/js-with-ts-esm",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!**/node_modules/**",
"!**/dist/**",
"!**/tests/**"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/tests/"
],
"coverageReporters": [
"text",
"lcov"
],
"coverageDirectory": "coverage",
"testEnvironment": "node",
"testEnvironmentOptions": {
"NODE_ENV": "test"
},
"transform": {
"node_modules/variables/.+\\.(j|t)sx?$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!variables/.*)"
],
"testRegex": "/tests/.*\\.(test|spec)?\\.(js|ts|tsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}