@innoways/hooks 3.0.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 ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@innoways/hooks",
3
+ "version": "3.0.0",
4
+ "description": "drip-form通用hooks",
5
+ "keywords": [
6
+ "hooks",
7
+ "drip-form"
8
+ ],
9
+ "author": "JDFED",
10
+ "homepage": "https://github.com/JDFED/drip-form/",
11
+ "license": "MIT",
12
+ "main": "dist/index.js",
13
+ "types": "dist/index.d.ts",
14
+ "module": "dist/index.js",
15
+ "distExports": {
16
+ "dist": "./dist",
17
+ "build-info": "./build-info"
18
+ },
19
+ "scripts": {
20
+ "link": "yarn link",
21
+ "build": "rollup --config --sourcemap",
22
+ "watch": "rollup --config --watch"
23
+ },
24
+ "publishConfig": {
25
+ "registry": "https://registry.npmjs.org/",
26
+ "access": "public"
27
+ },
28
+ "repository": {
29
+ "type": "github",
30
+ "url": "https://github.com/JDFED/drip-form/"
31
+ },
32
+ "dependencies": {
33
+ "@babel/runtime": "^7.10.2",
34
+ "@jdfed/utils": "^0.8.2",
35
+ "ahooks": "^2.10.12",
36
+ "ajv": "^8.6.2",
37
+ "immer": "^9.0.5",
38
+ "moment": "^2.26.0"
39
+ },
40
+ "peerDependencies": {
41
+ "react": "^16.13.1 || ^17.0.0",
42
+ "react-dom": "^16.13.1 || ^17.0.0"
43
+ },
44
+ "gitHead": "1416735284b5c9f0d76c7271117fb8723a2300ec"
45
+ }
@@ -0,0 +1,13 @@
1
+ import pkg from './package.json'
2
+ import { getOutput, getExternal, getPlugins } from '../../rollup.base.config'
3
+
4
+ export default {
5
+ input: 'src/index.ts',
6
+ output: getOutput(pkg),
7
+ external: getExternal(pkg),
8
+ onwarn(warning, warn) {
9
+ if (warning.code === 'THIS_IS_UNDEFINED') return
10
+ warn(warning) // this requires Rollup 0.46
11
+ },
12
+ plugins: getPlugins(pkg, process.argv),
13
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "../../tsconfig.base.json",
3
+ "include": ["./src/"],
4
+ "compilerOptions": {
5
+ "tsBuildInfoFile": "./build-info/tsconfig.tsbuildinfo"
6
+ }
7
+ }