@sunspirytus/xflow 1.0.52
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/LICENSE +21 -0
- package/README.md +21 -0
- package/dist/index.css +1458 -0
- package/dist/index.umd.js +72 -0
- package/dist/index.umd.js.map +1 -0
- package/es/core/index.d.ts +84 -0
- package/es/core/index.js +92 -0
- package/es/core/index.js.map +1 -0
- package/es/core/style/index.css +108 -0
- package/es/core/style/index.less +4 -0
- package/es/extensions/index.d.ts +28 -0
- package/es/extensions/index.js +29 -0
- package/es/extensions/index.js.map +1 -0
- package/es/extensions/style/index.css +1350 -0
- package/es/extensions/style/index.less +2 -0
- package/es/hook/index.d.ts +1 -0
- package/es/hook/index.js +2 -0
- package/es/hook/index.js.map +1 -0
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -0
- package/es/index.js.map +1 -0
- package/es/style/components.css +1458 -0
- package/es/style/components.less +2 -0
- package/lib/core/index.d.ts +84 -0
- package/lib/core/index.js +150 -0
- package/lib/core/index.js.map +1 -0
- package/lib/core/style/index.css +108 -0
- package/lib/core/style/index.less +4 -0
- package/lib/extensions/index.d.ts +28 -0
- package/lib/extensions/index.js +68 -0
- package/lib/extensions/index.js.map +1 -0
- package/lib/extensions/style/index.css +1350 -0
- package/lib/extensions/style/index.less +2 -0
- package/lib/hook/index.d.ts +1 -0
- package/lib/hook/index.js +7 -0
- package/lib/hook/index.js.map +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -0
- package/lib/style/components.css +1458 -0
- package/lib/style/components.less +2 -0
- package/package.json +88 -0
package/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": false,
|
|
3
|
+
"name": "@sunspirytus/xflow",
|
|
4
|
+
"version": "1.0.52",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"module": "es/index.js",
|
|
8
|
+
"typings": "es/index.d.ts",
|
|
9
|
+
"unpkg": "dist/index.umd.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"lib",
|
|
13
|
+
"es"
|
|
14
|
+
],
|
|
15
|
+
"gitHooks": {
|
|
16
|
+
"pre-commit": "lint-staged"
|
|
17
|
+
},
|
|
18
|
+
"lint-staged": {
|
|
19
|
+
"*.{js,jsx,less,md,json}": [
|
|
20
|
+
"prettier --write"
|
|
21
|
+
],
|
|
22
|
+
"*.ts?(x)": [
|
|
23
|
+
"prettier --parser=typescript --write"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"registry": "https://registry.npmjs.org"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@antv/layout": "^0.1.22",
|
|
31
|
+
"@antv/x6": "^1.30.1",
|
|
32
|
+
"@antv/x6-react-components": "^1.1.15",
|
|
33
|
+
"@antv/x6-react-shape": "^1.5.2",
|
|
34
|
+
"@sunspirytus/xflow-core": "1.0.52",
|
|
35
|
+
"@sunspirytus/xflow-extension": "1.0.52",
|
|
36
|
+
"@sunspirytus/xflow-hook": "1.0.52"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@rollup/plugin-commonjs": "^20.0.0",
|
|
40
|
+
"@rollup/plugin-node-resolve": "^13.1.1",
|
|
41
|
+
"@rollup/plugin-replace": "^3.0.0",
|
|
42
|
+
"@rollup/plugin-typescript": "^8.3.0",
|
|
43
|
+
"fs-extra": "^10.0.0",
|
|
44
|
+
"less": "^4.1.2",
|
|
45
|
+
"less-plugin-npm-import": "^2.1.0",
|
|
46
|
+
"lint-staged": "^11.2.6",
|
|
47
|
+
"npm-run-all": "^4.1.5",
|
|
48
|
+
"postcss": "^8.4.5",
|
|
49
|
+
"rimraf": "^3.0.2",
|
|
50
|
+
"rollup": "^2.61.1",
|
|
51
|
+
"rollup-plugin-auto-external": "^2.0.0",
|
|
52
|
+
"rollup-plugin-filesize": "^9.1.1",
|
|
53
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
54
|
+
"rollup-plugin-progress": "^1.1.2",
|
|
55
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
56
|
+
"tslib": "^2.3.1",
|
|
57
|
+
"typescript": "^4.5.4"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@ant-design/icons": "^4.6.0",
|
|
61
|
+
"antd": "^4.6.3",
|
|
62
|
+
"lodash": "^4.17.20",
|
|
63
|
+
"react": "^16.8.0 || ^17.0.0",
|
|
64
|
+
"react-dom": "^16.8.0 || ^17.0.0"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"clean": "rimraf dist es lib",
|
|
68
|
+
"start": "pnpm build:watch",
|
|
69
|
+
"build:esm": "tsc --module es6 --target es6 --outDir ./es",
|
|
70
|
+
"build:cjs": "tsc --module commonjs --target es5 --outDir ./lib",
|
|
71
|
+
"build:umd": "rollup -c",
|
|
72
|
+
"build:watch": "pnpm build:esm --w",
|
|
73
|
+
"build:watch:esm": "pnpm build:esm -- --w",
|
|
74
|
+
"build:watch:cjs": "pnpm build:cjs -- --w",
|
|
75
|
+
"build:ts": "run-p build:cjs build:esm build:umd",
|
|
76
|
+
"build:less": "node ./scripts/less.js",
|
|
77
|
+
"build": "run-s build:ts build:less",
|
|
78
|
+
"prebuild": "run-s lint clean",
|
|
79
|
+
"release": "pnpm publish -- --access=public",
|
|
80
|
+
"lint": "run-s lint:ts ",
|
|
81
|
+
"lint:ts": "eslint 'src/**/*.{js,ts}?(x)' --fix",
|
|
82
|
+
"lint:style": "stylelint 'src/**/*.less' --syntax less --fix",
|
|
83
|
+
"lint:prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
84
|
+
"test": "jest --verbose true",
|
|
85
|
+
"test:coverage": "jest --coverage"
|
|
86
|
+
},
|
|
87
|
+
"readme": "# @antv/xflow\n\n## Getting Started\n\nInstall dependencies\n\n```bash\n$ npm i\n```\n\nwatch file change\n\n```bash\n$ npm start\n```\n\nrelease version\n\n```bash\n$ npm run release\n```\n"
|
|
88
|
+
}
|