mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00

Use action input `androidVersionCode` when provided. Generate the androidVersionCode from the version otherwise.
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"name": "unity-builder",
|
|
"version": "0.5.0",
|
|
"description": "Build Unity projects for different platforms.",
|
|
"main": "action/index.js",
|
|
"repository": "git@github.com:webbertakken/unity-builder.git",
|
|
"author": "Webber <webber@takken.io>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prebuild": "yarn",
|
|
"build": "ncc build src --out action --minify",
|
|
"lint": "prettier --check \"src/**/*.js\" && eslint src",
|
|
"format": "prettier --write \"src/**/*.js\"",
|
|
"test": "jest"
|
|
},
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.4",
|
|
"@actions/exec": "1.0.4",
|
|
"@actions/github": "^2.1.1",
|
|
"semver": "^7.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.8.4",
|
|
"@babel/core": "7.9.6",
|
|
"@babel/preset-env": "7.9.6",
|
|
"@zeit/ncc": "0.22.1",
|
|
"babel-eslint": "10.1.0",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-airbnb": "18.1.0",
|
|
"eslint-config-prettier": "6.11.0",
|
|
"eslint-plugin-flowtype": "4.7.0",
|
|
"eslint-plugin-import": "2.20.2",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-prettier": "3.1.3",
|
|
"eslint-plugin-react": "7.19.0",
|
|
"eslint-plugin-unicorn": "19.0.1",
|
|
"husky": "4.2.5",
|
|
"jest": "25.5.3",
|
|
"lint-staged": "10.2.2",
|
|
"lodash-es": "4.17.15",
|
|
"prettier": "2.0.5"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged && yarn build && git add action/index.js"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx}": [
|
|
"prettier --write",
|
|
"eslint",
|
|
"git add",
|
|
"jest --findRelatedTests"
|
|
],
|
|
"*.{json,md,yaml,yml}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|