|
9 | 9 | ], |
10 | 10 | "version": "0.9.1", |
11 | 11 | "engines": { |
12 | | - "node": ">= 14" |
| 12 | + "node": ">= 15" |
13 | 13 | }, |
14 | 14 | "homepage": "https://github.com/creativewave/react-utils", |
15 | 15 | "bugs": "https://github.com/creativewave/react-utils/issues", |
|
18 | 18 | "test": "__tests__" |
19 | 19 | }, |
20 | 20 | "files": [ |
21 | | - "dist" |
| 21 | + "dist", |
| 22 | + "src" |
22 | 23 | ], |
23 | 24 | "type": "module", |
24 | | - "main": "dist/es/index.js", |
25 | | - "unpkg": "dist/umd/react-utils.min.js", |
| 25 | + "exports": { |
| 26 | + ".": "./src/index.js", |
| 27 | + "./package.json": "./package.json" |
| 28 | + }, |
| 29 | + "unpkg": "dist/react-utils.js", |
26 | 30 | "scripts": { |
27 | 31 | "prebuild": "rm -rf dist", |
28 | | - "build": "rollup -c", |
| 32 | + "build": "rollup -c --environment NODE_ENV:browser", |
29 | 33 | "lint": "eslint src __tests__", |
30 | 34 | "safe-publish": "npm run lint && npm run test && npm run build && npm publish", |
31 | 35 | "test": "jest", |
|
34 | 38 | "test:watch": "jest --watchAll -b" |
35 | 39 | }, |
36 | 40 | "dependencies": { |
37 | | - "@babel/runtime": "^7.12.5", |
38 | 41 | "core-js": "^3.8.3" |
39 | 42 | }, |
40 | 43 | "devDependencies": { |
41 | | - "@babel/core": "^7.12.10", |
42 | | - "@babel/eslint-parser": "^7.12.1", |
43 | | - "@babel/plugin-transform-runtime": "^7.12.10", |
44 | | - "@babel/preset-env": "^7.12.11", |
45 | | - "@babel/preset-react": "^7.12.10", |
| 44 | + "@babel/core": "^7.12.16", |
| 45 | + "@babel/eslint-parser": "^7.12.16", |
| 46 | + "@babel/preset-env": "^7.12.16", |
| 47 | + "@babel/preset-react": "^7.12.13", |
46 | 48 | "@cdoublev/eslint-config": "^0.8.2", |
47 | | - "@rollup/plugin-babel": "^5.2.2", |
48 | | - "@rollup/plugin-commonjs": "^17.0.0", |
49 | | - "@rollup/plugin-node-resolve": "^11.1.0", |
| 49 | + "@rollup/plugin-babel": "^5.2.3", |
| 50 | + "@rollup/plugin-commonjs": "^17.1.0", |
| 51 | + "@rollup/plugin-node-resolve": "^11.1.1", |
50 | 52 | "@rollup/plugin-replace": "^2.3.4", |
51 | | - "eslint": "^7.18.0", |
| 53 | + "eslint": "^7.20.0", |
52 | 54 | "eslint-plugin-compat": "^3.9.0", |
53 | 55 | "eslint-plugin-jest": "^24.1.3", |
54 | 56 | "eslint-plugin-react": "^7.22.0", |
|
58 | 60 | "prop-types": "^15.7.2", |
59 | 61 | "react": "^17.0.1", |
60 | 62 | "react-dom": "^17.0.1", |
61 | | - "rollup": "^2.38.1", |
| 63 | + "rollup": "^2.39.0", |
62 | 64 | "rollup-plugin-terser": "^7.0.2" |
63 | 65 | }, |
64 | 66 | "peerDependencies": { |
65 | 67 | "react": "^16.7.0-alpha.0 || ^17.0.0-rc.2" |
66 | 68 | }, |
67 | 69 | "optionalDependencies": { |
68 | | - "@cdoublev/animate": "^0.4.0" |
| 70 | + "@cdoublev/animate": "^0.5.0" |
69 | 71 | }, |
70 | 72 | "publishConfig": { |
71 | 73 | "access": "public" |
|
0 commit comments