@tntd/reference 1.1.5 → 1.2.0
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 +20 -5
- package/umd/tntd-reference.min.css +10449 -0
- package/umd/tntd-reference.min.js +2 -0
- package/umd/tntd-reference.min.js.LICENSE.txt +63 -0
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tntd/reference",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "heft start --storybook",
|
|
7
7
|
"build": "heft build --clean && npm run build:es && npm run build:cjs && npm run post:build",
|
|
8
8
|
"build:es": "rm -rf ./es && npx babel src --out-dir es --copy-files",
|
|
9
9
|
"build:cjs": "babel es --presets @babel/preset-env --out-dir lib",
|
|
10
|
+
"build:umd": "webpack --config webpack.umd.config.js",
|
|
10
11
|
"post:build": "node ./scripts/postbuild.js",
|
|
11
12
|
"build:watch": "heft build --clean --watch",
|
|
12
13
|
"watch": "rush build:watch --changed-projects-only --to-except reference",
|
|
@@ -28,9 +29,20 @@
|
|
|
28
29
|
"react": "~16.14.0",
|
|
29
30
|
"react-dom": "~16.14.0",
|
|
30
31
|
"jest": "~28.1.0",
|
|
32
|
+
"css-loader": "^6.11.0",
|
|
33
|
+
"less": "^3.8.1",
|
|
34
|
+
"less-loader": "^11.1.4",
|
|
35
|
+
"style-loader": "^3.3.4",
|
|
36
|
+
"babel-loader": "^8.0.6",
|
|
37
|
+
"url-loader": "^4.1.0",
|
|
31
38
|
"eslint-plugin-react-hooks": "~4.3.0",
|
|
32
39
|
"eslint": "~8.11.0",
|
|
40
|
+
"babel-plugin-import": "^1.12.0",
|
|
33
41
|
"eslint-plugin-import": "~2.25.4",
|
|
42
|
+
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
43
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
44
|
+
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
|
45
|
+
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
34
46
|
"typescript": "~4.6.2",
|
|
35
47
|
"@types/lodash-es": "~4.17.6",
|
|
36
48
|
"@types/lodash": "~4.14.191",
|
|
@@ -38,14 +50,16 @@
|
|
|
38
50
|
"@babel/cli": "~7.21.0",
|
|
39
51
|
"@babel/core": "~7.21.0",
|
|
40
52
|
"@babel/preset-env": "~7.20.2",
|
|
41
|
-
"@babel/preset-react": "~7.0.0"
|
|
53
|
+
"@babel/preset-react": "~7.0.0",
|
|
54
|
+
"mini-css-extract-plugin": "^2.6.0",
|
|
55
|
+
"webpack": "^5.98.0",
|
|
56
|
+
"webpack-cli": "^4.10.0",
|
|
57
|
+
"universal-cookie": "~4.0.4"
|
|
42
58
|
},
|
|
43
59
|
"peerDependencies": {
|
|
44
60
|
"antd": "^3.0.0 || ^4.0.0",
|
|
45
61
|
"react": "^16.0.0 || ^17.0.0",
|
|
46
62
|
"react-dom": "^16.0.0 || ^17.0.0",
|
|
47
|
-
"otp-intl": ">=0.0.1",
|
|
48
|
-
"kiwi-intl": ">=1.2.6-beta.0",
|
|
49
63
|
"universal-cookie": "~4.0.4",
|
|
50
64
|
"tntd": "^2.0.0 || ^3.0.0"
|
|
51
65
|
},
|
|
@@ -69,7 +83,8 @@
|
|
|
69
83
|
"es",
|
|
70
84
|
"LICENSE",
|
|
71
85
|
"README.md",
|
|
72
|
-
".octopus"
|
|
86
|
+
".octopus",
|
|
87
|
+
"umd"
|
|
73
88
|
],
|
|
74
89
|
"main": "es/index.js",
|
|
75
90
|
"module": "es/index.js",
|