oxc/website/package.json
IWANABETHATGUY 0a9c548332
feat(playground): bidirectional inspect ast node (#1619)
1. Before we implement inspect the source code via the related AST node.

2. This pull request implemented the reverse process, you can inspect
the related ast node by clicking the source code, also it would scroll
the corresponding ast node into the viewport after you click source
code.
2023-12-04 00:18:54 +08:00

50 lines
1.7 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/wasm-web --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/wasm-web --target web --release --scope oxc ../crates/oxc_wasm"
},
"dependencies": {
"@codemirror/autocomplete": "^6.9.1",
"@codemirror/commands": "^6.3.0",
"@codemirror/lang-javascript": "^6.2.1",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/lang-rust": "^6.0.1",
"@codemirror/language": "^6.9.1",
"@codemirror/lint": "^6.4.2",
"@codemirror/state": "^6.2.1",
"@codemirror/view": "^6.21.0",
"@ddietr/codemirror-themes": "1.4.1",
"@lezer/json": "^1.0.1",
"@replit/codemirror-vscode-keymap": "^6.0.2",
"cm6-graphql": "^0.0.9",
"codemirror": "^6.0.1",
"graphql": "^16.8.1",
"graphql-language-service": "5.1.7",
"lodash.throttle": "^4.1.1",
"lzma": "^2.3.2"
},
"devDependencies": {
"@lezer/common": "^1.1.1",
"@oxc/wasm-web": "link:../npm/wasm-web",
"concurrently": "^8.2.1",
"vite": "^4.4.9",
"wasm-pack": "^0.11.1"
},
"engines": {
"node": ">=16.13.0",
"pnpm": ">=8.0.0"
},
"packageManager": "pnpm@8.2.0",
"pnpm": {
"patchedDependencies": {
"graphql-language-service@5.1.7": "patches/graphql-language-service@5.1.7.patch",
"@ddietr/codemirror-themes@1.4.1": "patches/@ddietr__codemirror-themes@1.4.1.patch"
}
}
}