@zjlab-fe/data-hub-ui 0.1.0 → 0.1.1
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/dist/types/components/file-preview/index.d.ts +1 -1
- package/dist/types/demo/doc-site/components/demo/index.d.ts +7 -0
- package/dist/types/demo/doc-site/components/index.d.ts +1 -1
- package/dist/types/demo/doc-site/home/index.d.ts +1 -0
- package/dist/types/demo/doc-site/index.d.ts +3 -0
- package/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +102 -100
- package/build/index.html +0 -20
- package/build/static/main.e27916db0c5de839c618.js +0 -2
- package/build/static/main.e27916db0c5de839c618.js.LICENSE.txt +0 -124
package/package.json
CHANGED
|
@@ -1,100 +1,102 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zjlab-fe/data-hub-ui",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"main": "lib/index.js",
|
|
5
|
-
"module": "es/index.js",
|
|
6
|
-
"types": "dist/types/index.d.ts",
|
|
7
|
-
"license": "ISC",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"start": "cross-env NODE_ENV=development webpack-dev-server --open /fe-assets/data-hub-ui/demo --config webpack.dev.config.js",
|
|
10
|
-
"build": "npm run build:lib & npm run build:es",
|
|
11
|
-
"build:doc": "cross-env NODE_ENV=production webpack --config webpack.dev.config.js",
|
|
12
|
-
"build:lib": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js",
|
|
13
|
-
"build:es": "cross-env NODE_ENV=production OUTPUT_TYPE=module webpack --config webpack.prod.config.js",
|
|
14
|
-
"lint": "npm run lint-eslint",
|
|
15
|
-
"lint-eslint": "eslint -c .eslintrc.js --ext .ts,.tsx,.js,.jsx src --fix",
|
|
16
|
-
"prepare": "husky",
|
|
17
|
-
"test": "jest --coverage"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@babel/core": "^7.24.7",
|
|
21
|
-
"@babel/preset-env": "^7.25.7",
|
|
22
|
-
"@babel/preset-react": "^7.24.7",
|
|
23
|
-
"@babel/preset-typescript": "^7.25.7",
|
|
24
|
-
"@jest/globals": "^29.7.0",
|
|
25
|
-
"@testing-library/dom": "^10.4.0",
|
|
26
|
-
"@testing-library/react": "^16.0.1",
|
|
27
|
-
"@types/filesystem": "^0.0.36",
|
|
28
|
-
"@types/jest": "^29.5.13",
|
|
29
|
-
"@types/pdfjs-dist": "^2.10.378",
|
|
30
|
-
"@types/react": "^18.3.3",
|
|
31
|
-
"@types/react-dom": "^18.3.0",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
33
|
-
"@typescript-eslint/parser": "^7.16.0",
|
|
34
|
-
"babel-jest": "^29.7.0",
|
|
35
|
-
"babel-loader": "^9.1.3",
|
|
36
|
-
"babel-preset-react-app": "^10.0.1",
|
|
37
|
-
"cross-env": "^7.0.3",
|
|
38
|
-
"css-loader": "^7.1.2",
|
|
39
|
-
"eslint": "8.x",
|
|
40
|
-
"eslint-config-prettier": "^9.1.0",
|
|
41
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
42
|
-
"eslint-plugin-react": "^7.34.4",
|
|
43
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
44
|
-
"file-loader": "^6.2.0",
|
|
45
|
-
"html-webpack-plugin": "^5.6.0",
|
|
46
|
-
"husky": "^9.0.11",
|
|
47
|
-
"jest": "^29.7.0",
|
|
48
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
49
|
-
"lint-staged": "^15.2.7",
|
|
50
|
-
"mini-css-extract-plugin": "^2.9.0",
|
|
51
|
-
"postcss": "^8.4.47",
|
|
52
|
-
"postcss-loader": "^8.1.1",
|
|
53
|
-
"postcss-nested": "^6.2.0",
|
|
54
|
-
"prettier": "^3.3.3",
|
|
55
|
-
"raw-loader": "^4.0.2",
|
|
56
|
-
"react-markdown": "^9.0.1",
|
|
57
|
-
"react-
|
|
58
|
-
"
|
|
59
|
-
"sass
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"ts-
|
|
63
|
-
"ts-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"webpack
|
|
68
|
-
"webpack-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"react
|
|
81
|
-
"react-
|
|
82
|
-
"react-
|
|
83
|
-
"react-router
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zjlab-fe/data-hub-ui",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"main": "lib/index.js",
|
|
5
|
+
"module": "es/index.js",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"start": "cross-env NODE_ENV=development webpack-dev-server --open /fe-assets/data-hub-ui/demo --config webpack.dev.config.js",
|
|
10
|
+
"build": "npm run build:lib & npm run build:es",
|
|
11
|
+
"build:doc": "cross-env NODE_ENV=production webpack --config webpack.dev.config.js",
|
|
12
|
+
"build:lib": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js",
|
|
13
|
+
"build:es": "cross-env NODE_ENV=production OUTPUT_TYPE=module webpack --config webpack.prod.config.js",
|
|
14
|
+
"lint": "npm run lint-eslint",
|
|
15
|
+
"lint-eslint": "eslint -c .eslintrc.js --ext .ts,.tsx,.js,.jsx src --fix",
|
|
16
|
+
"prepare": "husky",
|
|
17
|
+
"test": "jest --coverage"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@babel/core": "^7.24.7",
|
|
21
|
+
"@babel/preset-env": "^7.25.7",
|
|
22
|
+
"@babel/preset-react": "^7.24.7",
|
|
23
|
+
"@babel/preset-typescript": "^7.25.7",
|
|
24
|
+
"@jest/globals": "^29.7.0",
|
|
25
|
+
"@testing-library/dom": "^10.4.0",
|
|
26
|
+
"@testing-library/react": "^16.0.1",
|
|
27
|
+
"@types/filesystem": "^0.0.36",
|
|
28
|
+
"@types/jest": "^29.5.13",
|
|
29
|
+
"@types/pdfjs-dist": "^2.10.378",
|
|
30
|
+
"@types/react": "^18.3.3",
|
|
31
|
+
"@types/react-dom": "^18.3.0",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
33
|
+
"@typescript-eslint/parser": "^7.16.0",
|
|
34
|
+
"babel-jest": "^29.7.0",
|
|
35
|
+
"babel-loader": "^9.1.3",
|
|
36
|
+
"babel-preset-react-app": "^10.0.1",
|
|
37
|
+
"cross-env": "^7.0.3",
|
|
38
|
+
"css-loader": "^7.1.2",
|
|
39
|
+
"eslint": "8.x",
|
|
40
|
+
"eslint-config-prettier": "^9.1.0",
|
|
41
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
42
|
+
"eslint-plugin-react": "^7.34.4",
|
|
43
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
44
|
+
"file-loader": "^6.2.0",
|
|
45
|
+
"html-webpack-plugin": "^5.6.0",
|
|
46
|
+
"husky": "^9.0.11",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
49
|
+
"lint-staged": "^15.2.7",
|
|
50
|
+
"mini-css-extract-plugin": "^2.9.0",
|
|
51
|
+
"postcss": "^8.4.47",
|
|
52
|
+
"postcss-loader": "^8.1.1",
|
|
53
|
+
"postcss-nested": "^6.2.0",
|
|
54
|
+
"prettier": "^3.3.3",
|
|
55
|
+
"raw-loader": "^4.0.2",
|
|
56
|
+
"react-markdown": "^9.0.1",
|
|
57
|
+
"react-syntax-highlighter": "^15.6.1",
|
|
58
|
+
"react-test-renderer": "^18.3.1",
|
|
59
|
+
"sass": "^1.77.6",
|
|
60
|
+
"sass-loader": "^14.2.1",
|
|
61
|
+
"style-loader": "^4.0.0",
|
|
62
|
+
"ts-jest": "^29.2.5",
|
|
63
|
+
"ts-loader": "^9.5.1",
|
|
64
|
+
"ts-node": "^10.9.2",
|
|
65
|
+
"typescript": "^5.6.3",
|
|
66
|
+
"url-loader": "^4.1.1",
|
|
67
|
+
"webpack": "^5.92.1",
|
|
68
|
+
"webpack-cli": "^5.1.4",
|
|
69
|
+
"webpack-dev-server": "^5.0.4"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@ant-design/icons": "^5.3.7",
|
|
73
|
+
"@codesandbox/sandpack-react": "^2.19.9",
|
|
74
|
+
"@zjlab-fe/util": "^0.0.8",
|
|
75
|
+
"antd": "^5.19.2",
|
|
76
|
+
"autoprefixer": "^10.4.20",
|
|
77
|
+
"axios": "^1.7.2",
|
|
78
|
+
"classnames": "^2.5.1",
|
|
79
|
+
"dayjs": "^1.11.11",
|
|
80
|
+
"react": "^18.3.1",
|
|
81
|
+
"react-dom": "^18.3.1",
|
|
82
|
+
"react-json-view": "^1.21.3",
|
|
83
|
+
"react-router": "^6.24.1",
|
|
84
|
+
"react-router-dom": "^6.24.1",
|
|
85
|
+
"remark-gfm": "^4.0.0",
|
|
86
|
+
"tailwindcss": "^3.4.13"
|
|
87
|
+
},
|
|
88
|
+
"husky": {
|
|
89
|
+
"hooks": {
|
|
90
|
+
"pre-commit": "lint-staged"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"lint-staged": {
|
|
94
|
+
"*.{ts,tsx,js,jsx}": [
|
|
95
|
+
"eslint --config .eslintrc.js"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"publishConfig": {
|
|
99
|
+
"registry": "https://registry.npmjs.org/"
|
|
100
|
+
},
|
|
101
|
+
"packageManager": "pnpm@9.12.1+sha256.91452fdfa46234ae447d46d5c4fc4e7e0a7058f90495c4b6f77f8beebbb154e3"
|
|
102
|
+
}
|
package/build/index.html
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>title</title><script>// Single Page Apps for GitHub Pages
|
|
2
|
-
// MIT License
|
|
3
|
-
// https://github.com/rafgraph/spa-github-pages
|
|
4
|
-
// This script checks to see if a redirect is present in the query string,
|
|
5
|
-
// converts it back into the correct url and adds it to the
|
|
6
|
-
// browser's history using window.history.replaceState(...),
|
|
7
|
-
// which won't cause the browser to attempt to load the new url.
|
|
8
|
-
// When the single page app is loaded further down in this file,
|
|
9
|
-
// the correct url will be waiting in the browser's history for
|
|
10
|
-
// the single page app to route accordingly.
|
|
11
|
-
(function(l) {
|
|
12
|
-
if (l.search[1] === '/' ) {
|
|
13
|
-
var decoded = l.search.slice(1).split('&').map(function(s) {
|
|
14
|
-
return s.replace(/~and~/g, '&')
|
|
15
|
-
}).join('?');
|
|
16
|
-
window.history.replaceState(null, null,
|
|
17
|
-
l.pathname.slice(0, -1) + decoded + l.hash
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
}(window.location))</script></head><body><div id="root"></div><script defer="defer" src="/fe-assets/data-hub-ui/static/main.e27916db0c5de839c618.js"></script></body></html>
|