webdriverio/package.json
2022-07-19 11:19:57 +00:00

107 lines
4.7 KiB
JSON

{
"name": "webdriverio-monorepo",
"private": true,
"scripts": {
"create": "node ./scripts/generateSubPackage",
"backport": "node ./scripts/backport.js",
"bootstrap-full": "npm run clean && lerna bootstrap --no-ci && npm run link",
"bootstrap": "run-p clean:* && lerna bootstrap --force-local && npm run link",
"build": "run-s clean:build generate:typings compile copy",
"changelog": "node ./scripts/changelog.js",
"ci": "run-s setup-full test test:e2e",
"clean": "run-p clean-full:* clean:*",
"clean:build": "rimraf ./packages/*/build",
"clean:pkglock": "rimraf ./packages/*/package-lock.json",
"clean:tgz": "rimraf ./packages/*/*.tgz",
"clean:node_modules": "rimraf ./packages/node_modules",
"clean:website": "rimraf website/docs/_*.md website/docs/api/_*.md website/docs/api/**/_*.md website/sidebars.json",
"clean:tests": "rimraf tests/typings/**/node_modules tests/typings/**/dist ./coverage",
"clean:cache": "rimraf .eslintcache",
"clean-full:package_modules": "rimraf ./packages/*/node_modules",
"compile": "node ./scripts/build.mjs",
"copy": "lerna run --parallel copy",
"generate:typings": "node ./scripts/type-generation/generate-all-typings.js",
"link": "node ./scripts/link",
"pushReleaseTag": "node ./scripts/pushTags.js",
"setup-full": "run-s bootstrap-full build",
"setup": "run-s bootstrap build",
"docs": "run-s docs:*",
"docs:setup": "cd ./website && npm install && cd ..",
"docs:generate": "npm run clean:website && node ./scripts/docs-generation/generateDocs.js",
"docs:build": "cd ./website && npm run build && cd ..",
"docs:deploy": "node ./scripts/updateDocs.js",
"test": "run-s test:depcheck test:eslint test:typings test:coverage test:smoke",
"test:depcheck": "node ./scripts/depcheck.js",
"test:eslint": "eslint --cache packages examples scripts tests",
"test:typings": "run-s test:typings:*",
"test:typings:setup": "node tests/typings/setup && npm i --no-save tsd",
"test:typings:test": "npm run ts && npm run clean:tests && node tests/typings/setup --ts=3.9 && npm run ts && npm run clean:tests",
"test:typings:recover": "rimraf ./node_modules/.bin/tsc && ln -s ../typescript/bin/tsc node_modules/.bin && npx rimraf @tsd/typescript",
"test:coverage": "vitest",
"test:smoke": "ts-node ./tests/smoke.runner.js",
"test:e2e": "jest --config e2e/jest.config.js",
"test:e2e:edge": "npm run test:e2e -- --testMatch **/edge.e2e.js",
"test:e2e:firefox": "npm run test:e2e -- --testMatch <rootDir>/standalone/firefox.e2e.js",
"test:e2e:cloud": "./packages/wdio-cli/bin/wdio.js ./e2e/wdio/wdio.sauce.conf.js",
"ts": "run-p ts:*",
"ts:webdriver": "cd tests/typings/webdriver && npx tsc",
"ts:devtools": "cd tests/typings/devtools && npx tsc",
"ts:webdriverio": "cd tests/typings/webdriverio && npx tsc",
"ts:mocha": "cd tests/typings/mocha && npx tsc",
"ts:jasmine": "cd tests/typings/jasmine && npx tsc",
"ts:cucumber": "cd tests/typings/cucumber && npx tsc",
"ts:sync": "cd tests/typings/sync && npx tsc",
"watch": "node ./scripts/build.mjs --watch",
"watch:docs": "npm run docs:generate && cd website && npm i && npm start",
"version": "npm run changelog && git add CHANGELOG.md",
"postinstall": "run-s postinstall:*",
"postinstall:husky": "husky install",
"postinstall:vulnerabilities": "node ./.husky/postinstall.js"
},
"devDependencies": {
"@cucumber/cucumber": "^8.2.1",
"@octokit/rest": "^19.0.3",
"@tsconfig/node16": "^1.0.2",
"@types/archiver": "^5.3.1",
"@types/cheerio": "^0.22.31",
"@types/eslint": "^8.4.2",
"@types/fs-extra": "^9.0.13",
"@types/lodash.clonedeep": "^4.5.7",
"@types/lodash.isobject": "^3.0.7",
"@types/lodash.isplainobject": "^4.0.7",
"@types/lodash.merge": "^4.6.7",
"@types/lodash.zip": "^4.2.7",
"@types/node": "^18.0.0",
"@types/split2": "^3.2.1",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"@typescript-eslint/utils": "^5.26.0",
"aws-sdk": "^2.1142.0",
"c8": "^7.11.3",
"camelcase": "^6.3.0",
"cheerio": "^1.0.0-rc.11",
"copyfiles": "^2.4.1",
"del": "^6.1.1",
"depcheck": "^1.4.3",
"ejs": "^3.1.8",
"eslint": "^8.16.0",
"eslint-plugin-unicorn": "^42.0.0",
"husky": "^8.0.1",
"inquirer": "^8.2.4",
"lerna": "^5.0.0",
"lerna-changelog": "^2.2.0",
"markdox": "^0.1.10",
"mime-types": "^2.1.35",
"npm-run-all": "^4.1.5",
"recursive-readdir": "^2.2.2",
"request": "^2.88.2",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"tempy": "^3.0.0",
"ts-node": "^10.8.0",
"typescript": "^4.7.2",
"url-join": "^5.0.0",
"vitest": "^0.12.9"
}
}