feat(react,svelte): add homepage, repo and issues links to package.json

This commit is contained in:
braks
2024-08-30 12:57:38 +02:00
parent 7b8fe28b37
commit 2e3b56be44
2 changed files with 18 additions and 5 deletions
+9 -5
View File
@@ -11,6 +11,15 @@
"react-flow", "react-flow",
"xyflow" "xyflow"
], ],
"repository": {
"type": "git",
"url": "https://github.com/xyflow/xyflow.git",
"directory": "packages/react"
},
"homepage": "https://reactflow.dev",
"bugs": {
"url": "https://github.com/xyflow/xyflow/issues"
},
"files": [ "files": [
"dist" "dist"
], ],
@@ -34,11 +43,6 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"repository": {
"type": "git",
"url": "https://github.com/xyflow/xyflow.git",
"directory": "packages/react"
},
"scripts": { "scripts": {
"dev": "concurrently \"rollup --config node:@xyflow/rollup-config --watch\" pnpm:css-watch", "dev": "concurrently \"rollup --config node:@xyflow/rollup-config --watch\" pnpm:css-watch",
"build": "rollup --config node:@xyflow/rollup-config --environment NODE_ENV:production && npm run css", "build": "rollup --config node:@xyflow/rollup-config --environment NODE_ENV:production && npm run css",
+9
View File
@@ -11,6 +11,15 @@
"svelte-flow", "svelte-flow",
"xyflow" "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": { "scripts": {
"dev": "concurrently \"svelte-kit sync && svelte-package -o dist/lib -w\" pnpm:css-watch", "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", "build": "svelte-kit sync && svelte-package -o dist/lib && pnpm css",