2019-12-16 23:52:44 +00:00
|
|
|
{
|
|
|
|
"name": "unity-builder",
|
2021-03-13 23:44:01 +00:00
|
|
|
"version": "2.0.0",
|
2019-12-16 23:52:44 +00:00
|
|
|
"description": "Build Unity projects for different platforms.",
|
2021-03-13 23:44:01 +00:00
|
|
|
"main": "dist/index.js",
|
2021-03-14 00:19:30 +00:00
|
|
|
"repository": "git@github.com:game-ci/unity-builder.git",
|
2019-12-16 23:52:44 +00:00
|
|
|
"author": "Webber <webber@takken.io>",
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
2020-03-09 22:37:39 +00:00
|
|
|
"prebuild": "yarn",
|
2021-03-13 23:44:01 +00:00
|
|
|
"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}\"",
|
2019-12-22 14:05:15 +00:00
|
|
|
"test": "jest"
|
2019-12-16 23:52:44 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-10-01 19:30:09 +00:00
|
|
|
"@actions/core": "^1.2.6",
|
2021-03-13 23:44:01 +00:00
|
|
|
"@actions/exec": "^1.0.4",
|
|
|
|
"@actions/github": "^2.2.0",
|
|
|
|
"base-64": "^1.0.0",
|
2020-08-09 19:27:47 +00:00
|
|
|
"kubernetes-client": "^9.0.0",
|
2020-06-24 22:02:05 +00:00
|
|
|
"semver": "^7.3.2"
|
2019-12-16 23:52:44 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-03-13 23:44:01 +00:00
|
|
|
"@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",
|
2020-05-01 14:42:45 +00:00
|
|
|
"husky": "4.2.5",
|
2021-03-13 23:44:01 +00:00
|
|
|
"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"
|
2019-12-16 23:52:44 +00:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2021-03-13 23:44:01 +00:00
|
|
|
"pre-commit": "lint-staged && yarn build && git add dist/index.*"
|
2019-12-16 23:52:44 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2021-03-13 23:44:01 +00:00
|
|
|
"*.{js,jsx,ts,tsx}": [
|
2019-12-16 23:52:44 +00:00
|
|
|
"prettier --write",
|
|
|
|
"eslint",
|
2019-12-17 00:01:41 +00:00
|
|
|
"git add",
|
|
|
|
"jest --findRelatedTests"
|
2019-12-16 23:52:44 +00:00
|
|
|
],
|
2019-12-17 21:48:54 +00:00
|
|
|
"*.{json,md,yaml,yml}": [
|
2019-12-16 23:52:44 +00:00
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
2020-08-22 17:17:02 +00:00
|
|
|
],
|
|
|
|
"*.sh": [
|
|
|
|
"git update-index --chmod=+x"
|
2019-12-16 23:52:44 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|