-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.84 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.84 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
78
79
80
81
82
83
84
85
86
87
88
{
"name": "clone-tabnews",
"version": "1.0.0",
"description": "Implementation of tabnews for the curso.dev",
"main": "index.js",
"scripts": {
"prestart": "npm run services:up && npm run services:wait:database && npm run migrations:up ",
"start": "trap 'exit 0' INT; npm run dev ",
"poststart": "npm run services:stop",
"dev": "next dev",
"pretest": "npm run services:up",
"test": "concurrently -n next,jest --hide next -k -s command-jest \"npm run dev\" \"npm run jest\"",
"posttest": "npm run services:stop",
"test:watch": "npm run jest -- --watchAll",
"jest": "jest --runInBand --verbose",
"services:up": "docker compose -f infra/compose.yaml up -d",
"services:stop": "docker compose -f infra/compose.yaml stop",
"services:down": "docker compose -f infra/compose.yaml down",
"services:wait:database": "node infra/scripts/wait-for-postgres.js",
"migrations:create": "node-pg-migrate -m infra/migrations create",
"migrations:up": "node-pg-migrate -m infra/migrations --envPath .env.development up",
"migrations:up:dry": "node-pg-migrate -m infra/migrations --envPath .env.development --dry-run up",
"lint:check": "npm run prettier:check && npm run eslint:check",
"lint:fix": "npm run prettier:fix",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"eslint:check": "eslint . --max-warnings 0",
"secret:check": "npx secretlint \"**/*\" ",
"prepare": "husky",
"commit": "cz",
"update": "npx npm-check-updates -i"
},
"author": "",
"license": "MIT",
"dependencies": {
"@commitlint/cli": "20.5.0",
"@commitlint/config-conventional": "20.5.0",
"async-retry": "1.3.3",
"bcryptjs": "3.0.3",
"commitizen": "4.3.1",
"concurrently": "9.2.1",
"cookie": "1.1.1",
"next": "16.2.0",
"next-connect": "1.0.0",
"node-pg-migrate": "7.6.1",
"nodemailer": "8.0.3",
"pg": "8.20.0",
"react": "19.2.5",
"react-dom": "19.2.5",
"swr": "2.4.1",
"uuid": "11.1.0"
},
"devDependencies": {
"@eslint/css": "1.0.0",
"@eslint/js": "9.39.4",
"@eslint/json": "1.1.0",
"@eslint/markdown": "7.5.1",
"@faker-js/faker": "9.7.0",
"@secretlint/secretlint-rule-preset-recommend": "12.3.0",
"cz-conventional-changelog": "3.3.0",
"dotenv": "16.4.5",
"dotenv-expand": "12.0.3",
"eslint": "9.39.4",
"eslint-config-next": "16.2.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jest": "29.15.0",
"globals": "17.4.0",
"husky": "9.1.7",
"jest": "30.3.0",
"lint-staged": "15.3.0",
"prettier": "3.8.1",
"secretlint": "12.3.0",
"set-cookie-parser": "3.0.1"
},
"engines": {
"node": "24"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*": [
"secretlint"
]
}
}