-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 2.78 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
{
"name": "challenge",
"version": "0.0.1",
"main": "src/index.js",
"repository": {
"type": "git",
"url": ""
},
"license": "ISC",
"private": true,
"scripts": {
"prebuild": "rm -rf dist",
"build": "babel src -d dist --ignore 'src/**/*.spec.js' --copy-files --no-copy-ignored",
"dev": "env-cmd --silent nodemon ./src/index.js --exec 'yarn run eslint && babel-node'",
"prestart": "yarn run build",
"start": "env-cmd --silent node dist/index.js",
"startProd": "env-cmd --silent node dist/index.js",
"test": "jest --runInBand --verbose",
"coverage": "jest --coverage --runInBand --verbose",
"test:auto": "jest --watchAll",
"eslint": "eslint --color ./src; exit 0",
"lint": "eslint --color ./src"
},
"husky": {
"hooks": {
"pre-commit": "yarn run lint",
"pre-push": "yarn run test && yarn run coverage"
}
},
"dependencies": {
"@babel/runtime": "~7.12.5",
"await-to-js": "~2.1.1",
"body-parser": "~1.19.0",
"cors": "~2.8.5",
"cron": "^1.8.2",
"csv-parse": "^4.16.3",
"env-cmd": "~10.1.0",
"errorhandler": "~1.5.1",
"express": "~4.17.1",
"fast-csv": "^4.3.6",
"log4js": "~6.3.0",
"md5": "~2.3.0",
"moment": "~2.29.1",
"mongoose": "~5.10.1",
"mongoose-unique-validator": "~2.0.3",
"morgan": "~1.10.0",
"multer": "~1.4.2",
"serve-favicon": "~2.5.0",
"uniqid": "~5.2.0"
},
"devDependencies": {
"@babel/cli": "~7.12.10",
"@babel/core": "~7.12.10",
"@babel/node": "~7.12.10",
"@babel/plugin-transform-runtime": "~7.12.10",
"@babel/preset-env": "~7.12.11",
"@babel/register": "~7.12.10",
"@types/jest": "~26.0.19",
"@types/node": "~14.14.16",
"babel-eslint": "~10.1.0",
"babel-jest": "~26.6.3",
"eslint": "~7.16.0",
"eslint-config-prettier": "~7.1.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-jest": "~24.1.3",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-prettier": "~3.3.0",
"husky": "~4.3.6",
"jest": "~26.6.3",
"nodemon": "~2.0.6",
"prettier": "~2.2.1"
},
"contributors": [
{
"name": "Jhonatan Villanueva",
"email": "[email protected]"
}
],
"engines": {
"node": ">=12"
},
"nodemonConfig": {
"verbose": false,
"watch": [
"src/**/*.js"
],
"ignore": [
"node_modules/*",
"src/**/*.spec.js"
],
"delay": "1000"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src/"
],
"transform": {
".*": "<rootDir>/node_modules/babel-jest"
},
"collectCoverageFrom": [
"src/**/*.js",
"!src/**/*.spec.js"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
}
}
}