{ "name": "graphite-web-frontend", "private": true, "description": "Graphite's web app frontend. Planned to be replaced by a native GUI written in Rust in the future.", "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": { "start": "npm run build-wasm && concurrently -k -n \"VITE,RUST\" \"vite\" \"npm run watch:wasm\" || (npm run print-building-help && exit 1)", "profiling": "npm run build-wasm-profiling && concurrently -k -n \"VITE,RUST\" \"vite\" \"npm run watch:wasm-profiling\" || (npm run print-building-help && exit 1)", "build": "npm run build-wasm-prod && vite build || (npm run print-building-help && exit 1)", "build-profiling": "npm run build-wasm-profiling && vite build || (npm run print-building-help && exit 1)", "lint": "eslint .", "lint-fix": "eslint . --fix", "--------------------": "", "build-wasm": "wasm-pack build ./wasm --dev --target=web", "build-wasm-profiling": "wasm-pack build ./wasm --profiling --target=web", "build-wasm-prod": "wasm-pack build ./wasm --release --target=web", "tauri": "echo 'Make sure you build the wasm binary for tauri using `npm run tauri:build-wasm`' && vite", "tauri:build-wasm": "wasm-pack build ./wasm --release --target=web -- --features tauri", "watch:wasm": "cargo watch --postpone --watch-when-idle --workdir=wasm --shell \"wasm-pack build . --dev --target=web -- --color=always\"", "watch:wasm-profiling": "cargo watch --postpone --watch-when-idle --workdir=wasm --shell \"wasm-pack build . --profiling --target=web -- --color=always\"", "print-building-help": "echo 'Graphite project failed to build. Did you remember to `npm install` the dependencies in `/frontend`?'", "print-linting-help": "echo 'Graphite project had lint errors, or may have otherwise failed. In the latter case, did you remember to `npm install` the dependencies in `/frontend`?'" }, "dependencies": { "@tauri-apps/api": "^1.2.0", "class-transformer": "^0.5.1", "idb-keyval": "^6.2.0", "reflect-metadata": "^0.1.13" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^2.4.2", "@types/node": "^18.16.2", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", "buffer": "^5.7.1", "concurrently": "^8.0.1", "eslint-config-prettier": "^9.0.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-svelte": "^2.35.0", "postcss": "^8.4.23", "prettier": "^3.1.0", "prettier-plugin-svelte": "^3.1.0", "process": "^0.11.10", "rollup-plugin-license": "^3.2.0", "sass": "^1.62.1", "svelte": "^3.58.0", "svelte-preprocess": "^5.0.3", "ts-node": "^10.9.1", "typescript": "^5.0.4", "vite": "^4.4.5" }, "optionalDependencies": { "wasm-pack": "0.12.1" }, "//": "Notes about dependency issues and incompatibilities should be added here when needed.", "homepage": "https://graphite.rs", "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/GraphiteEditor/Graphite.git" } }