-
Notifications
You must be signed in to change notification settings - Fork 192
/
Copy pathpackage.json
81 lines (81 loc) · 3.54 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
{
"name": "compass-e2e-tests",
"version": "1.28.5",
"private": true,
"description": "E2E test suite for Compass app that follows smoke tests / feature testing matrix",
"scripts": {
"clean": "node -e \"try { fs.rmdirSync('.mongodb', { recursive: true }); } catch (e) {}\" && node -e \"try { fs.rmdirSync('.log', { recursive: true }); } catch (e) {}\"",
"typecheck": "tsc -p tsconfig.json",
"eslint": "eslint",
"prettier": "prettier",
"lint": "npm run typecheck && npm run eslint . && npm run prettier -- --check .",
"depcheck": "depcheck",
"check": "npm run lint && npm run depcheck",
"test": "xvfb-maybe --auto-servernum --server-args=\"-screen 0 1432x840x24\" -- ts-node index.ts",
"test-ci": "npm run test",
"posttest-ci": "npm run coverage-report",
"test-packaged": "npm run test -- --test-packaged-app",
"test-packaged-ci": "npm run test-ci -- -- --test-packaged-app",
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write .",
"start-server-1": "mongodb-runner start --id=e2e-1 --topology=replset --secondaries=0 -- --port 27091",
"stop-server-1": "mongodb-runner stop --id=e2e-1",
"start-server-2": "mongodb-runner start --id=e2e-2 --topology=replset --secondaries=0 -- --port 27092",
"stop-server-2": "mongodb-runner stop --id=e2e-2",
"start-servers": "npm run start-server-1 && npm run start-server-2",
"stop-servers": "npm run stop-server-1 && npm run stop-server-2",
"test-noserver": "env DEBUG=hadron*,mongo*,compass*,xvfb-maybe* npm run test -- --disable-start-stop --bail",
"test-noserver-nocompile": "env DEBUG=hadron*,mongo*,compass*,xvfb-maybe* npm run test -- --no-native-modules --no-compile --disable-start-stop --bail",
"test-web": "env DEBUG=hadron*,mongo*,compass*,xvfb-maybe* npm run test web",
"test-web-noserver": "env DEBUG=hadron*,mongo*,compass*,xvfb-maybe* npm run test web -- --disable-start-stop --bail",
"coverage-merge": "nyc merge .log/coverage .nyc_output/coverage.json",
"coverage-report": "npm run coverage-merge && nyc report",
"smoketest": "ts-node smoke-test.ts"
},
"devDependencies": {
"@electron/rebuild": "^3.7.1",
"@mongodb-js/compass-test-server": "^0.2.5",
"@mongodb-js/connection-info": "^0.10.5",
"@mongodb-js/eslint-config-compass": "^1.2.5",
"@mongodb-js/oidc-mock-provider": "^0.10.2",
"@mongodb-js/prettier-config-compass": "^1.1.5",
"@mongodb-js/tsconfig-compass": "^1.1.5",
"@types/chai-as-promised": "^7.1.4",
"@types/cross-spawn": "^6.0.2",
"@types/yargs": "^17.0.33",
"@wdio/types": "^8.32.2",
"bson": "^6.10.1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"clipboardy": "^2.3.0",
"compass-preferences-model": "^2.32.5",
"cross-spawn": "^7.0.5",
"debug": "^4.3.4",
"depcheck": "^1.4.1",
"electron": "^32.3.0",
"electron-to-chromium": "^1.5.88",
"eslint": "^7.25.0",
"glob": "^10.2.5",
"globals": "^15.14.0",
"hadron-build": "^25.6.5",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"mongodb": "^6.12.0",
"mongodb-build-info": "^1.7.2",
"mongodb-connection-string-url": "^3.0.1",
"mongodb-log-writer": "^1.4.2",
"mongodb-runner": "^5.6.3",
"node-fetch": "^2.7.0",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"ps-list": "^8.1.0",
"puppeteer-core": "^23.10.3",
"resolve-mongodb-srv": "^1.1.5",
"semver": "^7.6.3",
"tree-kill": "^1.2.2",
"ts-node": "^10.9.1",
"webdriverio": "^9.4.1",
"why-is-node-running": "^2.3.0",
"xvfb-maybe": "^0.2.1",
"yargs": "^17.7.2"
}
}