forked from djyde/cusdis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.9 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
{
"name": "cusdis",
"scripts": {
"dev": "DB_TYPE=sqlite npm run dev:general",
"dev:pg": "DB_TYPE=pgsql npm run dev:general",
"dev:general": "npm run db:deploy && npm run db:generate && next dev",
"build": "DB_TYPE=pgsql npm run db:generate && DB_TYPE=pgsql npm run db:deploy && next build && npm run build:widget",
"build:without-migrate": "npm run db:generate && next build && npm run build:widget",
"db:deploy": "prisma migrate deploy --schema ./prisma/$DB_TYPE/schema.prisma",
"db:generate": "prisma generate --schema ./prisma/$DB_TYPE/schema.prisma",
"db:push": "DB_TYPE=sqlite npm run db:push:general",
"db:push:pg": "DB_TYPE=pgsql npm run db:push:general",
"db:push:general": "prisma db push --schema ./prisma/$DB_TYPE/schema.prisma --preview-feature",
"db:migrate": "prisma migrate dev --schema ./prisma/$DB_TYPE/schema.prisma",
"admin": "prisma studio",
"widget": "vite",
"start": "next start -p 3000",
"start:with-migrate": "npm run db:generate && npm run db:deploy && next start -p 3000",
"cp-widget-lang": "mkdir -p public/js/widget/lang && cp -r widget/lang public/js/widget",
"build:widget": "vite build --config vite.widget.config.js && npm run cp-widget-lang",
"build:sdk": "vite build --config vite.sdk.config.js"
},
"prettier": "@egoist/prettier-config",
"dependencies": {
"@chakra-ui/icons": "^1.0.10",
"@chakra-ui/react": "^1.1.4",
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"@prisma/client": "^2.19.0",
"@sendgrid/mail": "^7.4.2",
"@sentry/node": "^6.3.1",
"@sentry/tracing": "^6.3.1",
"autoprefixer": "^10.2.5",
"axios": "^0.21.1",
"class-validator": "^0.13.1",
"cors": "^2.8.5",
"dayjs": "^1.10.4",
"formidable": "^1.2.2",
"framer-motion": "^3.2.1",
"jsonwebtoken": "^8.5.1",
"markdown-it": "^12.0.6",
"milligram": "^1.4.1",
"nanoid": "^3.1.22",
"next": "^10.0.5",
"next-auth": "3.15.5",
"nodemailer": "^6.5.0",
"postcss": "^8.2.10",
"posthog-node": "^1.0.7",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-hook-form": "^7.1.1",
"react-icons": "^4.2.0",
"react-query": "^3.6.0",
"redaxios": "^0.4.1",
"reflect-metadata": "^0.1.13",
"rollup-plugin-svelte": "^7.1.0",
"sqlite3": "^5.0.2",
"svelte": "^3.37.0",
"svelte-preprocess": "^4.7.0",
"tailwindcss": "^2.1.1",
"turndown": "^7.0.0",
"vite": "^2.1.5",
"xml2json": "^0.12.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-decorators": "^7.12.12",
"@egoist/prettier-config": "^0.1.0",
"@types/node": "^14.14.21",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"babel-plugin-transform-typescript-metadata": "^0.3.1",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"prisma": "^2.19.0",
"typegraphql-prisma": "^0.9.4",
"typescript": "^4.1.3"
}
}