typescript-action/package.json

84 lines
2.2 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-23 17:37:14 +00:00
"main": "dist/index.js",
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "jest",
"format:write": "prettier --write '**/*.ts'",
"format:check": "prettier --check '**/*.ts'",
2023-08-23 17:57:44 +00:00
"lint": "eslint -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.ts --license licenses.txt",
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": {
2022-10-06 11:22:32 +00:00
"@actions/core": "^1.10.0"
2019-07-22 18:15:40 +00:00
},
"devDependencies": {
2023-08-23 17:37:14 +00:00
"@types/jest": "^29.5.4",
"@types/node": "^20.5.4",
2023-08-23 17:37:14 +00:00
"@typescript-eslint/parser": "^6.4.1",
2023-08-24 04:18:55 +00:00
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@vercel/ncc": "^0.36.1",
2023-08-23 17:37:14 +00:00
"eslint": "^8.47.0",
"eslint-plugin-github": "^4.9.2",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.3",
"js-yaml": "^4.1.0",
2023-08-23 17:37:14 +00:00
"make-coverage-badge": "^1.2.0",
"prettier": "^3.0.2",
"prettier-eslint": "^15.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
2019-07-22 18:15:40 +00:00
}
}