oxc/website/package.json
Don Isaac f96b6b18c9
build(website): use typescript (#3653)
Co-authored-by: Boshen <boshenc@gmail.com>
2024-06-13 15:02:32 +08:00

45 lines
1.5 KiB
JSON

{
"name": "oxc-website",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "pnpm run wasm-dev && concurrently 'vite' 'cd .. && cargo watch --workdir website -s \"pnpm run wasm-dev\"'",
"wasm-dev": "wasm-pack build --out-dir ../../npm/oxc-wasm --target web --dev --scope oxc ../crates/oxc_wasm",
"build": "pnpm run wasm-build && vite build --base=https://oxc-project.github.io/oxc/",
"wasm-build": "wasm-pack build --out-dir ../../npm/oxc-wasm --target web --release --scope oxc ../crates/oxc_wasm",
"lint": "oxlint"
},
"dependencies": {
"@codemirror/autocomplete": "^6.16.2",
"@codemirror/commands": "^6.6.0",
"@codemirror/lang-javascript": "^6.2.2",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-rust": "^6.0.1",
"@codemirror/language": "^6.10.2",
"@codemirror/lint": "^6.8.0",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.27.0",
"@ddietr/codemirror-themes": "^1.4.2",
"@lezer/json": "^1.0.2",
"@replit/codemirror-vscode-keymap": "^6.0.2",
"codemirror": "^6.0.1",
"lodash.throttle": "^4.1.1",
"lzma": "^2.3.2"
},
"devDependencies": {
"@types/lodash.throttle": "^4.1.9",
"@types/lzma": "^2.3.0",
"@lezer/common": "^1.2.1",
"oxlint": "link:../apps/oxlint",
"@oxc/oxc_wasm": "link:../npm/oxc-wasm",
"concurrently": "^8.2.2",
"vite": "^5.2.13",
"wasm-pack": "^0.12.1"
},
"engines": {
"node": ">=20.14.0",
"pnpm": ">=9.2.0"
},
"packageManager": "pnpm@9.2.0"
}