@ebay/nice-dag-react 1.0.26 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +14 -15
- package/LICENSE.md +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebay/nice-dag-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.cjs",
|
|
@@ -17,6 +17,16 @@
|
|
|
17
17
|
"access": "public",
|
|
18
18
|
"registry": "https://registry.npmjs.org/"
|
|
19
19
|
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "rm -rf lib && pnpm build:esm && pnpm build:umd",
|
|
22
|
+
"build:esm": "vite build",
|
|
23
|
+
"build:umd": "vite build -c vite.config.umd.ts",
|
|
24
|
+
"dev": "vite build -w",
|
|
25
|
+
"codecov": "codecov",
|
|
26
|
+
"gendoc": "typedoc",
|
|
27
|
+
"test": "jest",
|
|
28
|
+
"release": "pnpm build && pnpm version patch && yarn publish"
|
|
29
|
+
},
|
|
20
30
|
"files": [
|
|
21
31
|
"/lib"
|
|
22
32
|
],
|
|
@@ -88,7 +98,7 @@
|
|
|
88
98
|
"vite-plugin-dts": "^1.6.6"
|
|
89
99
|
},
|
|
90
100
|
"dependencies": {
|
|
91
|
-
"@ebay/nice-dag-core": "
|
|
101
|
+
"@ebay/nice-dag-core": "workspace:^"
|
|
92
102
|
},
|
|
93
103
|
"peerDependencies": {
|
|
94
104
|
"react": ">16.8.0",
|
|
@@ -111,16 +121,5 @@
|
|
|
111
121
|
"dom",
|
|
112
122
|
"dagre",
|
|
113
123
|
"dnd"
|
|
114
|
-
]
|
|
115
|
-
|
|
116
|
-
"build": "rm -rf lib && pnpm build:esm && pnpm build:umd",
|
|
117
|
-
"build:esm": "vite build",
|
|
118
|
-
"build:umd": "vite build -c vite.config.umd.ts",
|
|
119
|
-
"dev": "vite build -w",
|
|
120
|
-
"codecov": "codecov",
|
|
121
|
-
"gendoc": "typedoc",
|
|
122
|
-
"test": "jest",
|
|
123
|
-
"release": "pnpm build && pnpm version patch && yarn publish"
|
|
124
|
-
},
|
|
125
|
-
"readme": "# nice-dag-react\n[](https://www.npmjs.com/package/@ebay/nice-dag-react)\n[](https://www.npmjs.com/package/@ebay/nice-dag-react)\n[](https://opensource.ebay.com/nice-dag/examples/react/index.html)\n[](https://github.com/eBay/nice-dag/blob/main/LICENSE.md)\n\n## What is nice-dag-react?\n\n`nice-dag-react` is a wrapper of DOM operations given by [nice-dag-core](https://www.npmjs.com/package/@ebay/nice-dag-core). In terms of **React** based **DAG Diagram** or **Flow Editor**, you can simply use this customized **react hook** which is given by [nice-dag-react](https://www.npmjs.com/package/@ebay/nice-dag-react) module. \n\n## Installation\n\nIf your project is using yarn, you can run the command.\n\n```\nyarn add @ebay/nice-dag-core\nyarn add @ebay/nice-dag-react\n```\n\nIf your projet is using npm, you can run the command.\n\n```\nnpm install @ebay/nice-dag-core\nnpm install @ebay/nice-dag-react\n```\n\nFor more details, please you can visit [Doc Portal](https://opensource.ebay.com/nice-dag/docs/api-ref/useNiceDag).\n"
|
|
126
|
-
}
|
|
124
|
+
]
|
|
125
|
+
}
|
package/LICENSE.md
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Copyright 2021 eBay Inc.
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
-
|
|
5
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
-
|
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|