mirror of https://github.com/astral-sh/ruff
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "playground",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build:wasm": "wasm-pack build ../crates/ruff_wasm --target web --out-dir ../../playground/src/pkg",
|
|
"build": "tsc && vite build",
|
|
"check": "npm run lint && npm run tsc",
|
|
"dev": "vite",
|
|
"dev:wasm": "wasm-pack build ../crates/ruff_wasm --dev --target web --out-dir ../../playground/src/pkg",
|
|
"fmt": "prettier --cache -w .",
|
|
"lint": "eslint --cache --ext .ts,.tsx src",
|
|
"preview": "vite preview",
|
|
"tsc": "tsc"
|
|
},
|
|
"dependencies": {
|
|
"@monaco-editor/react": "^4.4.6",
|
|
"classnames": "^2.3.2",
|
|
"lz-string": "^1.5.0",
|
|
"monaco-editor": "^0.52.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-resizable-panels": "^2.0.0",
|
|
"smol-toml": "^1.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.21.0",
|
|
"@tailwindcss/postcss": "^4.0.9",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@vitejs/plugin-react-swc": "^3.0.0",
|
|
"eslint": "^9.0.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-react": "^7.31.11",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"postcss": "^8.4.20",
|
|
"prettier": "^3.0.0",
|
|
"tailwindcss": "^4.0.9",
|
|
"typescript": "^5.1.6",
|
|
"typescript-eslint": "^8.25.0",
|
|
"vite": "^6.0.0"
|
|
},
|
|
"overrides": {
|
|
"@monaco-editor/react": {
|
|
"react": "$react",
|
|
"react-dom": "$react-dom"
|
|
}
|
|
}
|
|
}
|