Files
typescript-action/package.json
T

92 lines
2.4 KiB
JSON
Raw Normal View History

2019-07-22 14:15:40 -04:00
{
2019-09-21 08:56:30 -04:00
"name": "typescript-action",
2023-08-23 13:37:14 -04:00
"description": "GitHub Actions TypeScript template",
2019-07-22 14:15:40 -04:00
"version": "0.0.0",
2023-08-23 13:37:14 -04:00
"author": "",
2019-07-22 14:15:40 -04:00
"private": true,
2023-08-23 13:37:14 -04:00
"homepage": "https://github.com/actions/typescript-action",
2019-07-22 14:15:40 -04:00
"repository": {
"type": "git",
2019-09-25 14:16:01 -05:00
"url": "git+https://github.com/actions/typescript-action.git"
2019-07-22 14:15:40 -04:00
},
2023-08-23 13:37:14 -04:00
"bugs": {
"url": "https://github.com/actions/typescript-action/issues"
},
2019-07-22 14:15:40 -04:00
"keywords": [
"actions",
"node",
"setup"
],
2023-08-30 09:13:41 -04:00
"exports": {
".": "./dist/index.js"
},
2023-08-24 14:55:31 -04:00
"engines": {
"node": "20.x"
2023-08-24 14:55:31 -04:00
},
2023-08-23 13:37:14 -04:00
"scripts": {
"bundle": "npm run format:write && npm run package",
2024-02-22 11:43:12 -05:00
"ci-test": "npx jest",
"coverage": "npx make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
2023-08-24 10:42:51 -04:00
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
2024-09-06 10:09:11 -04:00
"local-action": "npx local-action . src/main.ts .env",
2024-02-22 11:43:12 -05:00
"package": "npx ncc build src/index.ts -o dist --source-map --license licenses.txt",
"package:watch": "npm run package -- --watch",
2024-02-22 11:43:12 -05:00
"test": "npx jest",
2023-10-23 09:35:12 -04:00
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
2023-08-23 13:37:14 -04:00
},
2019-07-22 14:15:40 -04:00
"license": "MIT",
2023-08-23 13:37:14 -04:00
"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/**"
]
},
2019-07-22 14:15:40 -04:00
"dependencies": {
2024-10-21 15:54:35 +00:00
"@actions/core": "^1.11.1"
2019-07-22 14:15:40 -04:00
},
"devDependencies": {
"@github/local-action": "^2.2.1",
2024-03-28 19:29:10 +00:00
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.10",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"@vercel/ncc": "^0.38.3",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jsonc": "^2.18.2",
"eslint-plugin-prettier": "^5.2.1",
2023-09-13 03:46:06 +00:00
"jest": "^29.7.0",
2023-08-23 13:37:14 -04:00
"make-coverage-badge": "^1.2.0",
"prettier": "^3.4.2",
"prettier-eslint": "^16.3.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
2019-07-22 14:15:40 -04:00
}
}