| { | |
| "name": "@xyflow/svelte", | |
| "version": "0.1.19", | |
| "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": { | |
| ".": { | |
| "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": "^3.1.0", | |
| "classcat": "^5.0.4", | |
| "@xyflow/system": "0.0.42" | |
| }, | |
| "devDependencies": { | |
| "@sveltejs/adapter-auto": "^3.1.1", | |
| "@sveltejs/kit": "^2.5.4", | |
| "@sveltejs/package": "^2.3.0", | |
| "@typescript-eslint/eslint-plugin": "^7.2.0", | |
| "@typescript-eslint/parser": "^7.2.0", | |
| "autoprefixer": "^10.4.18", | |
| "cssnano": "^6.1.0", | |
| "dotenv": "^16.4.5", | |
| "eslint": "^8.57.0", | |
| "eslint-config-prettier": "^9.1.0", | |
| "eslint-plugin-svelte": "^2.35.1", | |
| "postcss": "^8.4.35", | |
| "postcss-cli": "^11.0.0", | |
| "postcss-combine-duplicated-selectors": "^10.0.3", | |
| "postcss-import": "^16.0.1", | |
| "postcss-nested": "^6.0.1", | |
| "postcss-rename": "^0.6.1", | |
| "prettier": "^3.2.5", | |
| "prettier-plugin-svelte": "^3.2.2", | |
| "svelte": "^4.2.12", | |
| "svelte-check": "^3.6.7", | |
| "svelte-eslint-parser": "^0.33.1", | |
| "svelte-preprocess": "^5.1.3", | |
| "tslib": "^2.6.2", | |
| "typescript": "5.4.2" | |
| }, | |
| "peerDependencies": { | |
| "svelte": "^3.0.0 || ^4.0.0" | |
| }, | |
| "files": [ | |
| "dist" | |
| ], | |
| "typesVersions": { | |
| ">4.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" | |
| } | |
| } |