@bifrostui/utils 1.1.11-beta.6 → 1.1.11-beta.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +8 -11
  2. package/src/index.ts +0 -27
package/package.json CHANGED
@@ -1,18 +1,14 @@
1
1
  {
2
2
  "name": "@bifrostui/utils",
3
- "version": "1.1.11-beta.6",
3
+ "version": "1.1.11-beta.9",
4
4
  "description": "BUI React utilities for building components.",
5
- "main": "src/index.ts",
6
- "module": "src/index.ts",
5
+ "main": "dist/index.js",
6
+ "module": "es/index.js",
7
7
  "sideEffects": false,
8
8
  "files": [
9
9
  "es",
10
10
  "dist"
11
11
  ],
12
- "scripts": {
13
- "build": "node esbuild.config.js",
14
- "test": "echo \"Error: run tests from root\" && exit 1"
15
- },
16
12
  "devDependencies": {
17
13
  "esbuild": "^0.19.7",
18
14
  "esbuild-plugin-less": "1.3.10",
@@ -29,10 +25,11 @@
29
25
  },
30
26
  "license": "MIT",
31
27
  "publishConfig": {
32
- "main": "dist/index.js",
33
- "module": "es/index.js",
34
28
  "access": "public",
35
29
  "registry": "https://registry.npmjs.org/"
36
30
  },
37
- "gitHead": "23f3292c1c0eac3e03e4c5efd0fa1621b9f38070"
38
- }
31
+ "scripts": {
32
+ "build": "node esbuild.config.js",
33
+ "test": "echo \"Error: run tests from root\" && exit 1"
34
+ }
35
+ }
package/src/index.ts DELETED
@@ -1,27 +0,0 @@
1
- export { default as debounce } from './debounce';
2
- export { default as convertHexToRGBA } from './hex2rgba';
3
- export {
4
- useDidMountEffect,
5
- useEventCallback,
6
- useForkRef,
7
- useTouchEmulator,
8
- useValue,
9
- useDomReady,
10
- useSize,
11
- useDomCss,
12
- useTouch,
13
- } from './hooks';
14
- export { default as isDev } from './isDev';
15
- export { isMini, isWeapp, isAlipay, isMiniapp } from './isMini';
16
- export { default as setRef } from './setRef';
17
- export { default as throttle } from './throttle';
18
- export { default as toArray } from './toArray';
19
- export { default as blockTouch } from './touchBlocker';
20
- export {
21
- easing,
22
- duration,
23
- getTransitionProps,
24
- createTransitions,
25
- } from './transitions';
26
- export { default as getBoundingClientRect } from './getBoundingClientRect';
27
- export * from './isType';