64 lines
2.7 KiB
JSON
64 lines
2.7 KiB
JSON
{
|
|
"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 <contact@graphite.rs>",
|
|
"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 index.html --port 8080\" \"npm run watch:wasm\" || (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 index.html --port 8080",
|
|
"build-wasm": "wasm-pack build ./wasm --dev --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 --workdir wasm --shell \"wasm-pack build . --dev --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/transformer-inline-string": "^2.8.3",
|
|
"@parcel/transformer-webmanifest": "^2.8.3",
|
|
"@types/license-checker-webpack-plugin": "^0.2.1",
|
|
"@types/node": "^18.15.11",
|
|
"@types/webpack": "^5.28.1",
|
|
"buffer": "^5.7.1",
|
|
"concurrently": "^7.6.0",
|
|
"license-checker-webpack-plugin": "^0.2.1",
|
|
"parcel": "^2.8.3",
|
|
"parcel-transformer-svelte3-plus": "^0.2.8",
|
|
"postcss": "^8.4.21",
|
|
"process": "^0.11.10",
|
|
"svelte": "^3.56.0",
|
|
"svelte-preprocess": "^4.10.7",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.9.5",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^5.0.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"wasm-pack": "0.10.3"
|
|
},
|
|
"//": "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"
|
|
}
|
|
}
|