Files

105 lines
2.7 KiB
JSON
Raw Permalink Normal View History

2023-11-17 20:04:42 +00:00
{
"name": "typescript-action",
"description": "GitHub Actions TypeScript template",
"version": "0.0.0",
"author": "",
"private": true,
"homepage": "https://github.com/actions/typescript-action",
"repository": {
"type": "git",
"url": "git+https://github.com/actions/typescript-action.git"
},
"bugs": {
"url": "https://github.com/actions/typescript-action/issues"
},
"keywords": [
"actions",
"node",
"setup"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "jest",
"coverage": "make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
2024-09-03 17:22:12 +02:00
"package": "rm -rf dist && ncc build src/index.ts --license licenses.txt",
2023-11-17 20:04:42 +00:00
"package:watch": "npm run package -- --watch",
"test": "jest",
"start": "node dist/index.js",
2023-11-17 20:04:42 +00:00
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
},
"license": "MIT",
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"dependencies": {
2024-08-21 11:11:46 +01:00
"@actions/attest": "^1.4.0",
2023-11-17 20:04:42 +00:00
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@sigstore/oci": "^0.3.7",
2023-11-17 21:31:12 +00:00
"@types/fs-extra": "^11.0.4",
2024-08-10 15:10:06 +01:00
"archiver": "^7.0.1",
2024-01-30 23:06:41 +00:00
"fs-extra": "^11.2.0",
"simple-git": "^3.22.0",
"tar": "^7.4.3"
2023-11-17 20:04:42 +00:00
},
"devDependencies": {
2023-11-22 22:50:34 +00:00
"@types/archiver": "^6.0.2",
2023-11-17 21:31:12 +00:00
"@types/axios": "^0.14.0",
2024-08-05 22:25:35 +00:00
"@types/jest": "^29.5.12",
2024-01-25 08:34:02 -08:00
"@types/minimist": "^1.2.5",
2024-07-31 17:02:46 +00:00
"@types/node": "^22.0.0",
2024-08-10 15:10:06 +01:00
"@types/tar": "^6.1.13",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
2023-11-17 20:04:42 +00:00
"@vercel/ncc": "^0.38.1",
2024-07-31 16:12:09 +00:00
"eslint": "^8.57.0",
2023-11-17 20:04:42 +00:00
"eslint-plugin-github": "^4.10.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-jsonc": "^2.13.0",
"eslint-plugin-prettier": "^5.2.1",
2023-11-17 20:04:42 +00:00
"jest": "^29.7.0",
"js-yaml": "^4.1.0",
"make-coverage-badge": "^1.2.0",
2024-07-31 22:23:15 +00:00
"prettier": "^3.3.3",
2024-01-30 15:43:23 +00:00
"prettier-eslint": "^16.3.0",
2024-07-31 17:09:35 +00:00
"ts-jest": "^29.2.3",
2024-08-10 15:10:06 +01:00
"typescript": "^5.5.4"
2023-11-17 20:04:42 +00:00
}
}