-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 4.36 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
{
"name": "@northscaler/service-support",
"version": "0.5.0-pre.1",
"description": "Artifacts that assist in writing service layers effectively",
"repository": {
"type": "git",
"url": "https://gitlab.com/northscaler-public/service-support.git"
},
"keywords": [
"service",
"decorator",
"backend",
"back-end",
"server",
"service-layer"
],
"license": "MIT",
"engines": {
"node": ">=10.3.0"
},
"scripts": {
"build": "npm ci && npm test",
"transpile": "run-s transpile-main transpile-test",
"clean": "rimraf dist docs coverage .nyc_output",
"prenuke": "npm run clean",
"nuke": "rimraf node_modules",
"transpile-main": "babel --delete-dir-on-start --verbose --out-dir dist/main --copy-files src/main",
"transpile-test": "babel --delete-dir-on-start --verbose --out-dir dist/test --copy-files src/test",
"unit-integration": "nyc -x 'dist/test' --exclude-after-remap false mocha --exit 'dist/test/unit/**/*.spec.js' 'dist/test/integration/**/*.spec.js'",
"postunit-integration": "run-s report",
"integration": "nyc -x 'dist/test' --exclude-after-remap false mocha --exit 'dist/test/integration/**/*.spec.js'",
"postintegration": "run-s report",
"i": "mocha --exit 'src/test/integration/**/*.spec.js'",
"test-grep": "mocha --exit 'src/test/{unit,integration}/**/*.spec.js' --grep",
"unit": "nyc -x 'dist/test' --exclude-after-remap false mocha --exit 'dist/test/unit/**/*.spec.js'",
"postunit": "run-s report",
"u": "mocha --exit 'src/test/unit/**/*.spec.js'",
"test": "run-s transpile unit-integration lint",
"report": "nyc report --reporter=html",
"lint": "find src -name '*.js' | xargs standard --verbose index.js",
"lint-staged": "git diff --name-only --cached | egrep '^src/.+.js$' | xargs standard --verbose",
"format": "find src -name '*.js' | xargs standard --fix index.js",
"format-staged": "git diff --name-only --cached | egrep '^src/.+.js$' | xargs standard --fix",
"make-distribution": "run-s transpile doc lic",
"doc": "jsdoc --verbose -d docs -r -c jsdoc.json -R README.md src/main",
"lic": "node lic.js > LICENSE",
"pre-commit": "run-s lint-staged",
"pre-push": "run-s test"
},
"files": [
"dist/",
"docs/",
"src/",
"index.js"
],
"husky": {
"hooks": {
"pre-commit": "npm run pre-commit",
"pre-push": "npm run pre-push"
}
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@northscaler/aspectify": "1.2.5",
"@northscaler/enum-support": "4.2.9",
"@northscaler/error-support": "3.4.3",
"npm-run-all": "4.1.5"
},
"devDependencies": {
"@babel/cli": "7.12.1",
"@babel/core": "7.12.3",
"@babel/eslint-parser": "7.12.1",
"@babel/plugin-proposal-class-properties": "7.12.1",
"@babel/plugin-proposal-decorators": "7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.12.1",
"@babel/plugin-proposal-numeric-separator": "7.12.5",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/plugin-proposal-optional-chaining": "7.12.1",
"@babel/plugin-proposal-throw-expressions": "7.12.1",
"@babel/preset-env": "7.12.1",
"@babel/register": "7.12.1",
"@northscaler/mongo-test-support": "1.1.2",
"acorn": "8.0.4",
"babel-eslint": "10.1.0",
"chai": "4.2.0",
"copyfiles": "2.4.0",
"dirty-chai": "2.0.1",
"fs-extra": "9.0.1",
"husky": "4.3.0",
"intercept-stdout": "0.1.2",
"jsdoc": "3.6.6",
"lodash.template": "4.5.0",
"mocha": "8.2.1",
"mongodb": "3.6.3",
"mongoose": "5.10.13",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"standard": "16.0.2"
},
"babel": {
"sourceMaps": "both",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": true
}
}
]
],
"plugins": [
[
"@babel/plugin-proposal-optional-chaining",
{
"loose": false
}
],
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
[
"@babel/plugin-proposal-throw-expressions"
],
[
"@babel/plugin-proposal-class-properties",
{
"loose": false
}
]
]
},
"mocha": {
"colors": true,
"require": "@babel/register"
},
"standard": {
"parser": "@babel/eslint-parser"
}
}