Files
typescript-action/package.json
T

90 lines
2.3 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": {
2023-09-11 13:23:32 -04:00
"node": ">=20"
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",
"ci-test": "jest",
2023-09-11 13:08:11 -04:00
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
2023-08-24 10:42:51 -04: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 13:37:14 -04: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 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": {
2023-09-12 03:49:55 +00:00
"@actions/core": "^1.10.1"
2019-07-22 14:15:40 -04:00
},
"devDependencies": {
2023-09-18 14:19:41 +00:00
"@types/jest": "^29.5.5",
2023-09-18 03:15:12 +00:00
"@types/node": "^20.6.2",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.2",
2023-09-07 03:28:41 +00:00
"@vercel/ncc": "^0.38.0",
2023-09-11 14:07:00 +00:00
"eslint": "^8.49.0",
"eslint-plugin-github": "^4.10.0",
"eslint-plugin-jest": "^27.4.0",
2023-08-23 13:37:14 -04:00
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-prettier": "^5.0.0",
2023-09-13 03:46:06 +00:00
"jest": "^29.7.0",
2021-07-19 11:18:32 -04:00
"js-yaml": "^4.1.0",
2023-08-23 13:37:14 -04:00
"make-coverage-badge": "^1.2.0",
2023-08-30 13:25:19 +00:00
"prettier": "^3.0.3",
2023-08-23 13:37:14 -04:00
"prettier-eslint": "^15.0.1",
"ts-jest": "^29.1.1",
2023-08-24 19:02:25 +00:00
"typescript": "^5.2.2"
2019-07-22 14:15:40 -04:00
}
}