forked from letterpad/letterpad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 4.65 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "letterpad-admin",
"version": "3.1.0",
"author": "Abhishek Saha",
"license": "MIT",
"scripts": {
"codegen": "graphql-let",
"client": "concurrently -k 'yarn dev'",
"dev": "next",
"build": "yarn codegen && next build",
"test": "yarn codegen && jest --runInBand",
"start": "next start",
"seed": "ts-node -r tsconfig-paths/register --transpile-only ./src/graphql/db/seed/index.ts",
"lint": "next lint",
"lint:fix": "eslint src --fix && yarn format",
"migrate": "prisma migrate dev --name init",
"typecheck": "yarn tsc",
"prisma:generate": "dotenv scripts/generatePrisma.sh",
"prisma:migrate:create": "dotenv scripts/createMigration.sh",
"prisma:migrate:run": "dotenv scripts/runMigration.sh",
"prisma:studio": "dotenv scripts/studio.sh",
"resetDemo": "ts-node -r tsconfig-paths/register --transpile-only ./src/resetDemo.ts",
"cy:open": "cypress open",
"cy:run": "cypress run --record --key e2c7bae0-47ed-49e5-8ea8-b0c26c3493f7",
"e2e:ci": "yarn seed && start-server-and-test 'yarn start' http://localhost:3000/admin/login cy:run",
"e2e": "yarn seed && start-server-and-test 'yarn dev' http://localhost:3000/admin/login cy:open",
"format": "prettier -w .",
"format:check": "prettier -c .",
"prepare": "husky install"
},
"dependencies": {
"@ant-design/icons": "^4.6.2",
"@apollo/client": "^3.1.3",
"@graphql-tools/load-files": "6.5.3",
"@graphql-tools/merge": "8.2.6",
"@graphql-tools/schema": "8.3.5",
"@prisma/client": "^3.8.1",
"@tinymce/tinymce-react": "^3.13.1",
"@types/bcryptjs": "^2.4.2",
"ajv": "^8.10.0",
"ajv-formats": "^2.1.1",
"antd": "4.20.0-alpha.1",
"apollo-server": "^3.6.3",
"apollo-server-micro": "2.25.0",
"bcryptjs": "^2.4.3",
"cheerio": "^1.0.0-rc.10",
"clipboard": "^2.0.10",
"cloudinary": "^1.28.1",
"copy-dir": "^1.3.0",
"cross-fetch": "^3.1.5",
"cryptr": "^6.0.2",
"debug": "^4.3.1",
"graphql": "15.3.0",
"graphql-request": "^3.4.0",
"highlight.js": "^11.4.0",
"image-size": "^0.9.7",
"jsonwebtoken": "^8.5.1",
"lazysizes": "^5.3.2",
"md5": "^2.3.0",
"multer": "^1.4.2",
"mysql2": "^2.2.5",
"next": "^12.1.5",
"next-auth": "4.0.5",
"nodemailer": "^6.7.3",
"nprogress": "^0.2.0",
"prisma": "^3.8.1",
"raygun": "^0.13.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-google-recaptcha-v3": "^1.9.4",
"react-infinite-scroll-component": "^6.1.0",
"react-simple-code-editor": "^0.11.0",
"react-sortable-hoc": "^1.11.0",
"react-spring": "^9.4.5",
"react-tag-autocomplete": "^6.3.0",
"reading-time": "^1.3.0",
"sass": "^1.42.1",
"showdown": "^2.0.0",
"socket.io": "^4.4.1",
"socket.io-client": "^4.4.1",
"sqlite3": "^5.0.2",
"tinymce": "^6.0.0",
"tippy.js": "^6.3.7",
"twig": "^1.15.4"
},
"devDependencies": {
"@commitlint/cli": "^17.0.1",
"@commitlint/config-conventional": "^17.0.0",
"@cypress/react": "^5.12.4",
"@graphql-codegen/cli": "^1.17.8",
"@graphql-codegen/import-types-preset": "^1.18.2",
"@graphql-codegen/plugin-helpers": "^1.17.8",
"@graphql-codegen/typescript": "^1.17.8",
"@graphql-codegen/typescript-operations": "^1.17.8",
"@graphql-codegen/typescript-react-apollo": "^2.0.6",
"@graphql-codegen/typescript-resolvers": "^1.17.8",
"@styled-jsx/plugin-sass": "^4.0.0",
"@types/cypress": "^1.1.3",
"@types/jest": "^26.0.23",
"@types/multer": "^1.4.5",
"@types/next-auth": "^3.7.1",
"@types/react-test-renderer": "16.9.3",
"@types/react-tooltip": "^4.2.4",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"autoprefixer": "^10.2.6",
"concurrently": "^6.2.0",
"cypress": "9.5.4",
"cypress-plugin-tab": "^1.0.5",
"dotenv": "^16.0.1",
"dotenv-cli": "^5.1.0",
"eslint": "^8.16.0",
"eslint-config-next": "^12.1.6",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"graphql-let": "0.x",
"graphql-tag": "2.11.0",
"html-webpack-plugin": "5",
"husky": "^8.0.1",
"jest": "^27.0.5",
"lint-staged": "^12.4.2",
"node-env-file": "^0.1.8",
"node-sass": "^6.0.1",
"postcss-nested": "^5.0.5",
"prettier": "^2.6.2",
"react-test-renderer": "16.13.1",
"start-server-and-test": "^1.14.0",
"ts-jest": "^27.0.3",
"tsconfig-paths": "^3.9.0",
"typescript": "4.3.2",
"yaml-loader": "0.6.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,}": [
"eslint --max-warnings=124",
"prettier -w"
],
"src/**/*.{json,css,md}": [
"prettier -w"
]
}
}