semantic-version/package.json
Paul Hatcherian 31f4e3fdf0 Rewrite/refactor for v5, migrate to TypeScript (MAJOR)
Set Jest config file in package script

Include module path

Include tests in project folders

Remove index module exports

Hardcode configuration parameters

Move parameter binding into main run function

Use alias imports

Run test sequentially

Remove cleanup (async conflict)

Revert Jest option

Increase test timeout to 15 seconds
2022-04-03 20:28:28 -04:00

47 lines
1.3 KiB
JSON

{
"name": "semantic-version",
"version": "0.0.0",
"description": "Semantic Version GitHub Action",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"package": "ncc build --source-map --license licenses.txt",
"test": "jest --config ./jest.config.js",
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/paulhatch/semantic-version.git"
},
"keywords": [
"GitHub",
"Actions",
"JavaScript"
],
"author": "Paul Hatcherian",
"license": "MIT",
"bugs": {
"url": "https://github.com/paulhatch/semantic-version/issues"
},
"homepage": "https://github.com/paulhatch/semantic-version#readme",
"dependencies": {
"@actions/core": "^1.6.0",
"@actions/exec": "^1.1.1"
},
"devDependencies": {
"@types/node": "^17.0.23",
"@typescript-eslint/parser": "^5.17.0",
"@vercel/ncc": "^0.33.3",
"eslint": "^8.12.0",
"eslint-plugin-github": "^4.3.6",
"eslint-plugin-jest": "^26.1.3",
"jest": "^27.5.1",
"js-yaml": "^4.1.0",
"prettier": "^2.6.1",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
}
}