-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
159 lines (159 loc) · 6.94 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
152
153
154
155
156
157
158
159
{
"name": "mongosh",
"description": "The MongoDB Shell",
"main": "index.js",
"bin": {
"mongosh": "packages/cli-repl/bin/mongosh.js"
},
"homepage": "https://github.com/mongodb-js/mongosh",
"author": "Compass Team <compass@mongodb.com>",
"scripts": {
"bootstrap-with-chromium": "npm install && npm run compile",
"bootstrap": "npx cross-env PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install && npm run compile",
"clean": "lerna clean -y && rm -Rf node_modules",
"check": "lerna run check --since HEAD --exclude-dependents",
"check-ci": "npm run check --workspaces --if-present",
"depalign": "depalign",
"predepcheck": "npm run depalign",
"depcheck": "npm run depcheck --workspaces --if-present",
"lint": "npm run lint --workspaces --if-present",
"test": "rimraf .nyc_output && npm run test-coverage --workspaces --if-present && npm run report-coverage",
"test-ci": "rimraf .nyc_output && npm run test-ci-coverage --workspaces --if-present && npm run post-process-nyc",
"test-ci-nocoverage": "npm run test-ci --workspaces --if-present",
"test-e2e": "npm run test --workspace @mongosh/e2e-tests",
"test-apistrict-ci": "npm run test-apistrict-ci --workspaces --if-present",
"test-connectivity": "npm run test-connectivity --workspaces --if-present",
"test-evergreen-expansions": "bash .evergreen/compilation-context-expansions.test.sh",
"replace-package": "node scripts/replace-package.js",
"test-nodedriver": "bash .evergreen/test-node-driver.sh",
"compile": "npm run compile --workspaces --if-present",
"compile-cli": "lerna run compile --scope @mongosh/cli-repl --include-dependencies",
"prestart-cli": "npm run compile-cli",
"start-cli": "npm run start -w @mongosh/cli-repl",
"start-browser": "npm run start --workspace @mongosh/browser-repl",
"start": "npm run start-cli",
"precompile-exec": "npm run compile-cli",
"compile-exec": "npm run evergreen-release compile",
"compile-all": "npm run compile-compass && npm run compile-exec",
"evergreen-release": "cd packages/build && npm run evergreen-release --",
"release": "cd packages/build && npm run release --",
"report-missing-help": "npm run report-missing-help --workspace @mongosh/shell-api",
"report-supported-api": "npm run report-supported-api --workspace @mongosh/shell-api",
"post-process-nyc": "ts-node scripts/nyc/post-process-nyc-output.ts",
"pre-process-coverage": "ts-node scripts/nyc/pre-process-coverage.ts",
"report-coverage": "nyc report --reporter=text --reporter=html",
"report-coverage-ci": "npm run pre-process-coverage && nyc report --reporter=text --reporter=html",
"check-coverage": "nyc check-coverage --lines=90",
"generate-error-overview": "npm run generate-error-overview --workspace @mongosh/errors",
"update-authors": "ts-node -P configs/tsconfig-mongosh/tsconfig.common.json scripts/generate-authors.ts",
"preupdate-third-party-notices": "npm run webpack-build -w packages/cli-repl",
"update-third-party-notices": "mongodb-sbom-tools generate-3rd-party-notices --product='mongosh' --dependencies=.sbom/dependencies.json > THIRD_PARTY_NOTICES.md",
"update-node-js-versions": "npx @pkgjs/nv ls v20 > .evergreen/node-20-latest.json && npx @pkgjs/nv ls v16 > .evergreen/node-16-latest.json",
"update-evergreen-config": "npm run test-evergreen-expansions && node .evergreen/generate-evergreen-yml.js .evergreen/evergreen.yml.in > .evergreen.yml",
"mark-ci-required-optional-dependencies": "ts-node scripts/mark-ci-required-optional-dependencies.ts",
"write-node-js-dep": "echo '[{\"name\": \".node.js\", \"version\":\"'\"$NODE_JS_VERSION\"'\"}]' > .sbom/node-js-dep.json",
"scan-node-js": "mongodb-sbom-tools scan-node-js --version=$NODE_JS_VERSION > .sbom/node-js-vuln.json",
"snyk-test": "node scripts/snyk-test.js",
"pregenerate-vulnerability-report": "npm run webpack-build -w packages/cli-repl && npm run snyk-test && npm run scan-node-js && npm run write-node-js-dep",
"generate-vulnerability-report": "mongodb-sbom-tools generate-vulnerability-report --snyk-reports=.sbom/snyk-test-result.json,.sbom/node-js-vuln.json --dependencies=.sbom/dependencies.json,.sbom/node-js-dep.json --fail-on=high > .sbom/vulnerability-report.md",
"create-vulnerability-tickets": "mongodb-sbom-tools generate-vulnerability-report --snyk-reports=.sbom/snyk-test-result.json,.sbom/node-js-vuln.json --dependencies=.sbom/dependencies.json,.sbom/node-js-dep.json --create-jira-issues",
"where": "monorepo-where",
"reformat": "npm run reformat --workspaces --if-present",
"prepare": "husky install",
"precommit": "precommit",
"preinstall": "node scripts/sort-workspaces.js"
},
"config": {
"unsafe-perm": true
},
"repository": {
"type": "git",
"url": "git://github.com/mongodb-js/mongosh.git"
},
"keywords": [
"MongoDB",
"Shell",
"Node",
"JS",
"Compass",
"Stitch"
],
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=12.18.4"
},
"devDependencies": {
"@babel/compat-data": "^7.9.0",
"@mongodb-js/monorepo-tools": "^1.1.10",
"@mongodb-js/sbom-tools": "^0.5.2",
"@types/chai": "^4.2.5",
"@types/mocha": "^5.2.7",
"@types/node": "^14.14.6",
"@types/rimraf": "^3.0.0",
"@types/semver": "^7.3.4",
"@types/sinon-chai": "^3.2.4",
"@types/which": "^1.3.2",
"chai": "^4.2.0",
"cross-env": "^6.0.3",
"duplexpair": "^1.0.1",
"find-up": "^5.0.0",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"mongodb": "^6.3.0",
"mongodb-runner": "^5.4.6",
"node-gyp": "^9.0.0",
"nyc": "^15.1.0",
"pkg-up": "^3.1.0",
"rimraf": "^3.0.2",
"semver": "^7.5.4",
"sinon": "^7.5.0",
"sinon-chai": "^3.5.0",
"terser-webpack-plugin": "^4.2.3",
"ts-loader": "^8.0.14",
"ts-node": "^10.9.2",
"ts-sinon": "^1.2.0",
"typescript": "^5.3.3",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^4.3.1",
"which": "^2.0.2",
"yaml": "^1.10.0"
},
"optionalDependencies": {
"lerna": "^7.1.5"
},
"workspaces": [
"configs/eslint-config-mongosh",
"configs/tsconfig-mongosh",
"scripts/docker",
"packages/async-rewriter2",
"packages/build",
"packages/errors",
"packages/history",
"packages/import-node-fetch",
"packages/java-shell",
"packages/js-multiline-to-singleline",
"packages/types",
"packages/i18n",
"packages/logging",
"packages/service-provider-core",
"packages/arg-parser",
"packages/service-provider-server",
"packages/shell-api",
"packages/autocomplete",
"packages/shell-evaluator",
"packages/snippet-manager",
"packages/browser-runtime-core",
"packages/editor",
"packages/browser-runtime-electron",
"packages/cli-repl",
"packages/e2e-tests",
"packages/mongosh",
"packages/node-runtime-worker-thread",
"packages/browser-repl",
"packages/connectivity-tests"
]
}