mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"name": "unity-builder",
|
|
"version": "2.0.0",
|
|
"description": "Build Unity projects for different platforms.",
|
|
"main": "dist/index.js",
|
|
"repository": "git@github.com:game-ci/unity-builder.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"
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"@actions/exec": "^1.0.4",
|
|
"@actions/github": "^2.2.0",
|
|
"base-64": "^1.0.0",
|
|
"kubernetes-client": "^9.0.0",
|
|
"semver": "^7.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.15",
|
|
"@types/node": "^14.14.9",
|
|
"@types/semver": "^7.3.4",
|
|
"@typescript-eslint/parser": "^4.8.1",
|
|
"@vercel/ncc": "^0.25.1",
|
|
"eslint": "^7.17.0",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-github": "^4.1.1",
|
|
"eslint-plugin-jest": "^24.1.3",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-unicorn": "^28.0.2",
|
|
"husky": "4.2.5",
|
|
"jest": "^26.6.3",
|
|
"jest-circus": "^26.6.3",
|
|
"js-yaml": "^3.14.0",
|
|
"lint-staged": "^10.5.4",
|
|
"prettier": "^2.2.1",
|
|
"ts-jest": "^26.4.4",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged && yarn build && git add dist/index.*"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint",
|
|
"git add",
|
|
"jest --findRelatedTests"
|
|
],
|
|
"*.{json,md,yaml,yml}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.sh": [
|
|
"git update-index --chmod=+x"
|
|
]
|
|
}
|
|
}
|