-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.61 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.61 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
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
{
"name": "@northscaler/mongo-test-support",
"version": "1.4.0-pre.0",
"description": "Mongo Node.js Development Test Support Library",
"repository": {
"type": "git",
"url": "https://github.com/northscaler/mongo-test-support.git"
},
"keywords": [
"mongo",
"mongoose"
],
"license": "MIT",
"engines": {
"node": ">=8.6.0"
},
"scripts": {
"build": "npm install && npm test",
"transpile": "run-s transpile-main transpile-test",
"clean": "rimraf lib/main",
"copy-src": "mkdirp lib/main/src && cp -r src/main/* lib/main/src",
"pretranspile-main": "run-s clean copy-src",
"transpile-main": "babel --verbose --out-dir lib/main --copy-files lib/main/src",
"transpile-test": "babel --delete-dir-on-start --verbose --out-dir lib/test --copy-files src/test",
"unit-integration": "nyc -x 'lib/test' --exclude-after-remap false mocha 'lib/test/unit/**/*.spec.js' 'lib/test/integration/**/*.spec.js'",
"postunit-integration": "run-s report",
"integration": "nyc -x 'lib/test' --exclude-after-remap false mocha 'lib/test/integration/**/*.spec.js'",
"postintegration": "run-s report",
"i": "mocha 'src/test/integration/**/*.spec.js' | npx bunyan",
"unit": "nyc -x 'lib/test' --exclude-after-remap false mocha 'lib/test/unit/**/*.spec.js'",
"postunit": "run-s report",
"u": "mocha 'src/test/unit/**/*.spec.js' | npx bunyan",
"test": "run-s transpile unit-integration lint",
"report": "nyc report --reporter=html",
"cov": "open coverage/index.html",
"lint": "standard --verbose 'src/**/*.js'",
"format": "standard --fix 'src/**/*.js'",
"make-distribution": "run-s transpile finalize-distribution doc",
"finalize-distribution": "cp package.json package-lock.json README.md lib/main",
"doc": "jsdoc --verbose -d lib/main/doc -r -c jsdoc.json -R lib/main/README.md lib/main",
"prelink": "run-s make-distribution",
"link": "mkdirp lib/main && cd lib/main && npm link; cd ../..",
"unlink": "mkdirp lib/main && cd lib/main && npm unlink; cd ../.."
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"mongodb": ">=3.0.0",
"mongoose": ">=5.0.0"
},
"dependencies": {
"@babel/polyfill": "7.10.4",
"@northscaler/error-support": "3.5.0",
"fs-extra": "9.0.1",
"lodash": "4.17.21",
"uuid": "8.3.0"
},
"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.11.4",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-decorators": "7.10.5",
"@babel/plugin-proposal-optional-chaining": "7.11.0",
"@babel/plugin-proposal-throw-expressions": "7.10.4",
"@babel/preset-env": "7.11.0",
"@babel/register": "7.10.5",
"acorn": "8.0.1",
"babel-eslint": "10.1.0",
"chai": "4.2.0",
"copyfiles": "2.3.0",
"dirty-chai": "2.0.1",
"jsdoc": "4.0.2",
"mocha": "10.2.0",
"mongodb": "3.7.4",
"mongoose": "5.13.20",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"standard": "14.3.4"
},
"babel": {
"sourceMaps": "both",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": true
}
}
]
],
"plugins": [
[
"@babel/plugin-proposal-optional-chaining",
{
"loose": false
}
],
[
"@babel/plugin-proposal-throw-expressions"
],
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
]
]
},
"standard": {
"parser": "babel-eslint"
},
"mocha": {
"colors": true,
"require": "@babel/register",
"exit": true
}
}