mirror of
https://github.com/appium/appium.git
synced 2026-10-22 08:46:25 +08:00
41eab2c938
`lerna publish` has been acting up, and I think it's because the lifecycle scripts don't do enough cleanup, or we're running them in the wrong order, or something. so here's this. it causes an "extra" rebuild between version and publish, but I think it's better to be safe than sorry here.
165 lines
5.5 KiB
JSON
165 lines
5.5 KiB
JSON
{
|
|
"name": "appium-monorepo",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Automation for Apps.",
|
|
"keywords": [
|
|
"automation",
|
|
"javascript",
|
|
"selenium",
|
|
"webdriver",
|
|
"ios",
|
|
"android",
|
|
"firefoxos",
|
|
"testing"
|
|
],
|
|
"homepage": "https://appium.io",
|
|
"bugs": {
|
|
"url": "https://github.com/appium/appium/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/appium/appium.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"author": "https://github.com/appium",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "run-s build:*",
|
|
"build:compile": "tsc -b",
|
|
"build:workspaces": "lerna run build",
|
|
"ci": "npm ci",
|
|
"clean": "run-s clean:distfiles clean:workspaces",
|
|
"clean:dangerously": "run-s clean:workspaces clean:force",
|
|
"clean:deps": "lerna clean --yes",
|
|
"clean:distfiles": "npx rimraf \"./packages/*/build\" \"./packages/*/**/.tsconfig.tsbuildinfo\"; npx nx reset",
|
|
"clean:interactive": "git clean -d -x -i",
|
|
"clean:force": "git clean -d -x -f",
|
|
"clean:workspaces": "lerna run clean || true",
|
|
"dev": "run-s build:compile \"build:workspaces\" \"build:compile -- --watch\"",
|
|
"dev:docs": "npm run -w packages/appium dev:docs",
|
|
"docs": "npm run -w packages/appium build:docs",
|
|
"docs:preview": "npm run -w packages/appium build:docs:preview",
|
|
"doctor": "node ./packages/doctor",
|
|
"generate-docs": "npm run --workspace=packages/appium generate-docs",
|
|
"husky-install": "husky install",
|
|
"lint": "eslint .",
|
|
"lint:ci": "eslint --quiet .",
|
|
"lint:commit": "commitlint",
|
|
"lint:fix": "run-s \"lint -- --fix\"",
|
|
"lint:staged": "lint-staged",
|
|
"prepare": "run-p husky-install rebuild",
|
|
"prepublishOnly": "run-s rebuild",
|
|
"preversion": "run-s rebuild",
|
|
"version": "run-s sync-pkgs stage-synced-pkgs",
|
|
"rebuild": "run-s clean build",
|
|
"reinstall": "run-s clean clean:deps ci",
|
|
"reinstall:angry": "npm run clean:dangerously && npm ci",
|
|
"stage-synced-pkgs": "git add -A packages/appium/README.md \"packages/*/package.json\"",
|
|
"start": "appium",
|
|
"sync-pkgs": "run-p sync-pkgs:*",
|
|
"sync-pkgs:appium-readme": "sync-monorepo-packages --force --no-package-json --packages=packages/appium README.md",
|
|
"sync-pkgs:common-fields": "sync-monorepo-packages --fields=author,license,bugs,homepage,engines",
|
|
"sync-pkgs:keywords": "sync-monorepo-packages --field=keywords --packages=\"packages/*\" --packages=\"!packages/eslint-config-appium\" --packages=\"!packages/types\" --packages=\"!packages/typedoc-plugin-appium\" --packages=\"!packages/eslint-config-appium-ts\" ",
|
|
"sync-pkgs:license": "sync-monorepo-packages --force --no-package-json LICENSE",
|
|
"test": "run-s test:quick",
|
|
"test:ci": "run-s test:smoke test:unit test:types test:e2e",
|
|
"test:e2e": "lerna run --concurrency=2 test:e2e",
|
|
"test:quick": "run-s lint test:unit test:types",
|
|
"test:slow": "run-s test:quick test:smoke test:e2e",
|
|
"test:smoke": "smoker --all test:smoke",
|
|
"test:types": "lerna run test:types",
|
|
"test:unit": "lerna run test",
|
|
"typedoc": "typedoc --logLevel Verbose",
|
|
"upload": "gulp github-upload",
|
|
"zip": "zip -qr ./appium.zip ./packages/appium",
|
|
"zip-and-upload": "run-s zip upload"
|
|
},
|
|
"prettier": {
|
|
"bracketSpacing": false,
|
|
"printWidth": 100,
|
|
"singleQuote": true
|
|
},
|
|
"devDependencies": {
|
|
"@colors/colors": "1.5.0",
|
|
"@commitlint/cli": "17.5.1",
|
|
"@commitlint/config-conventional": "17.4.4",
|
|
"@tsconfig/node14": "1.0.3",
|
|
"@types/chai": "4.3.4",
|
|
"@types/chai-as-promised": "7.1.5",
|
|
"@types/diff": "5.0.3",
|
|
"@types/mocha": "10.0.1",
|
|
"@types/node": "18.15.11",
|
|
"@types/semver": "7.3.13",
|
|
"@types/sinon": "10.0.13",
|
|
"@types/sinon-chai": "3.2.9",
|
|
"@types/teen_process": "2.0.0",
|
|
"@types/ws": "8.5.4",
|
|
"@types/yargs": "17.0.24",
|
|
"@typescript-eslint/eslint-plugin": "5.57.0",
|
|
"@typescript-eslint/parser": "5.57.0",
|
|
"asyncbox": "2.9.4",
|
|
"chai": "4.3.7",
|
|
"chai-as-promised": "7.1.1",
|
|
"chai-webdriverio-async": "2.7.0",
|
|
"cpy-cli": "4.2.0",
|
|
"eslint": "8.37.0",
|
|
"eslint-config-prettier": "8.8.0",
|
|
"eslint-find-rules": "4.1.0",
|
|
"eslint-import-resolver-typescript": "3.5.4",
|
|
"eslint-plugin-import": "2.27.5",
|
|
"eslint-plugin-mocha": "10.1.0",
|
|
"eslint-plugin-promise": "6.1.1",
|
|
"fancy-log": "2.0.0",
|
|
"finalhandler": "1.2.0",
|
|
"get-port": "5.1.1",
|
|
"handlebars": "4.7.7",
|
|
"husky": "8.0.3",
|
|
"json-schema-to-typescript": "12.0.0",
|
|
"lerna": "6.6.1",
|
|
"lint-staged": "13.2.0",
|
|
"log-symbols": "4.1.0",
|
|
"midnight-smoker": "2.0.1",
|
|
"mjpeg-consumer": "2.0.0",
|
|
"mjpeg-server": "0.3.1",
|
|
"mocha": "10.2.0",
|
|
"npm-run-all": "4.1.5",
|
|
"prettier": "2.8.7",
|
|
"rewiremock": "3.14.5",
|
|
"rimraf": "3.0.2",
|
|
"serve-static": "1.15.0",
|
|
"sinon": "15.0.3",
|
|
"sinon-chai": "3.7.0",
|
|
"sync-monorepo-packages": "1.0.2",
|
|
"through2": "4.0.2",
|
|
"ts-node": "10.9.1",
|
|
"tsd": "0.28.1",
|
|
"typedoc": "0.23.28",
|
|
"typedoc-plugin-markdown": "3.14.0",
|
|
"typedoc-plugin-resolve-crossmodule-references": "0.3.3",
|
|
"typescript": "4.9.5",
|
|
"validate.js": "0.13.1",
|
|
"webdriverio": "7.30.2",
|
|
"ws": "8.13.0",
|
|
"yaml-js": "0.3.1"
|
|
},
|
|
"engines": {
|
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
|
|
"npm": ">=8"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"overrides": {
|
|
"@sidvind/better-ajv-errors": {
|
|
"ajv": "8.12.0"
|
|
},
|
|
"ajv-formats": {
|
|
"ajv": "8.12.0"
|
|
},
|
|
"http-cache-semantics": "4.1.1"
|
|
}
|
|
}
|