5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-07 07:06:56 +00:00
vault-action/package.json
John-Michael Faircloth 77efb36ae3
update got dependency and convert to esm module (#533)
* update require got to import got

* convert remaining to esm

* wip: replace jest with vitest

* fix test imports and vitest config

* remove dist package.json

* fix import in ent test

* add dist

* move actions/core to prod dependency

* remove unused import that was breaking esm compilation

* simplify imports

* use module.createRequire to import jsonata

* add doc link comment

* add comments on import insanity

* add more comments

* update PR tempalte

* bump got and remove jest deps

* revert debug npm run command

* fix fs import

* simplify vitest config for each test suite
2024-03-19 10:42:34 -05:00

49 lines
1.5 KiB
JSON

{
"name": "vault-action",
"version": "0.1.0",
"description": "A Github Action that allows you to consume vault secrets as secure environment variables.",
"type": "module",
"main": "dist/index.js",
"scripts": {
"build": "ncc build src/entry.js -o dist",
"test": "vitest run",
"test:integration:basic": "vitest run -c integrationTests/basic/vitest.config.js",
"test:integration:enterprise": "vitest run -c integrationTests/enterprise/vitest.config.js",
"test:integration:e2e": "vitest run -c integrationTests/e2e/vitest.config.js",
"test:integration:e2e-tls": "vitest run -c integrationTests/e2e-tls/vitest.config.js"
},
"files": [
"src/**/*",
"dist/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hashicorp/vault-action.git"
},
"keywords": [
"hashicorp",
"vault",
"github",
"actions",
"github-actions",
"javascript"
],
"author": "HashiCorp",
"license": "MIT",
"bugs": {
"url": "https://github.com/hashicorp/vault-action/issues"
},
"homepage": "https://github.com/hashicorp/vault-action#readme",
"dependencies": {
"@actions/core": "^1.10.1",
"got": "^14.2.1",
"jsonata": "^2.0.3",
"jsrsasign": "^11.0.0"
},
"devDependencies": {
"@vercel/ncc": "^0.38.1",
"jest-when": "^3.6.0",
"mock-http-server": "^1.4.5",
"vitest": "^1.3.1"
}
}