This repository has been archived by the owner on Jul 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 112
/
package.json
150 lines (150 loc) Β· 4.4 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
145
146
147
148
149
150
{
"name": "@sourcegraph/handbook.sourcegraph.com",
"private": true,
"description": "Our company handbook repository",
"scripts": {
"dev": "next dev",
"debug": "NODE_OPTIONS='--inspect' next dev",
"generate-redirects": "node src/scripts/generate-redirects.mjs",
"netlify-build": "pnpm run copy-assets && next build && next-sitemap && next export && pnpm run generate-redirects",
"build": "next build",
"postbuild": "next-sitemap",
"check-links": "node src/scripts/check-links.mjs",
"check-all-links": "find ./content -name \\*.md -exec markdown-link-check --quiet {} \\;",
"typecheck": "tsc -p .",
"prettier": "prettier '**/{*.{?(m)[tj]s?(x),json,md,scss},.*.js?(on)}' --write --list-different",
"prettier-check": "pnpm -s run prettier --write=false",
"eslint": "eslint 'src/**/*.?(m)[jt]s?(x)'",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"copy-assets": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node src/scripts/copy-assets.ts",
"validate-data": "find data -name *.yml | sed -E \"s/data\\/(.*).yml/\\1/\" | xargs -I '{}' ajv -d data/{}.yml -s schema/{}.schema.json --errors=text && node src/scripts/validateData.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sourcegraph/handbook.git"
},
"keywords": [
"sourcegraph",
"handbook"
],
"author": "Sourcegraph",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/sourcegraph/handbook/issues"
},
"homepage": "https://github.com/sourcegraph/handbook#readme",
"eslintConfig": {
"extends": "@sourcegraph/eslint-config",
"parserOptions": {
"project": "tsconfig.json",
"extraFileExtensions": [
".mjs"
]
},
"env": {
"node": true
},
"rules": {
"import/no-default-export": "off"
},
"overrides": [
{
"files": "*.config.js",
"rules": {
"@typescript-eslint/require-await": "off",
"require-await": "off"
}
},
{
"files": "*.mjs",
"rules": {
"import/extensions": [
"error",
"always"
]
}
}
]
},
"packageManager": "[email protected]",
"engines": {
"node": "^v18.9.0",
"pnpm": "^8"
},
"dependencies": {
"@agentofuser/rehype-section": "^1.0.5",
"@stefanprobst/rehype-extract-toc": "^2.1.1",
"@types/js-yaml": "4.0.5",
"@types/mkdirp": "1.0.2",
"@types/unist": "2.0.6",
"bootstrap": "^5.1.3",
"chrono-node": "^2.3.2",
"date-fns": "^2.25.0",
"execa": "^5.1.1",
"gitlog": "^4.0.4",
"gray-matter": "^4.0.3",
"hast-util-find-and-replace": "^4.0.0",
"hast-util-is-element": "^2.1.1",
"hast-util-to-string": "^2.0.0",
"hastscript": "^7.1.0",
"highlight.js": "^11.3.1",
"js-yaml": "^4.1.0",
"mdi-react": "^8.1.0",
"mkdirp": "^1.0.4",
"next": "^12.0.2",
"next-seo": "^4.28.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rehype-autolink-headings": "^6.1.0",
"rehype-highlight": "^6.0.0",
"rehype-raw": "^6.1.0",
"rehype-slug": "^5.0.0",
"rehype-stringify": "^9.0.2",
"rehype-url-inspector": "^2.0.2",
"relateurl": "^0.2.7",
"remark-extract-toc": "^1.1.0",
"remark-gfm": "^3.0.1",
"remark-github": "^11.2.1",
"remark-parse": "^10.0.0",
"retext": "^8.1.0",
"retext-smartypants": "^5.1.0",
"tippy.js": "^6.3.5",
"ts-node": "^10.4.0",
"unified": "^10.1.0",
"unist-util-visit": "^4.1.0",
"vfile": "^5.2.0"
},
"devDependencies": {
"@actions/core": "^1.6.0",
"@sourcegraph/eslint-config": "^0.26.0",
"@sourcegraph/prettierrc": "^3.0.3",
"@sourcegraph/tsconfig": "^4.0.1",
"@types/hast": "^2.3.4",
"@types/line-column": "1.0.0",
"@types/mdast": "^3.0.10",
"@types/node": "^18.11.18",
"@types/react": "18.0.0",
"@types/relateurl": "0.2.29",
"ajv-cli": "^5.0.0",
"chalk": "^4.1.2",
"eslint": "^7.32.0",
"globby": "^11.1.0",
"hast": "^1.0.0",
"hast-util-select": "^5.0.5",
"jest": "^27.4.5",
"line-column": "^1.0.2",
"markdown-link-check": "^3.8.7",
"mdast": "^3.0.0",
"next-sitemap": "^3.1.16",
"prettier": "^2.8.3",
"rehype": "^12.0.1",
"remark-rehype": "^10.1.0",
"sass": "^1.43.4",
"strip-ansi": "^7.0.1",
"typescript": "^4.4.4"
},
"resolutions": {
"unist-util-is": "5.1.1",
"unist-util-visit-parents": "5.1.0"
}
}