Skip to content

Commit

Permalink
Merge pull request #4608 from bcakmakoglu/feat/pkg-json-links
Browse files Browse the repository at this point in the history
feat(react,svelte): add homepage, repo and issues links to package.json
  • Loading branch information
moklick authored Sep 2, 2024
2 parents d03cd6b + 2e3b56b commit 5032f56
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand All @@ -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",
Expand Down
9 changes: 9 additions & 0 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5032f56

Please sign in to comment.