-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.88 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
{
"name": "server",
"version": "0.1.0",
"private": true,
"main": "./src/main.ts",
"dependencies": {
"@prisma/client": "^5.16.2",
"axios": "^1.7.2",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"morgan": "^1.10.0",
"nanoid": "^4.0.0",
"replicache": ">=14.1.0",
"replicache-transaction": "^0.3.3"
},
"devDependencies": {
"@rocicorp/eslint-config": "^0.1.2",
"@rocicorp/prettier-config": "^0.1.1",
"@types/chai": "^4.3.0",
"@types/express": "^4.17.13",
"@types/mocha": "^9.1.0",
"@types/morgan": "^1.9.9",
"@types/node": "^16.11.50",
"@types/pg": "^8.6.4",
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "^5.18.0",
"chai": "^4.3.6",
"eslint": "^8.2.0",
"mocha": "^9.2.1",
"nodemon": "^2.0.19",
"pg": ">=8.6.0",
"pg-mem": ">=2.5.0",
"prettier": "^2.2.1",
"prisma": "^5.16.0",
"ts-node": "^10.9.1",
"typescript": "4.7.4",
"zod": ">=3.17.3"
},
"scripts": {
"format": "prettier --write './src/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{cjs,js,jsx,json,ts,tsx,html,css,md}'",
"check-format": "prettier --check './src/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{cjs,js,jsx,json,ts,tsx,html,css,md}'",
"lint": "eslint --ext .ts,.tsx,.js,.jsx .",
"build": "rm -rf ./dist && tsc --noEmit && prisma generate",
"build-server": "prisma generate",
"check-types": "tsc --noEmit",
"dev": "nodemon",
"lol": "node ./dist/main.js",
"prod": "NODE_ENV=production node --loader ts-node/esm --experimental-specifier-resolution=node ./src/main.ts",
"prepack": "npm run lint && npm run build",
"pretest": "npm run build",
"test": "mocha --ui=tdd 'dist/**/*.test.js'"
},
"type": "module",
"eslintConfig": {
"extends": "@rocicorp/eslint-config"
},
"prettier": "@rocicorp/prettier-config",
"engines": {
"node": ">=16.15.0"
}
}