forked from ringcentral/testring
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
97 lines (97 loc) · 3.68 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
{
"name": "testring-build",
"private": true,
"author": "RingCentral",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ringcentral/testring.git"
},
"scripts": {
"cleanup": "npm run cleanup:packages && npm run cleanup:root",
"cleanup:root": "node ./utils/cleanup.js",
"cleanup:packages": "lerna clean --yes && lerna exec --parallel -- node ../../utils/cleanup",
"postinstall": "lerna bootstrap --no-ci",
"reinstall": "npm run cleanup && npm install && npm run build",
"add-package-files": "lerna exec --no-sort -- node ../../utils/add-package-files",
"generate-readme": "lerna exec --no-sort -- node ../../utils/generate-readme",
"lint": "eslint --ext .ts ./",
"lint:fix": "eslint --fix --ext .ts ./",
"test": "lerna exec --ignore=\"@testring/@(ui-kit|types|e2e-test-app)\" -- mocha",
"test:watch": "lerna exec --ignore=\"@testring/@(ui-kit|types|e2e-test-app)\" --parallel -- mocha --watch",
"test:coverage": "nyc npm test",
"test:e2e": "lerna run --stream --scope @testring/e2e-test-app test",
"test:e2e-simple": "lerna run --stream --scope @testring/e2e-test-app test:simple",
"test:ci": "npm run test:coverage && npm run test:e2e",
"build": "npm run build:main && npm run build:devtool && npm run build:extension",
"build:watch": "lerna exec --ignore=\"@testring/@(e2e-test-app|devtool-frontend|devtool-extension|ui-kit)\" --parallel -- tsc --watch --inlineSourceMap",
"build:main": "lerna exec --ignore=\"@testring/@(e2e-test-app|devtool-frontend|devtool-extension|ui-kit)\" -- tsc",
"build:devtool": "lerna run --stream --scope @testring/devtool-frontend build",
"build:extension": "lerna run --stream --scope @testring/devtool-extension build",
"publish:version": "lerna version --exact --yes",
"publish:ci": "node ./utils/publish.js",
"check-deps": "npm run check-deps:precommit",
"check-deps:validate": "lerna exec -- node ../../utils/check-packages-versions",
"check-deps:find-updates": "ncu -m --deep --color",
"check-deps:lerna-update": "lernaupdate",
"check-deps:lerna-dedupe": "lernaupdate -d",
"githook:precommit": "npm run check-deps:validate && npm run build && npm run lint && npm run test && npm run test:e2e-simple"
},
"precommit": "githook:precommit",
"nyc": {
"report-dir": "./.coverage",
"all": true,
"check-coverage": true,
"lines": 50,
"statements": 50,
"functions": 50,
"branches": 45,
"sourceMap": true,
"include": [
"core/*/src/*.ts",
"core/*/src/**/*.ts",
"packages/*/src/*.ts",
"packages/*/src/**/*.ts"
],
"exclude": [
"core/*/src/index.ts",
"core/types",
"packages/*/src/index.ts",
"packages/web-application/src/web-application.ts",
"packages/web-application/src/web-client.ts",
"packages/plugin-selenium-driver/src/plugin/index.ts"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"text"
]
},
"devDependencies": {
"@jsdevtools/npm-publish": "1.4.3",
"@lerna/batch-packages": "3.16.0",
"@lerna/filter-packages": "6.4.1",
"@lerna/project": "6.4.1",
"@lerna/run-parallel-batches": "3.16.0",
"@types/chai": "4.3.4",
"@types/mocha": "10.0.1",
"@types/node": "18.11.18",
"chai": "4.3.7",
"eslint": "8.32.0",
"eslint-config-ringcentral": "7.0.3",
"eslint-config-ringcentral-typescript": "7.0.3",
"glob": "8.1.0",
"lerna": "6.4.1",
"lerna-update-wizard": "1.1.2",
"mocha": "10.2.0",
"npm-check-updates": "16.6.2",
"nyc": "15.1.0",
"pre-commit": "1.2.2",
"rimraf": "4.1.1",
"sinon": "15.0.1",
"ts-node": "10.9.1",
"typescript": "4.9.4"
}
}