57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "unity-test-runner",
|
|
"version": "2.0.0",
|
|
"description": "Run tests for any Unity project.",
|
|
"main": "dist/index.js",
|
|
"repository": "git@github.com:game-ci/unity-test-runner.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": "^4.0.0",
|
|
"@octokit/openapi-types": "^11.2.0",
|
|
"handlebars": "^4.7.7",
|
|
"xml-js": "^1.6.11"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^26.0.15",
|
|
"@types/node": "^14.14.9",
|
|
"@types/semver": "^7.3.5",
|
|
"@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.5"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint",
|
|
"jest --findRelatedTests"
|
|
],
|
|
"*.{json,md,yaml,yml}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|