Merge pull request #4608 from bcakmakoglu/feat/pkg-json-links

feat(react,svelte): add homepage, repo and issues links to package.json
This commit is contained in:
Moritz Klack
2024-09-02 10:21:29 +02:00
committed by GitHub
2 changed files with 18 additions and 5 deletions

View File

@@ -11,6 +11,15 @@
"react-flow",
"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": [
"dist"
],
@@ -34,11 +43,6 @@
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/xyflow/xyflow.git",
"directory": "packages/react"
},
"scripts": {
"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",

View File

@@ -11,6 +11,15 @@
"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",