This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
151 lines (151 loc) · 6.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"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-full": "lerna run --parallel build",
"build": "npm run clean:build && lerna run --parallel compile && lerna run --parallel copy",
"changelog": "node ./scripts/changelog.js",
"ci": "lerna bootstrap --no-ci && run-s build-full test:eslint test:typings test:coverage test:smoke",
"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 docs/_*.md docs/api/_*.md docs/api/**/_*.md website/sidebars.json",
"clean:tests": "rimraf tests/typings/**/node_modules && rimraf tests/typings/**/dist",
"clean:cache": "rimraf .eslintcache",
"clean-full:package_modules": "rimraf ./packages/*/node_modules",
"generate:typings": "node ./scripts/type-generation/generate-all-typings.js",
"link": "node ./scripts/link",
"release": "NODE_ENV=production npm run setup-full && npm run generate:typings && lerna publish --exact",
"release:next": "npm run release -- --dist-tag next",
"setup-full": "run-s bootstrap-full build-full",
"setup": "run-s bootstrap build",
"docs": "run-s docs:*",
"docs:setup": "cd ./website && npm install && cd ..",
"docs:generate": "npm run clean:website && ./scripts/docs-generation/generateDocs.js",
"docs:build": "cd ./website && npm run build && cd ..",
"docs:deploy": "./scripts/updateDocs.js",
"test": "run-s test:eslint test:typings test:coverage test:smoke",
"test:eslint": "eslint --cache packages examples scripts tests",
"test:typings": "npm run generate:typings && node tests/typings/copy && npm run ts && npm run clean:tests",
"test:coverage": "jest --coverage",
"test:smoke": "babel-node ./tests/smoke.runner.js",
"test:e2e": "jest --config e2e/jest.config.js",
"ts": "run-p ts:*",
"ts:sync": "cd tests/typings/sync && tsc --incremental",
"ts:devtools": "cd tests/typings/devtools && tsc --incremental",
"ts:sync-applitools": "cd tests/typings/sync-applitools && tsc --incremental",
"ts:sync-browserstack": "cd tests/typings/sync-browserstack && tsc --incremental",
"ts:sync-saucelabs": "cd tests/typings/sync-saucelabs && tsc --incremental",
"ts:sync-mocha": "cd tests/typings/sync-mocha && tsc --incremental",
"ts:sync-jasmine": "cd tests/typings/sync-jasmine && tsc --incremental",
"ts:sync-cucumber": "cd tests/typings/sync-cucumber && tsc --incremental",
"ts:webdriverio": "cd tests/typings/webdriverio && tsc --incremental",
"ts:webdriverio-applitools": "cd tests/typings/webdriverio-applitools && tsc --incremental",
"ts:webdriverio-browserstack": "cd tests/typings/webdriverio-browserstack && tsc --incremental",
"ts:webdriverio-saucelabs": "cd tests/typings/webdriverio-saucelabs && tsc --incremental",
"ts:webdriverio-devtools": "cd tests/typings/sync-devtools && tsc --incremental",
"ts:webdriverio-mocha": "cd tests/typings/webdriverio-mocha && tsc --incremental",
"ts:webdriverio-jasmine": "cd tests/typings/webdriverio-jasmine && tsc --incremental",
"ts:webdriverio-reporter": "cd tests/typings/webdriverio-reporter && tsc --incremental",
"watch": "node ./scripts/watch",
"watch:pkg": "lerna exec 'npm run compile -- --watch' --scope",
"version": "npm run changelog && git add CHANGELOG.md"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/node": "^7.6.2",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-function-bind": "^7.2.0",
"@babel/plugin-proposal-optional-catch-binding": "^7.2.0",
"@babel/plugin-syntax-export-default-from": "^7.2.0",
"@babel/preset-env": "^7.6.2",
"@babel/register": "^7.6.2",
"@octokit/rest": "^16.35.2",
"@types/jest": "^24.0.18",
"aws-sdk": "^2.539.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-plugin-source-map-support": "^2.1.1",
"cheerio": "^1.0.0-rc.3",
"codecov": "^3.6.1",
"copyfiles": "^2.1.1",
"cucumber": "^5.1.0",
"del": "^5.1.0",
"dox": "^0.9.0",
"eslint": "^6.5.1",
"eslint-plugin-import": "^2.18.2",
"husky": "^3.0.7",
"inquirer": "^7.0.0",
"jest": "^24.9.0",
"jest-circus": "^25.1.0",
"lerna": "^3.16.4",
"lerna-changelog": "^1.0.0",
"markdox": "^0.1.10",
"mime-types": "^2.1.24",
"np": "^5.1.0",
"npm-run-all": "^4.1.5",
"recursive-readdir": "^2.2.2",
"rimraf": "^3.0.0",
"shelljs": "^0.8.3",
"source-map-support": "^0.5.13",
"tempy": "^0.3.0",
"typescript": "^3.6.3"
},
"husky": {
"hooks": {
"pre-commit": "git diff-index --name-only --diff-filter=d HEAD | grep -E \"(.*)\\.js$\" | xargs node_modules/eslint/bin/eslint.js -c .eslintrc.js",
"pre-push": "npm run test:eslint"
}
},
"jest": {
"testMatch": [
"**/tests/**/*.test.js"
],
"testPathIgnorePatterns": [
"<rootDir>/tests/",
"<rootDir>/node_modules/"
],
"collectCoverageFrom": [
"packages/**/src/*.js"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 95,
"functions": 98,
"lines": 98,
"statements": 98
}
},
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"node_modules/",
"packages/devtools/src/scripts",
"packages/webdriverio/src/scripts",
"packages/wdio-devtools-service/src/scripts",
"packages/webdriverio/build",
"packages/webdriver/build",
"packages/wdio-cucumber-framework/tests/fixtures",
"packages/wdio-logger/build",
"packages/wdio-webdriver-mock-service",
"packages/wdio-lambda-runner",
"packages/wdio-smoke-test-reporter",
"packages/wdio-smoke-test-service"
]
},
"greenkeeper": {
"lockfiles": {
"outOfRangeUpdatesOnly": true
}
},
"dependencies": {}
}