-
Notifications
You must be signed in to change notification settings - Fork 89
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.53 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.53 KB
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
{
"name": "@mongosh/node-runtime-worker-thread",
"version": "3.3.3",
"description": "MongoDB shell runtime that lives in a worker thread",
"homepage": "https://github.com/mongodb-js/mongosh",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/mongodb-js/mongosh"
},
"engines": {
"node": ">=14.15.1"
},
"scripts": {
"test": "mocha -r \"../../scripts/import-expansions.js\" -r \"./tests/register-worker.js \" --timeout 15000 -r ts-node/register --reporter \"../../configs/mocha-config-mongosh/reporter.ts\" \"./src/**/*.spec.ts\"",
"pretest-ci": "node ../../scripts/run-if-package-requested.js npm run webpack-build -- --no-stats --no-devtool",
"test-ci": "node ../../scripts/run-if-package-requested.js npm test",
"test-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test",
"test-ci-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test-ci",
"eslint": "eslint",
"lint": "npm run eslint . && npm run prettier -- --check .",
"check": "npm run lint && npm run depcheck",
"depcheck": "depcheck",
"webpack-build": "npm run compile && webpack --mode production",
"webpack-build-dev": "npm run compile && webpack --mode development",
"compile": "tsc -p tsconfig.json",
"prepublish": "npm run webpack-build && npm run create-purls-file",
"prettier": "prettier",
"reformat": "npm run prettier -- --write . && npm run eslint --fix",
"create-purls-file": "npm run write-node-js-dep && node ../../scripts/create-purls.js .sbom/dependencies.json .sbom/node-js-dep.json > dist/purls.txt",
"write-node-js-dep": "mkdir -p .sbom && node ../../scripts/write-nodejs-dep > .sbom/node-js-dep.json"
},
"devDependencies": {
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
"@mongodb-js/prettier-config-devtools": "^1.0.1",
"@mongodb-js/sbom-tools": "^0.7.2",
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
"@mongosh/browser-runtime-core": "3.8.0",
"@mongosh/browser-runtime-electron": "3.8.0",
"@mongosh/service-provider-core": "3.1.0",
"@mongosh/service-provider-node-driver": "3.6.0",
"@mongosh/types": "3.6.0",
"bson": "^6.10.3",
"depcheck": "^1.4.7",
"eslint": "^7.25.0",
"mocha": "^10.2.0",
"postmsg-rpc": "^2.4.0",
"prettier": "^2.8.8",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"interruptor": "^1.0.1",
"system-ca": "^2.0.1",
"web-worker": "^1.3.0"
}
}