mirror of
https://github.com/game-ci/unity-activate
synced 2026-01-28 21:59:05 +08:00
* Upgrade to using typescript instead of javascript and use game-ci images instead of gableroux images * Fix errors * Update bash script * Fix test * Remove test * Add versioning * Update husky * Update husky * Update husky * Update package.json * Update husky and image-tag * Use 'yarn lint-staged' instead of 'npx lint-staged' * Update entrypoint.sh
54 lines
1.5 KiB
JSON
54 lines
1.5 KiB
JSON
{
|
|
"name": "unity-activate",
|
|
"version": "2.0.0",
|
|
"description": "Activate Unity using credentials or a license file. Both personal and professional licenses are supported.",
|
|
"main": "dist/index.js",
|
|
"repository": "git@github.com:game-ci/unity-activate.git",
|
|
"author": "Webber <webber@takken.io>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prebuild": "yarn",
|
|
"build": "tsc && ncc build lib --source-map --license licenses.txt",
|
|
"lint": "prettier --check \"src/**/*.{js,ts}\" && eslint src/**/*.ts",
|
|
"format": "prettier --write \"src/**/*.{js,ts}\"",
|
|
"test": "jest",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"@actions/exec": "^1.0.4",
|
|
"@actions/github": "^2.2.0",
|
|
"@octokit/core": "^3.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.4.0",
|
|
"@types/node": "^17.0.8",
|
|
"@typescript-eslint/parser": "^5.9.0",
|
|
"@vercel/ncc": "^0.33.1",
|
|
"eslint": "^8.6.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-github": "^4.3.5",
|
|
"eslint-plugin-jest": "^25.3.4",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-unicorn": "^40.0.0",
|
|
"husky": "^7.0.4",
|
|
"jest": "^26.6.3",
|
|
"jest-circus": "^26.6.3",
|
|
"js-yaml": "^3.14.0",
|
|
"lint-staged": "^12.1.2",
|
|
"prettier": "^2.2.1",
|
|
"ts-jest": "^26.4.4",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint",
|
|
"jest --findRelatedTests"
|
|
],
|
|
"*.{json,md,yaml,yml}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|