99 lines
2.7 KiB
JSON
99 lines
2.7 KiB
JSON
{
|
|
"name": "@xyflow/svelte",
|
|
"version": "0.1.29",
|
|
"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"
|
|
},
|
|
"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"
|
|
},
|
|
"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": "^4.1.0",
|
|
"@xyflow/system": "workspace:*",
|
|
"classcat": "^5.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-auto": "^4.0.0",
|
|
"@sveltejs/kit": "^2.16.0",
|
|
"@sveltejs/package": "^2.3.7",
|
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.21.0",
|
|
"@typescript-eslint/parser": "^8.21.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"cssnano": "^7.0.6",
|
|
"dotenv": "^16.4.7",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-svelte": "^2.46.1",
|
|
"postcss": "^8.5.1",
|
|
"postcss-cli": "^11.0.0",
|
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
"postcss-import": "^16.1.0",
|
|
"postcss-nested": "^7.0.2",
|
|
"postcss-rename": "^0.6.1",
|
|
"prettier": "^3.4.2",
|
|
"prettier-plugin-svelte": "^3.3.3",
|
|
"svelte": "^5.19.0",
|
|
"svelte-check": "^4.1.4",
|
|
"svelte-eslint-parser": "^0.43.0",
|
|
"svelte-preprocess": "^6.0.3",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "^5.7.3"
|
|
},
|
|
"peerDependencies": {
|
|
"svelte": "^5.7.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"typesVersions": {
|
|
">5.0": {
|
|
"index": [
|
|
"./dist/lib/index.d.ts"
|
|
]
|
|
}
|
|
}
|
|
}
|