@variousjs/various 5.0.1 → 5.1.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/dist/index.dev.js +122 -59
- package/dist/index.dev.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/standalone-dev.js +1807 -0
- package/dist/standalone-dev.js.map +1 -0
- package/dist/standalone.js +2 -0
- package/dist/standalone.js.map +1 -0
- package/index.d.ts +29 -27
- package/package.json +31 -8
package/package.json
CHANGED
|
@@ -1,11 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@variousjs/various",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "RequireJS(AMD) + React",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"index.d.ts"
|
|
8
8
|
],
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./index.d.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./standalone": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./standalone.d.ts",
|
|
23
|
+
"default": "./dist/standalone.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./standalone.d.ts",
|
|
27
|
+
"default": "./dist/standalone.js"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
9
31
|
"unpkg": "dist/index.js",
|
|
10
32
|
"publishConfig": {
|
|
11
33
|
"access": "public"
|
|
@@ -16,19 +38,18 @@
|
|
|
16
38
|
],
|
|
17
39
|
"excludeAfterRemap": true
|
|
18
40
|
},
|
|
19
|
-
"types": "index.d.ts",
|
|
20
41
|
"scripts": {
|
|
21
42
|
"lint": "tsc --noemit && eslint . --ext .ts,.tsx,.js",
|
|
22
43
|
"create-empty": "touch docs/dist/empty.js",
|
|
23
|
-
"test-components": "webpack --config webpack/test-components.js
|
|
44
|
+
"test-components": "webpack --config webpack/test-components.js",
|
|
24
45
|
"test-components:build": "NODE_ENV=production webpack --config webpack/test-components.js --progress",
|
|
25
|
-
"package-core": "webpack --config webpack/package-core.js
|
|
46
|
+
"package-core": "webpack --config webpack/package-core.js",
|
|
26
47
|
"package-core:build": "NODE_ENV=production webpack --config webpack/package-core.js --progress",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
48
|
+
"entry": "webpack serve --config webpack/entry.js --no-client-overlay",
|
|
49
|
+
"entry:build": "NODE_ENV=production webpack --config webpack/entry.js --progress",
|
|
29
50
|
"prestart": "mkdir -p docs/dist && npm run create-empty",
|
|
30
|
-
"start": "npm run test-components & npm run package-core & npm run
|
|
31
|
-
"build": "npm run test-components:build && npm run package-core:build && npm run
|
|
51
|
+
"start": "npm run test-components & npm run package-core & npm run entry",
|
|
52
|
+
"build": "npm run test-components:build && npm run package-core:build && npm run entry:build",
|
|
32
53
|
"prebuild": "npm run lint && rm -rf dist && rm -rf docs/dist",
|
|
33
54
|
"postbuild": "npm run create-empty",
|
|
34
55
|
"prepublishOnly": "npm run build",
|
|
@@ -77,6 +98,8 @@
|
|
|
77
98
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
78
99
|
"eslint-plugin-react": "^7.30.1",
|
|
79
100
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
101
|
+
"react": "^18.3.1",
|
|
102
|
+
"react-dom": "^18.3.1",
|
|
80
103
|
"start-server-and-test": "^2.0.3",
|
|
81
104
|
"typescript": "^4.9.5",
|
|
82
105
|
"vue": "^3.5.21",
|