@ilife-tech/react-application-flow-renderer 1.2.98 → 1.2.99
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/README.md +66 -27
- package/dist/example.js +19 -19
- package/dist/example.js.LICENSE.txt +3 -3
- package/dist/example.js.map +1 -1
- package/dist/index.js +19 -19
- package/dist/index.js.LICENSE.txt +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +11 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilife-tech/react-application-flow-renderer",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.99",
|
|
5
5
|
"description": "A dynamic application flow renderer for React applications with Universal API support(sqv2.0)",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"format": "prettier --write \"src/**/*.{js,jsx,scss}\"",
|
|
25
25
|
"format:check": "prettier --check \"src/**/*.{js,jsx,scss}\"",
|
|
26
26
|
"prepare": "husky install",
|
|
27
|
+
"prepare:husky": "npx husky install && npx husky add .husky/pre-commit 'npx lint-staged'",
|
|
27
28
|
"prepublishOnly": "npm run build",
|
|
28
29
|
"preversion": "npm run lint && npm run format:check",
|
|
29
30
|
"version": "npm run format && git add -A src",
|
|
@@ -120,9 +121,15 @@
|
|
|
120
121
|
}
|
|
121
122
|
},
|
|
122
123
|
"lint-staged": {
|
|
123
|
-
"**/*.{js,jsx
|
|
124
|
-
"prettier --write"
|
|
125
|
-
|
|
124
|
+
"**/*.{js,jsx}": [
|
|
125
|
+
"prettier --write"
|
|
126
|
+
],
|
|
127
|
+
"src/**/*.{js,jsx}": [
|
|
128
|
+
"eslint --fix",
|
|
129
|
+
"eslint --max-warnings=0"
|
|
130
|
+
],
|
|
131
|
+
"**/*.{json,md,css,scss}": [
|
|
132
|
+
"prettier --write"
|
|
126
133
|
]
|
|
127
134
|
},
|
|
128
135
|
"peerDependencies": {
|