-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 2.47 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
{
"name": "typoteka",
"version": "1.0.0",
"description": "«Типотека»",
"main": "./src/service/service.js",
"scripts": {
"eslint": "eslint --ext .js src/",
"fill-db": "cross-env LOG_LEVEL=info node -r dotenv/config ./src/service/service.js -f 20",
"rest-api": "cross-env NODE_ENV=production node -r dotenv/config ./src/service/service.js --server",
"rest-api::debug": "cross-env LOG_LEVEL=info NODE_ENV=development nodemon -r dotenv/config ./src/service/service.js --server | ./node_modules/.bin/pino-pretty",
"client": "node -r dotenv/config src/express/app.js",
"client::debug": "nodemon -r dotenv/config src/express/app.js",
"start": "concurrently --prefix \"{time} — {name}\" --names \"BACKEND, FRONTEND\" --prefix-colors \"green,blue\" \"npm run rest-api\" \"npm run client\"",
"start::debug": "concurrently --prefix \"{time} — {name}\" --names \"BACKEND, FRONTEND\" --prefix-colors \"green,blue\" \"npm run rest-api::debug\" \"npm run client::debug\"",
"test": "npm run eslint & npm run test:all",
"test:all": "jest",
"test:rest": "jest .e2e.test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Shramkoweb/809375-typoteka-3.git"
},
"keywords": [
"node",
"express"
],
"author": "Serhii Shramko <shramko.web@yahoo.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/Shramkoweb/809375-typoteka-3/issues"
},
"homepage": "https://github.com/Shramkoweb/809375-typoteka-3#readme",
"devDependencies": {
"dotenv": "8.2.0",
"eslint": "7.18.0",
"eslint-config-htmlacademy": "0.6.0",
"faker": "5.5.3",
"husky": "4.3.8",
"jest": "26.6.3",
"lint-staged": "^10.5.3",
"nodemon": "2.0.7",
"pino-pretty": "4.5.0",
"sqlite3": "5.0.2",
"supertest": "6.1.3"
},
"dependencies": {
"axios": "0.21.1",
"bcrypt": "5.0.1",
"commander": "7.0.0",
"concurrently": "6.2.0",
"connect-session-sequelize": "7.1.1",
"cross-env": "7.0.3",
"csurf": "1.11.0",
"express": "4.17.1",
"express-pino-logger": "6.0.0",
"express-session": "1.17.2",
"express-validator": "6.9.2",
"helmet": "^4.6.0",
"http-status-codes": "2.1.4",
"multer": "1.4.2",
"nanoid": "3.1.20",
"pg": "8.5.1",
"pino": "6.11.1",
"pug": "2.0.4",
"sequelize": "6.6.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix"
}
}