-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
171 lines (171 loc) · 5.33 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
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "@codetanzania/ewea-common",
"version": "0.21.3",
"description": "Common utilities for EWEA",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"clean": "rimraf lib dist es umd logs",
"prepare": "husky install",
"prebuild": "npm test && npm run clean",
"build": "rollup -c",
"lint": "eslint --fix --ext .js src/ test/ rollup.config.js",
"pretest": "npm run lint",
"posttest": "rimraf test/fixtures/*.spec.csv",
"test": "NODE_ENV=test LOGGER_LOG_ENABLED=false DEFAULT_LOCALE=en LOCALES=en,sw nyc --reporter=html --reporter=text mocha --exit --timeout=80000 --require @babel/register test/**/*.spec.js",
"test:unit": "NODE_ENV=test npm run pretest && NODE_ENV=test DEFAULT_LOCALE=en LOCALES=en,sw mocha --exit --timeout=80000 --require @babel/register test/unit/**/*.spec.js",
"test:integration": "NODE_ENV=test npm run pretest && NODE_ENV=test DEFAULT_LOCALE=en LOCALES=en,sw mocha --exit --timeout=80000 --require @babel/register test/integration/**/*.spec.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs": "doxdox 'lib/**/*.js' -p package.json -l markdown -o DOCUMENTATION.md",
"commit": "git-cz",
"cmt": "git add -A && git-cz",
"changelog": "changelog",
"chore:deps": "ncu -u && npm install --save",
"lint:config": "eslint --print-config rollup.config.js",
"dev": "npm run seed && npm run start",
"start": "NODE_ENV=development BASE_PATH=./examples babel-node ./examples/app.js",
"seed": "NODE_ENV=development BASE_PATH=./examples babel-node ./examples/seed.js"
},
"keywords": [
"codetanzania",
"ewea",
"ewea-module",
"common",
"helpers",
"utilities",
"constants",
"defaults",
"disaster",
"hazard",
"risk",
"emergency",
"incident",
"activation",
"execution",
"action",
"task",
"stakeholder",
"assessment"
],
"repository": {
"type": "git",
"url": "https://github.com/codetanzania/ewea-common.git"
},
"author": {
"name": "lykmapipo",
"email": "[email protected]",
"url": "https://github.com/lykmapipo"
},
"contributors": [
{
"name": "lykmapipo",
"email": "[email protected]",
"url": "https://github.com/lykmapipo"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/codetanzania/ewea-common/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/codetanzania/ewea-common",
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/node": "^7.14.2",
"@babel/preset-env": "^7.14.4",
"@babel/register": "^7.13.16",
"@benmaruchu/faker": "^4.3.0",
"@codetanzania/ewea-case": "^0.6.3",
"@codetanzania/ewea-dispatch": "^0.6.3",
"@codetanzania/ewea-event": "^0.12.2",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@commitlint/travis-cli": "^12.1.4",
"@lykmapipo/express-test-helpers": "^0.9.16",
"@lykmapipo/mongoose-test-helpers": "^0.8.6",
"@lykmapipo/test-helpers": "^0.6.17",
"chai": "^4.3.4",
"commitizen": "^4.2.4",
"coveralls": "^3.1.0",
"csv-parse": "^4.15.4",
"csv-to-array": "^1.0.2",
"cz-conventional-changelog": "^3.3.0",
"doxdox": "^3.0.0",
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsdoc": "^35.1.2",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^3.4.0",
"generate-changelog": "^1.8.0",
"handlebars": "^4.7.7",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"lodash.template": "^4.5.0",
"mocha": "^8.4.0",
"mongoose": ">=5.12.13",
"npm-check-updates": "^11.6.0",
"nyc": "^15.1.0",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"rollup": "^2.50.6",
"shelljs": "^0.8.4"
},
"peerDependencies": {
"mongoose": ">=5.12.13"
},
"dependencies": {
"@codetanzania/emis-stakeholder": ">=2.9.0",
"@codetanzania/ewea-internals": ">=0.23.2",
"@lykmapipo/common": ">=0.43.2",
"@lykmapipo/constants": ">=0.4.41",
"@lykmapipo/env": ">=0.17.33",
"@lykmapipo/express-common": ">=0.18.16",
"@lykmapipo/express-rest-actions": ">=0.8.28",
"@lykmapipo/file": ">=0.1.32",
"@lykmapipo/geo-tools": ">=0.7.25",
"@lykmapipo/logger": ">=0.5.38",
"@lykmapipo/mongoose-common": ">=0.39.0",
"@lykmapipo/mongoose-exportable": ">=0.3.36",
"@lykmapipo/mongoose-sequenceable": ">=0.2.22",
"@lykmapipo/permission": ">=0.8.35",
"@lykmapipo/phone": ">=0.7.14",
"@lykmapipo/postman": ">=0.19.5",
"@lykmapipo/predefine": ">=1.19.6",
"async": ">=3.2.0",
"lodash": ">=4.17.21",
"moment": ">=2.29.1",
"moment-timezone": ">=0.5.33",
"mongoose-geojson-schemas": ">=0.12.9",
"mongoose-locale-schema": ">=0.4.28",
"mongoose-rest-actions": ">=0.30.6"
},
"engines": {
"node": ">=12.4.0",
"npm": ">=6.9.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"src/**/*.js": [
"npm run lint",
"git add -A"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}