generated from surprograma/semilla-nodejs-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.95 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 1.95 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
{
"name": "tareas-api",
"version": "1.0.0",
"license": "MIT",
"main": "dist/bin/www.js",
"scripts": {
"start": "nodemon",
"build": "run-s clean transpile",
"server": "node ./dist/bin/www",
"dev": "cross-env NODE_ENV=development run-s build server",
"prod": "cross-env NODE_ENV=production run-s build server",
"clean": "rimraf dist",
"transpile": "run-p transpile:*",
"transpile:lib": "babel ./lib --out-dir dist/lib --copy-files --source-maps",
"transpile:bin": "babel ./bin --out-dir dist/bin --copy-files --source-maps",
"lint": "run-p lint:*",
"lint:eslint": "eslint --fix ./lib",
"lint:prettier": "prettier --write ./lib",
"test": "jest --runInBand",
"test:watch": "jest --runInBand --watch"
},
"nodemonConfig": {
"exec": "npm run dev",
"watch": [
"lib/*",
"public/*"
],
"ignore": [
"**/__tests__/**",
"*.test.js",
"*.spec.js"
]
},
"dependencies": {
"compression": "^1.7.4",
"cookie-parser": "^1.4.4",
"cors": "^2.8.5",
"debug": "~2.6.9",
"express": "~4.16.1",
"faker": "^5.5.3",
"helmet": "^3.22.0",
"morgan": "^1.9.1",
"ramda": "^0.27.1"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/node": "^7.8.7",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.9.0",
"@types/jest": "^26.0.19",
"babel-plugin-inline-dotenv": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "^7.9.0",
"eslint-plugin-jest": "^24.1.3",
"husky": "^4.3.5",
"jest": "^26.6.0",
"lint-staged": "^10.5.3",
"nodemon": "^2.0.3",
"npm-run-all": "^4.1.5",
"prettier": "2.2.1",
"rimraf": "^3.0.2",
"supertest": "^5.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
},
"engines": {
"node": "14.17.x"
}
}