-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 4.66 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "zero-company-api",
"version": "0.1.0",
"private": true,
"description": "Zero Company API",
"keywords": [],
"homepage": "https://github.com/iliubinskii/zero-company-api",
"bugs": {
"url": "https://github.com/iliubinskii/zero-company-api/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/iliubinskii/zero-company-api"
},
"license": "Proprietary",
"author": "Ilia Liubinskii <ilia.liubinskii@gmail.com> (https://github.com/iliubinskii)",
"type": "commonjs",
"scripts": {
"build": "tsc",
"build-dummy-data": "tsx utils/dummy-data.ts && npm run format",
"contributors": "python -m gitfame --bytype --excl \"\\.(ico|json|svg)$\" --silent-progress ./src >./CONTRIBUTORS.md && crlf --set=LF ./CONTRIBUTORS.md",
"deploy-preview": "vercel",
"deploy-prod": "vercel --prod",
"dev": "nodemon",
"docker:build": "docker build -t zero-company-api .",
"docker:start": "docker run --env-file .env -p 3000 zero-company-api",
"format": "prettier --log-level warn --write \"**/*.{css,html,json,less,postcss,scss}\"",
"install-deps": "npm install --no-audit --save-prod --strict-peer-deps",
"install-deps-clean": "npm install-clean --no-audit --save-prod --strict-peer-deps",
"install-dev-deps": "npm install --no-audit --save-dev --strict-peer-deps",
"install-dev-deps-clean": "npm install-clean --no-audit --save-dev --strict-peer-deps",
"lint": "eslint --fix --max-warnings=0 **/*.{cjs,cjsx,js,jsx,mjs,mjsx,ts,tsx}",
"lint-commit-msg": "commitlint --edit",
"lint-markdown": "markdownlint *.md",
"lint-no-fix": "eslint --max-warnings=0 **/*.{cjs,cjsx,js,jsx,mjs,mjsx,ts,tsx}",
"lint-profile": "cross-env TIMING=1 eslint --max-warnings=0 **/*.{cjs,cjsx,js,jsx,mjs,mjsx,ts,tsx}",
"lint-staged-files": "lint-staged",
"ncu-check": "ncu --dep=dev,peer,prod",
"ncu-upgrade": "ncu --dep=dev,peer,prod --upgrade && npm run install-deps",
"parse-openapi": "run-p parse-openapi:to-json-1 parse-openapi:to-json-2 parse-openapi:to-routes",
"parse-openapi:to-json-1": "swagger-cli bundle public/schema.yaml -o public/schema.json && prettier --log-level warn --write public/schema.json",
"parse-openapi:to-json-2": "swagger-cli bundle public/schema.yaml -o src/schema/schema.json && prettier --log-level warn --write src/schema/schema.json",
"parse-openapi:to-routes": "openapi-typescript public/schema.yaml -o src/schema/routes.ts && eslint --fix src/schema/routes.ts",
"prepare": "husky",
"preversion:add": "git add .",
"preversion:fix": "run-p contributors format lint-markdown parse-openapi",
"preversion:install": "npm run install-deps",
"preversion:lint": "run-p lint-no-fix type-check",
"preversion:test": "run-s test test-e2e",
"push-tags": "cross-env GIT_SSH_COMMAND=\"ssh -i ../.ssh/id_rsa\" git push --tags",
"test": "cf coverage/lcov-report && jest --coverage",
"test-e2e": "playwright test",
"type-check": "tsc --incremental false --noEmit",
"update": "npm update --no-audit --strict-peer-deps",
"preversion": "run-s preversion:install preversion:fix preversion:lint preversion:test preversion:add"
},
"dependencies": {
"@faker-js/faker": "^8",
"@types/cookie-parser": "^1",
"@types/cors": "^2",
"@types/express": "^4",
"@types/express-session": "^1",
"@types/glob-to-regexp": "^0.4",
"@types/jsonwebtoken": "^9",
"@types/lodash": "^4",
"@types/multer": "^1",
"@types/passport": "^1",
"@types/passport-auth0": "^1",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/uuid": "^10",
"cloudinary": "^2",
"connect-mongo": "^5",
"connect-redis": "^7",
"cookie-parser": "^1",
"cors": "^2",
"date-fns": "^3",
"dotenv": "^16",
"envalid": "^8",
"express": "^4",
"express-session": "^1",
"glob-to-regexp": "^0.4",
"helmet": "^7",
"http-status-codes": "^2",
"https": "^1",
"jsonwebtoken": "^9",
"lodash": "^4",
"mongoose": "^8",
"multer": "^1.4.5-lts.1",
"passport": "^0.7",
"passport-auth0": "^1",
"react": "^18",
"react-dom": "^18",
"redis": "^4",
"ts-toolbelt": "^9",
"tslib": "^2",
"uuid": "^10",
"winston": "^3",
"zod": "^3"
},
"devDependencies": {
"@jest/expect": "^29",
"@jest/globals": "^29",
"@playwright/test": "^1",
"@types/jest": "^29",
"@types/supertest": "^6",
"crlf": "^1",
"eslint-config-union": "^1.2.0",
"jest": "^29",
"jest-extended": "^4",
"mongodb-memory-server": "^10",
"nodemon": "^3",
"openapi-typescript": "^7",
"supertest": "^7",
"swagger-cli": "^4",
"ts-jest": "^29",
"typescript": "^5",
"vercel": "^35"
}
}