forked from hashicorp/web-unified-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.99 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.99 KB
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
{
"private": true,
"name": "web-unified-docs",
"engines": {
"node": ">=22"
},
"imports": {
"#utils/*": "./app/utils/*",
"#api/*": "./app/api/*",
"#productConfig.mjs": "./productConfig.mjs",
"#scriptUtils/*": "./scripts/utils/*"
},
"scripts": {
"dev": "npm run watch-content & dotenvx run -- next dev",
"prebuild": "node scripts/prebuild/run-prebuild.mjs",
"build": "next build",
"start": "next start",
"test": "vitest",
"coverage": "vitest run -c vitest.config.mjs --coverage",
"lint": "eslint --fix '**/*.{js,mjs,cjs,ts,jsx,tsx}'",
"format": "prettier --write '**/*.{js,mjs,cjs,ts,jsx,tsx}'",
"watch-content": "dotenvx run -- node scripts/watch-content.mjs",
"algolia": "dotenvx run -- node scripts/algolia/batch-post-records/index.mjs",
"prepare": "husky",
"content-dev": "make",
"content-dev:clean": "make clean",
"broken-link": "node scripts/broken-link.mjs",
"compare-api-responses": "node scripts/compare-api-responses/index.mjs",
"compile-prebuild": "npm run compile-prebuild:arm-linux && npm run compile-prebuild:arm-mac && npm run compile-prebuild:x64-linux",
"compile-prebuild:arm-linux": "bun build --compile --target=bun-linux-arm64 --minify --sourcemap --bytecode ./scripts/prebuild/prebuild.mjs --outfile ./scripts/prebuild/prebuild-arm-linux-binary && gzip ./scripts/prebuild/prebuild-arm-linux-binary --force",
"compile-prebuild:arm-mac": "bun build --compile --target=bun-darwin-arm64 --minify --sourcemap --bytecode ./scripts/prebuild/prebuild.mjs --outfile ./scripts/prebuild/prebuild-arm-mac-binary && gzip ./scripts/prebuild/prebuild-arm-mac-binary --force",
"compile-prebuild:x64-linux": "bun build --compile --target=bun-linux-x64-modern --minify --sourcemap --bytecode ./scripts/prebuild/prebuild.mjs --outfile ./scripts/prebuild/prebuild-x64-linux-binary && gzip ./scripts/prebuild/prebuild-x64-linux-binary --force"
},
"dependencies": {
"@mdx-js/util": "^1.6.22",
"algoliasearch": "^5.21.0",
"gray-matter": "^4.0.3",
"next": "^14.2.17",
"path-to-regexp": "^6.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remark": "^12.0.1",
"remark-mdx": "^1.6.22",
"semver": "^7.7.1",
"unist-util-flatmap": "^1.0.0",
"unist-util-visit": "^2.0.3"
},
"devDependencies": {
"@dotenvx/dotenvx": "^1.21.0",
"@eslint/js": "^9.13.0",
"@types/node": "20.4.5",
"@types/react": "18.2.18",
"@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^2.1.3",
"bun": "^1.2.21",
"commander": "^13.1.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-no-barrel-files": "^1.1.1",
"eslint-plugin-react": "^7.37.2",
"globals": "^15.11.0",
"husky": "^9.1.4",
"jest-diff": "^29.7.0",
"jsonc-parser": "^3.3.1",
"lint-staged": "^15.2.9",
"memfs": "^4.14.0",
"prettier": "^3.3.3",
"strip-ansi": "^7.1.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.11.0",
"vite-tsconfig-paths": "^5.1.3",
"vitest": "^2.1.3"
},
"lint-staged": {
"**/*.{js,mjs,cjs,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write"
]
}
}