@xyflow/svelte
Version:
Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.
101 lines • 2.9 kB
JSON
{
"name": "@xyflow/svelte",
"version": "1.2.4",
"description": "Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.",
"keywords": [
"svelte",
"node-based UI",
"graph",
"diagram",
"workflow",
"svelte-flow",
"xyflow"
],
"repository": {
"type": "git",
"url": "https://github.com/xyflow/xyflow.git",
"directory": "packages/svelte"
},
"homepage": "https://svelteflow.dev",
"bugs": {
"url": "https://github.com/xyflow/xyflow/issues"
},
"type": "module",
"module": "./dist/lib/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/lib/index.d.ts",
"svelte": "./dist/lib/index.js",
"default": "./dist/lib/index.js"
},
"./dist/base.css": "./dist/base.css",
"./dist/style.css": "./dist/style.css"
},
"sideEffects": [
"*.css"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@svelte-put/shortcut": "^4.1.0",
"@xyflow/system": "0.0.68"
},
"devDependencies": {
"@eslint/js": "^9.28.0",
"@sveltejs/adapter-auto": "^6.0.1",
"@sveltejs/kit": "^2.21.4",
"@sveltejs/package": "^2.3.11",
"@sveltejs/vite-plugin-svelte": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^8.34.0",
"@typescript-eslint/parser": "^8.34.0",
"autoprefixer": "^10.4.21",
"cssnano": "^7.0.7",
"dotenv": "^16.5.0",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-svelte": "^3.9.2",
"globals": "^16.2.0",
"postcss": "^8.5.4",
"postcss-cli": "^11.0.1",
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-import": "^16.1.0",
"postcss-nested": "^7.0.2",
"postcss-rename": "^0.8.0",
"prettier": "^3.5.3",
"prettier-plugin-svelte": "^3.4.0",
"svelte": "^5.33.19",
"svelte-check": "^4.2.1",
"svelte-eslint-parser": "^1.2.0",
"svelte-preprocess": "^6.0.3",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.34.0"
},
"peerDependencies": {
"svelte": "^5.25.0"
},
"files": [
"dist"
],
"typesVersions": {
">5.0": {
"index": [
"./dist/lib/index.d.ts"
]
}
},
"scripts": {
"dev": "concurrently \"svelte-kit sync && svelte-package -o dist/lib -w\" pnpm:css-watch",
"build": "svelte-kit sync && svelte-package -o dist/lib && pnpm css",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"css": "postcss src/styles/{base,style}.css --config ./../../tooling/postcss-config --dir dist",
"css-watch": "pnpm css --watch",
"lint": "prettier --check . && eslint ./src",
"format": "prettier --write .",
"typecheck": "pnpm check"
}
}