Files
xyflow/packages/svelte/package.json
2024-03-16 12:22:07 +01:00

89 lines
2.5 KiB
JSON

{
"name": "@xyflow/svelte",
"version": "0.0.39",
"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"
],
"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 --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --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": "^3.1.0",
"@xyflow/system": "workspace:*",
"classcat": "^5.0.4",
"svelte-preprocess": "^5.1.3"
},
"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",
"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"
]
}
}
}