{ "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", "alias": { "@graphite-frontend/*": "~/$1", "@graphite/../assets/*": "~/assets/$1", "@graphite/../public/*": "~/public/$1", "@graphite/*": "~/src/$1" }, "scripts": { "start": "npm run build-wasm && concurrently -k \"parcel serve --no-cache index.html --port 8080\" \"npm run watch:wasm\" || (npm run print-building-help && exit 1)", "start-profiling": "npm run build-wasm-profiling && concurrently -k \"parcel serve --no-cache index.html --port 8080\" \"npm run watch:wasm-profiling\" || (npm run print-building-help && exit 1)", "build": "npm run build-wasm-prod && npm run build-licenses && parcel build index.html || (npm run print-building-help && exit 1)", "build-licenses": "webpack build", "tauri:dev": "echo 'Make sure you build the wasm binary for tauri using `npm run tauri:build-wasm`' && parcel serve --no-cache index.html --port 8080", "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: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": { "@parcel/config-default": "^2.9.3", "@parcel/packager-raw-url": "^2.9.3", "@parcel/optimizer-data-url": "^2.9.3", "@parcel/transformer-inline-string": "^2.9.3", "@parcel/transformer-webmanifest": "^2.9.3", "@types/license-checker-webpack-plugin": "^0.2.1", "@types/node": "^18.16.2", "@types/webpack": "^5.28.1", "buffer": "^5.7.1", "concurrently": "^8.0.1", "license-checker-webpack-plugin": "^0.2.1", "parcel": "^2.9.3", "parcel-transformer-svelte3-plus": "^0.2.9", "postcss": "^8.4.23", "process": "^0.11.10", "sass": "^1.62.1", "svelte": "^3.58.0", "svelte-preprocess": "^5.0.3", "ts-node": "^10.9.1", "typescript": "^5.0.4", "webpack": "^5.81.0", "webpack-cli": "^5.0.2" }, "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" } }