-
Notifications
You must be signed in to change notification settings - Fork 172
/
package.json
144 lines (144 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
143
144
{
"name": "@sourcegraph/about.sourcegraph.com",
"private": true,
"license": "Apache-2.0",
"scripts": {
"dev": "next dev",
"build:cache": "mkdir -p public/data && echo '{}' > public/data/fileCache.json && echo '{}' > public/data/slugCache.json && TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node src/scripts/cache.ts",
"build:feed": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node src/scripts/feed.ts",
"build": "pnpm run build:cache && pnpm run build:feed && next build && next export && next-sitemap",
"start": "next start",
"lint": "pnpm run eslint && pnpm run typecheck",
"lint:images": "scripts/lint_images.sh",
"figma:publish": "pnpm run figma connect publish",
"typecheck": "tsc -p .",
"eslint": "eslint '**/*.{ts,tsx}'",
"eslint:fix": "pnpm run eslint --fix",
"prettier": "prettier '**/{*.{js?(on),ts?(x),md,scss},.*.js?(on)}' --write --list-different",
"prettier:check": "pnpm run -s prettier --write=false",
"cypress": "cypress open",
"cypress:headless": "cypress run --browser chrome",
"test": "pnpm run build && start-server-and-test 'pnpm run start' http://127.0.0.1:3000 'pnpm run cypress'",
"test:ci": "pnpm run build && start-server-and-test 'pnpm run start' http://127.0.0.1:3000 'pnpm run cypress:headless'",
"analyze": "ANALYZE=true pnpm run build"
},
"eslintConfig": {
"extends": [
"@sourcegraph/eslint-config",
"next/core-web-vitals"
],
"parserOptions": {
"project": "tsconfig.json"
},
"rules": {
"import/no-default-export": "off",
"@next/next/no-img-element": "off",
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
]
}
},
"packageManager": "[email protected]",
"engines": {
"node": "^v18.9.0",
"pnpm": "^8.1.1"
},
"dependencies": {
"@dotlottie/react-player": "^1.6.15",
"@figma/code-connect": "^1.1.3",
"@headlessui/react": "^1.7.11",
"@heroicons/react": "^2.0.15",
"@lucide/lab": "^0.1.1",
"@popperjs/core": "^2.11.7",
"@sourcegraph/telemetry": "^0.16.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@visx/axis": "^2.12.2",
"@visx/curve": "^2.1.0",
"@visx/glyph": "^2.10.0",
"@visx/grid": "^2.6.0",
"@visx/group": "^2.10.0",
"@visx/responsive": "^2.8.0",
"@visx/scale": "^2.2.2",
"@visx/text": "^2.12.2",
"@visx/xychart": "^2.9.0",
"classnames": "^2.3.2",
"d3-format": "^3.1.0",
"d3-scale": "^3.3.0",
"d3-time-format": "^4.1.0",
"date-fns": "^3.3.1",
"feed": "^4.2.2",
"framer-motion": "^10.16.5",
"globby": "^11.1.0",
"gray-matter": "^4.0.3",
"js-cookie": "^3.0.5",
"lucide-react": "^0.394.0",
"next": "^13.1.1",
"next-mdx-remote": "^4.0.3",
"posthog-js": "^1.163.0",
"prism-themes": "^1.9.0",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-medium-image-zoom": "^5.2.8",
"react-popper": "^2.3.0",
"react-scroll": "^1.9.0",
"react-syntax-highlighter": "^15.5.0",
"rehype-autolink-headings": "^6.1.1",
"rehype-pretty-code": "^0.12.0",
"rehype-slug": "^5.0.1",
"remark-gfm": "^3.0.1",
"rxjs": "^7.5.5",
"sharp": "^0.31.3",
"shikiji": "0.7.x",
"ts-loader": "^9.2.8",
"ts-node": "^10.7.0",
"uuid": "^8.3.0"
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.12.0",
"@next/bundle-analyzer": "^12.3.0",
"@sourcegraph/eslint-config": "^0.33.0",
"@sourcegraph/prettierrc": "^3.0.3",
"@svgr/webpack": "^6.2.1",
"@tailwindcss/typography": "^0.5.10",
"@types/d3-format": "^3.0.1",
"@types/d3-scale": "^4.0.3",
"@types/d3-time-format": "^4.0.0",
"@types/js-cookie": "^3.0.3",
"@types/mapbox__rehype-prism": "^0.8.0",
"@types/mdx": "^2.0.3",
"@types/node": "18.7.18",
"@types/prismjs": "^1.26.0",
"@types/react": "18.0.20",
"@types/react-dom": "^18.0.6",
"@types/react-scroll": "^1.8.10",
"@types/uuid": "8.0.1",
"autoprefixer": "^10.4.8",
"cypress": "13.2.0",
"eslint": "^8.32.0",
"eslint-config-next": "^13.1.2",
"file-loader": "^6.2.0",
"mdi-react": "9.0.0",
"next-sitemap": "^3.1.22",
"postcss": "^8.4.14",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^7.7.2",
"prettier": "^2.5.1",
"prettier-plugin-tailwindcss": "^0.2.3",
"react-icons": "^4.4.0",
"react-spring": "^9.4.4",
"react-twitch-embed": "^3.0.1",
"sass": "^1.49.7",
"start-server-and-test": "^1.15.2",
"tailwindcss": "^3.1.7",
"typescript": "4.5.5",
"url-loader": "^4.1.1",
"use-onclickoutside": "^0.4.1"
}
}