{ "name": "graphite-web-frontend", "private": true, "description": "Graphite's web app frontend.", "author": "Graphite Authors ", "browserslist": "> 1.5%, last 2 versions, not dead, not ie 11, not op_mini all, not ios_saf < 13", "type": "module", "scripts": { "---------- DEV SERVER ----------": "", "start": "npm run setup && npm run wasm:build-dev && concurrently -k -n \"VITE,RUST\" \"vite\" \"npm run wasm:watch-dev\"", "profiling": "npm run setup && npm run wasm:build-profiling && concurrently -k -n \"VITE,RUST\" \"vite\" \"npm run wasm:watch-profiling\"", "production": "npm run setup && npm run wasm:build-production && concurrently -k -n \"VITE,RUST\" \"vite\" \"npm run wasm:watch-production\"", "---------- BUILDS ----------": "", "build": "npm run setup && npm run wasm:build-production && vite build", "build-dev": "npm run setup && npm run wasm:build-dev && vite build --mode dev", "build-profiling": "npm run setup && npm run wasm:build-profiling && vite build --mode dev", "build-native": "npm run setup && npm run native:build-production", "build-native-dev": "npm run setup && npm run native:build-dev", "---------- UTILITIES ----------": "", "lint": "eslint . && tsc --noEmit", "lint-fix": "eslint . --fix && tsc --noEmit", "---------- INTERNAL ----------": "", "setup": "node package-installer.js && node branding-installer.js", "native:build-dev": "wasm-pack build ./wasm --dev --target=web --no-default-features --features native && vite build --mode native", "native:build-production": "wasm-pack build ./wasm --release --target=web --no-default-features --features native && vite build --mode native", "wasm:build-dev": "wasm-pack build ./wasm --dev --target=web", "wasm:build-profiling": "wasm-pack build ./wasm --profiling --target=web", "wasm:build-production": "wasm-pack build ./wasm --release --target=web", "wasm:watch-dev": "cargo watch --postpone --watch-when-idle --workdir=wasm --shell \"wasm-pack build . --dev --target=web -- --color=always\"", "wasm:watch-profiling": "cargo watch --postpone --watch-when-idle --workdir=wasm --shell \"wasm-pack build . --profiling --target=web -- --color=always\"", "wasm:watch-production": "cargo watch --postpone --watch-when-idle --workdir=wasm --shell \"wasm-pack build . --release --target=web -- --color=always\"" }, "//": "NOTE: `source-sans-pro` is never to be upgraded to 3.x because that renders a pixel above its intended position.", "dependencies": { "class-transformer": "^0.5.1", "idb-keyval": "^6.2.2", "reflect-metadata": "^0.2.2", "source-code-pro": "2.42.0", "source-sans-pro": "2.45.0" }, "devDependencies": { "@eslint/compat": "^2.0.1", "@eslint/eslintrc": "^3.3.3", "@eslint/js": "^9.39.2", "@sveltejs/vite-plugin-svelte": "^6.2.4", "@types/node": "^25.0.9", "buffer": "^6.0.3", "concurrently": "^9.2.1", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import": "^2.32.0", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-svelte": "^3.14.0", "globals": "^17.0.0", "license-checker-rseidelsohn": "^4.4.2", "postcss": "^8.5.6", "prettier-plugin-svelte": "^3.4.1", "prettier": "^3.8.0", "process": "^0.11.10", "sass": "^1.97.2", "svelte-preprocess": "^6.0.3", "svelte": "5.47.1", "tar": "^7.5.4", "ts-node": "^10.9.2", "typescript-eslint": "^8.53.1", "typescript": "^5.9.3", "vite-multiple-assets": "2.2.6", "vite": "^7.3.1" }, "homepage": "https://graphite.art", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/GraphiteEditor/Graphite.git" } }