typescript-action/package.json

90 lines
2.3 KiB
JSON
Raw Normal View History

2019-07-22 18:15:40 +00:00
{
2019-09-21 12:56:30 +00:00
"name": "typescript-action",
2023-08-23 17:37:14 +00:00
"description": "GitHub Actions TypeScript template",
2019-07-22 18:15:40 +00:00
"version": "0.0.0",
2023-08-23 17:37:14 +00:00
"author": "",
2019-07-22 18:15:40 +00:00
"private": true,
2023-08-23 17:37:14 +00:00
"homepage": "https://github.com/actions/typescript-action",
2019-07-22 18:15:40 +00:00
"repository": {
"type": "git",
"url": "git+https://github.com/actions/typescript-action.git"
2019-07-22 18:15:40 +00:00
},
2023-08-23 17:37:14 +00:00
"bugs": {
"url": "https://github.com/actions/typescript-action/issues"
},
2019-07-22 18:15:40 +00:00
"keywords": [
"actions",
"node",
"setup"
],
2023-08-30 13:13:41 +00:00
"exports": {
".": "./dist/index.js"
},
2023-08-24 18:55:31 +00:00
"engines": {
2023-09-11 17:23:32 +00:00
"node": ">=20"
2023-08-24 18:55:31 +00:00
},
2023-08-23 17:37:14 +00:00
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "jest",
2023-09-11 17:08:11 +00:00
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
2023-08-24 14:42:51 +00:00
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.ts --license licenses.txt",
"package:watch": "npm run package -- --watch",
2023-08-23 17:37:14 +00:00
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"all": "npm run format:write && npm run lint && npm run test && npm run package"
},
2019-07-22 18:15:40 +00:00
"license": "MIT",
2023-08-23 17:37:14 +00: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 18:15:40 +00:00
"dependencies": {
"@actions/core": "^1.10.1"
2019-07-22 18:15:40 +00:00
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^20.8.6",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vercel/ncc": "^0.38.0",
"eslint": "^8.51.0",
"eslint-plugin-github": "^4.10.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-jsonc": "^2.10.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"js-yaml": "^4.1.0",
2023-08-23 17:37:14 +00:00
"make-coverage-badge": "^1.2.0",
"prettier": "^3.0.3",
"prettier-eslint": "^16.1.1",
2023-08-23 17:37:14 +00:00
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
2019-07-22 18:15:40 +00:00
}
}