mirror of https://github.com/astral-sh/ruff
46 lines
1.4 KiB
JSON
46 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.40.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-resizable-panels": "^0.0.54"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.0.26",
|
|
"@types/react-dom": "^18.0.9",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"@vitejs/plugin-react-swc": "^3.0.0",
|
|
"autoprefixer": "^10.4.13",
|
|
"eslint": "^8.30.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
"eslint-plugin-react": "^7.31.11",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"postcss": "^8.4.20",
|
|
"prettier": "^3.0.0",
|
|
"tailwindcss": "^3.2.4",
|
|
"typescript": "^5.1.6",
|
|
"vite": "^4.0.0"
|
|
}
|
|
}
|