forked from monkeytypegame/monkeytype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 3.17 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
{
"name": "monkeytype",
"license": "GPL-3.0",
"private": true,
"scripts": {
"prepare": "husky install",
"pre-commit": "lint-staged",
"lint": "npm run lint-be && npm run lint-fe",
"lint-be": "eslint \"./backend/**/*.ts\"",
"lint-fe": "eslint \"./frontend/**/*.ts\"",
"install-all": "sh ./bin/install.sh",
"install-windows": ".\\bin\\install.cmd",
"docker": "cd backend && docker compose up",
"test": "npm run test-be && npm run test-fe",
"test-be": "cd backend && npm run test",
"test-fe": "cd frontend && npm run test",
"dev": "concurrently --kill-others \"wait-for-localhost 5005 && npm run dev-fe\" \"npm run dev-be\"",
"dev-be": "cd backend && npm run dev",
"dev-fe": "cd frontend && npm run dev",
"live": "concurrently --kill-others \"cd frontend && npm run live\" \"cd backend && npm run start\"",
"audit-fe": "cd frontend && npm run audit",
"release": "release-it -c .release-it.json",
"release-fe": "release-it -c .release-it-fe.json",
"hotfix": "cd frontend && npm run deploy-live && cd .. && sh ./bin/purgeCfCache.sh",
"build-fe": "cd ./frontend && npm run build",
"pretty": "prettier --check \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./frontend/static/**/*.{json,html,css}\"",
"pretty-code": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\" \"./frontend/**/*.{ts,js}\" \"./frontend/src/**/*.scss\"",
"pretty-code-be": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\"",
"pretty-code-fe": "prettier --check \"./frontend/**/*.{ts,js}\" \"./frontend/src/**/*.scss\"",
"pretty-fix": "prettier --write \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./frontend/static/**/*.{json,html,css}\"",
"pr-check-lint-json": "cd frontend && eslint './static/**/*.json'",
"pr-check-quote-json": "cd frontend && npx gulp pr-check-quote-json",
"pr-check-language-json": "cd frontend && npx gulp pr-check-language-json",
"pr-check-other-json": "cd frontend && npx gulp pr-check-other-json",
"pr-check-build-fe": "cd frontend && npm run build",
"pr-check-build-be": "cd backend && npm run build"
},
"engines": {
"node": "18.19.1",
"npm": "10.2.4"
},
"devDependencies": {
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@csmith/release-it-calver-plugin": "2023.9.0",
"@release-it/conventional-changelog": "7.0.0",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"concurrently": "7.2.1",
"conventional-changelog": "4.0.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.0.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-json": "2.1.2",
"eslint-plugin-require-path-exists": "1.1.9",
"husky": "8.0.1",
"knip": "2.19.2",
"lint-staged": "13.2.3",
"prettier": "2.5.1",
"release-it": "16.1.4",
"typescript": "5.3.3",
"wait-for-localhost-cli": "3.1.0"
},
"lint-staged": {
"*.{json,scss,css,html}": [
"prettier --write"
],
"*.{ts,js}": [
"prettier --write",
"eslint"
]
},
"version": "24.14.1"
}