-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
executable file
·68 lines (68 loc) · 2.58 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
{
"name": "serenity-notes-backend",
"private": true,
"version": "1.0.0",
"scripts": {
"test": "jest --runInBand",
"clean": "rm -rf build",
"build": "yarn && yarn clean && yarn prisma:prod:generate && yarn ncc build ./api/app.ts -o build && cp node_modules/olm/olm.wasm build/olm.wasm && cp node_modules/prisma/query-engine-darwin build/query-engine-darwin",
"start:prod": "PORT=$PORT PADDLE_PUBLIC_KEY=$PADDLE_PUBLIC_KEY POSTGRES_URL=$POSTGRES_URL NODE_ENV=production node ./build",
"dev": "POSTGRES_URL=\"postgresql://prisma:prisma@localhost:5432/serenity\" yarn prisma generate && NODE_ENV=development POSTGRES_URL=\"postgresql://prisma:prisma@localhost:5432/serenity\" ts-node-dev --transpile-only ./api/app",
"dev:test": "NODE_ENV=test ts-node-dev --transpile-only ./api/app",
"dev:db": "docker-compose up",
"typecheck": "tsc --noEmit",
"nexus:reflect": "ts-node ./api/schema",
"prisma": "POSTGRES_URL=\"postgresql://prisma:prisma@localhost:5432/serenity\" prisma",
"prisma:prod:migrate": "POSTGRES_URL=$POSTGRES_URL prisma migrate deploy",
"prisma:prod:generate": "POSTGRES_URL=$POSTGRES_URL prisma generate",
"prisma:prod:studio": "POSTGRES_URL=$POSTGRES_URL prisma studio",
"deploy": "yarn build && heroku container:push web --app serenity-api && heroku container:release web --app serenity-api"
},
"dependencies": {
"@prisma/client": "^2.26.0",
"@sendgrid/mail": "^7.4.4",
"apollo-server-express": "^2.24.1",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-async-handler": "^1.1.4",
"graphql": "^15.5.0",
"make-promises-safe": "^5.1.0",
"nexus": "^1.1.0",
"php-serialize": "^4.0.2"
},
"devDependencies": {
"@types/base-64": "^1.0.0",
"@types/cookie-parser": "^1.4.2",
"@types/debug": "4.1.5",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.23",
"@types/prompts": "2.0.12",
"@types/uuid": "^8.3.0",
"@vercel/ncc": "^0.28.5",
"base-64": "^1.0.0",
"fetch-cookie": "^0.11.0",
"graphql-request": "^1.8.2",
"jest": "^26.6.3",
"jest-environment-node": "^26.6.2",
"node-fetch": "^2.6.1",
"olm": "https://packages.matrix.org/npm/olm/olm-3.2.1.tgz",
"pg": "^8.6.0",
"prettier": "2.3.0",
"prisma": "^2.26.0",
"ts-jest": "^26.5.6",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.6",
"typescript": "^4.2.4",
"uuid": "^8.3.2",
"yjs": "^13.5.6"
},
"prettier": {},
"jest": {
"preset": "ts-jest",
"testEnvironment": "./tests/postgres-test-environment.js"
},
"engines": {
"node": "16.x"
}
}