-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.59 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.59 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
{
"name": "curso.dev",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "npm run services:up && concurrently -n \"next,jest\" --hide next -k -s command-jest \"next dev\" \"jest --runInBand\"",
"test:watch": "jest --watchAll --runInBand",
"dev": "npm run services:up && npm run wait-for-postgres && npm run migration:up && next dev",
"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",
"lint": "npm run lint:eslint:check && npm run lint:prettier:check",
"lint:prettier:check": "prettier --check .",
"lint:prettier:fix": "prettier --write .",
"lint:eslint:check": "eslint . --ext .js,.jsx --cache",
"lint:eslint:fix": "eslint . --ext .js,.jsx --fix --cache",
"lint:all:fix": "npm run lint:eslint:fix && npm run lint:prettier:fix",
"build": "next build",
"migration:create": "node-pg-migrate -m infra/migrations create",
"migration:up": "node-pg-migrate -m infra/migrations --envPath .env.development up",
"secrets:scan": "./.scripts/gitleaks detect --config .gitleaks.toml --no-git --redact --source .",
"secrets:scan:git": "./.scripts/gitleaks detect --config .gitleaks.toml --redact --source .",
"secrets:scan:staged": "git diff --cached --name-only | xargs -r ./.scripts/gitleaks protect --staged --config .gitleaks.toml --redact",
"wait-for-postgres": "node infra/scripts/wait-for-postgres.js",
"prepare": "husky",
"commit": "cz"
},
"author": "",
"license": "MIT",
"description": "",
"dependencies": {
"async-retry": "^1.3.3",
"dotenv": "^17.2.1",
"dotenv-expand": "^12.0.2",
"next": "^13.1.6",
"node-pg-migrate": "^7.9.1",
"pg": "^8.11.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/js": "^9.34.0",
"commitizen": "^4.3.1",
"concurrently": "^9.2.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.34.0",
"eslint-config-next": "^15.5.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^28.14.0",
"eslint-plugin-prettier": "^5.5.4",
"husky": "^9.1.7",
"jest": "^29.6.2",
"lint-staged": "^15.5.2",
"prettier": "^3.5.3"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}