-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
137 lines (137 loc) · 3.54 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
{
"name": "downwrite",
"version": "0.1.0",
"private": true,
"repository": "charliewilco/downwrite",
"author": "Charlie ⚡ <[email protected]>",
"scripts": {
"start": "next start",
"build": "next build",
"dev": "next dev",
"lint": "next lint",
"build:analyze": "ANALYZE=true next build",
"dev:inspect": "NODE_OPTIONS='--inspect' next dev",
"test": "jest --runInBand",
"test:ci": "jest --ci --runInBand --no-cache",
"db:clear": "node scripts/prep-db",
"prepare": "husky install",
"prebuild": "graphql-codegen",
"predev": "graphql-codegen",
"generate": "graphql-codegen",
"types": "tsc --noEmit --pretty",
"format": "pretty-quick"
},
"dependencies": {
"@graphql-tools/schema": "^8.3.5",
"@reach/checkbox": "^0.16.0",
"@reach/combobox": "^0.16.5",
"@reach/dialog": "^0.16.2",
"@reach/menu-button": "^0.16.2",
"@reach/skip-nav": "^0.16.0",
"@reach/visually-hidden": "^0.16.0",
"apollo-server-micro": "^2.24.1",
"base-64": "^1.0.0",
"bcryptjs": "^2.4.3",
"cookie": "^0.4.2",
"cuid": "^2.1.8",
"date-fns": "^2.28.0",
"draft-js": "^0.11.7",
"draftjs-md-converter": "^1.5.2",
"fathom-client": "^3.4.1",
"formik": "^2.2.9",
"graphql": "^15.7.2",
"graphql-request": "^4.2.0",
"graphql-tag": "^2.12.6",
"immutable": "4.0.0",
"jsonwebtoken": "^8.5.1",
"jwt-decode": "^3.1.2",
"mongoose": "^6.2.8",
"next": "^12.1.1",
"prismjs": "^1.27.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-dropzone": "^12.0.4",
"react-icons": "^4.3.1",
"react-is": "^17.0.2",
"rehype-stringify": "^9.0.3",
"remark": "^14.0.2",
"remark-parse": "^10.0.1",
"remark-prism": "^1.3.6",
"remark-rehype": "^10.1.0",
"remark-stringify": "^10.0.2",
"rxjs": "^7.5.5",
"sharp": "^0.30.3",
"styled-jsx": "^5.0.1",
"swr": "^1.2.2",
"unified": "^10.1.2",
"universal-cookie": "^4.0.4",
"use-subscription": "^1.5.1",
"zod": "^3.14.2"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/typescript": "^2.4.4",
"@graphql-codegen/typescript-graphql-request": "^4.4.4",
"@graphql-codegen/typescript-operations": "^2.3.5",
"@graphql-codegen/typescript-resolvers": "^2.6.1",
"@next/bundle-analyzer": "^12.1.1",
"@types/base-64": "^1.0.0",
"@types/bcryptjs": "^2.4.2",
"@types/cookie": "^0.4.0",
"@types/draft-js": "^0.11.9",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.23",
"@types/prismjs": "^1.26.0",
"@types/puppeteer": "^5.4.5",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@types/react-test-renderer": "^17.0.1",
"@types/ua-parser-js": "^0.7.36",
"@types/use-subscription": "^1.0.0",
"eslint": "^8.12.0",
"eslint-config-next": "^12.1.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"prettier": "^2.6.1",
"pretty-quick": "^3.1.3",
"prop-types": "^15.7.2",
"react-test-renderer": "^17.0.2",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"verbose": true,
"testRegex": "(/__tests__/.*|(\\.|/)(test))\\.[jt]sx?$",
"moduleNameMapper": {
"^@shared/(.*)$": "<rootDir>/src/shared/$1",
"^@server/(.*)$": "<rootDir>/src/server/$1",
"^@data/(.*)$": "<rootDir>/src/data/$1"
},
"globals": {
"ts-jest": {
"tsconfig": {
"jsx": "react"
}
}
}
},
"eslintConfig": {
"extends": "next/core-web-vitals"
},
"browserslist": [
">0.25%",
"not ie 11",
"not op_mini all"
],
"prettier": {
"printWidth": 85,
"singleQuote": false,
"tabWidth": 2,
"useTabs": true,
"bracketSpacing": true,
"bracketSameLine": true,
"trailingComma": "none"
}
}