-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.15 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
{
"type": "module",
"scripts": {
"dev": "tsx watch ./src/server.ts",
"start": "docker compose up -d",
"stop": "docker compose down --volumes",
"rebuild": "docker compose down --volumes && docker compose up -d --force-recreate --build",
"restart": "npm stop && npm start",
"nuke": "bash nuke.sh",
"prepare": "husky || true",
"lint": "xo 'src/**/*.{js,jsx,ts,tsx}'",
"lint-fix": "xo 'src/**/*.{js,jsx,ts,tsx}' --fix",
"pretty": "prettier 'src/**/*.{js,jsx,ts,tsx,css,scss,md}' --check",
"pretty-fix": "prettier 'src/**/*.{js,jsx,ts,tsx,css,scss,md}' --write",
"test:e2e": "start-server-and-test dev tcp:8000 cypress:run",
"cypress:open": "cypress open",
"cypress:run": "cypress run --e2e"
},
"dependencies": {
"@faker-js/faker": "^9.0.1",
"@mswjs/data": "^0.16.2",
"@mswjs/http-middleware": "^0.10.1",
"@types/chai-json-schema": "^1.4.10",
"@types/express": "^4.17.21",
"@types/markdown-it": "^14.1.2",
"chai-json-schema": "^1.5.1",
"dotenv": "^16.4.5",
"highlight.js": "^11.10.0",
"markdown-it": "^14.1.0",
"msw": "^2.4.7",
"tsx": "^4.19.1",
"typescript": "^5.6.2"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@types/aws-lambda": "^8.10.145",
"@types/node": "^22.5.5",
"cypress": "^13.14.2",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "3.3.3",
"start-server-and-test": "^2.0.8",
"validate-branch-name": "^1.3.1",
"xo": "^0.59.3"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": "npm run lint",
"src/**/*.{js,jsx,ts,tsx,css,scss,md}": "npm run pretty"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"validate-branch-name": {
"pattern": "^(main|dev){1}$|^(feat|fix|hotfix|release|chore)/.+$",
"errorMsg": "INVALID BRANCH NAME: use format 'feat|fix|hotfix|release|core/your-branch-name'"
}
}