easy-soft-dva 3.2.0 → 3.2.3
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 +23 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easy-soft-dva",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "The core lightweight library for dva, based on redux and redux-saga.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
"es"
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
|
-
"build": "rimraf ./es && rollup --config rollup.config.compression.js --bundleConfigAsCjs
|
|
16
|
-
"
|
|
15
|
+
"build": "rimraf ./es && rollup --config rollup.config.compression.js --bundleConfigAsCjs",
|
|
16
|
+
"postbuild": "npm run tsc:build",
|
|
17
|
+
"build:skipCompression": "rimraf ./es && rollup --config rollup.config.skipCompression.js --bundleConfigAsCjs",
|
|
18
|
+
"postbuild:skipCompression": "npm run tsc:build",
|
|
17
19
|
"clean-file": "rimraf ./node_modules",
|
|
18
|
-
"dev": "rollup --config rollup.config.skipCompression.js --bundleConfigAsCjs --watch",
|
|
20
|
+
"dev": "rollup --config rollup.config.skipCompression.js --bundleConfigAsCjs --watch --watch.onBundleEnd=\"npm run tsc:build\"",
|
|
19
21
|
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier",
|
|
20
22
|
"lint-staged": "lint-staged",
|
|
21
23
|
"lint-staged:js": "npx eslint --ext .js,.jsx,.ts,.tsx ",
|
|
@@ -26,6 +28,7 @@
|
|
|
26
28
|
"precommit": "lint-staged",
|
|
27
29
|
"prettier": "npx prettier -c --write \"**/*\"",
|
|
28
30
|
"publish:compression": "npm run build && yarn publish",
|
|
31
|
+
"tsc:build": "echo show tsc version and create declaration file && tsc -v && tsc -p ./tsconfig.types.json",
|
|
29
32
|
"v:p": "npm version patch && yarn publish"
|
|
30
33
|
},
|
|
31
34
|
"dependencies": {
|
|
@@ -46,6 +49,10 @@
|
|
|
46
49
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
47
50
|
"@babel/preset-react": "^7.18.6",
|
|
48
51
|
"@babel/runtime": "^7.20.7",
|
|
52
|
+
"@commitlint/cli": "^17.4.2",
|
|
53
|
+
"@commitlint/config-conventional": "^17.4.2",
|
|
54
|
+
"@commitlint/config-lerna-scopes": "^17.4.2",
|
|
55
|
+
"@commitlint/cz-commitlint": "^17.4.2",
|
|
49
56
|
"@rollup/plugin-alias": "^4.0.2",
|
|
50
57
|
"@rollup/plugin-babel": "6.0.3",
|
|
51
58
|
"@rollup/plugin-buble": "^1.0.1",
|
|
@@ -55,6 +62,18 @@
|
|
|
55
62
|
"@rollup/plugin-replace": "^5.0.2",
|
|
56
63
|
"@rollup/plugin-url": "^8.0.1",
|
|
57
64
|
"@svgr/rollup": "^6.5.1",
|
|
65
|
+
"commitizen": "^4.2.6",
|
|
66
|
+
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
67
|
+
"eslint": "^8.32.0",
|
|
68
|
+
"eslint-config-prettier": "^8.6.0",
|
|
69
|
+
"eslint-formatter-pretty": "^4.1.0",
|
|
70
|
+
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
71
|
+
"eslint-plugin-import": "^2.27.4",
|
|
72
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
73
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
74
|
+
"eslint-plugin-react": "^7.32.0",
|
|
75
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
76
|
+
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
58
77
|
"mm": "^3.2.1",
|
|
59
78
|
"prettier": "^2.8.3",
|
|
60
79
|
"prettier-plugin-organize-imports": "^3",
|