|
2 | 2 | "name": "@hookform/error-message", |
3 | 3 | "version": "0.0.4", |
4 | 4 | "description": "React Hook Form error message component", |
| 5 | + "source": "src/index.ts", |
5 | 6 | "main": "dist/index.js", |
6 | 7 | "module": "dist/index.esm.js", |
7 | | - "umd:main": "dist/index.umd.production.min.js", |
8 | | - "unpkg": "dist/index.umd.production.min.js", |
9 | | - "jsdelivr": "dist/index.umd.production.min.js", |
| 8 | + "esmodule": "dist/index.modern.js", |
10 | 9 | "jsnext:main": "dist/index.esm.js", |
11 | | - "source": "src/index.ts", |
| 10 | + "unpkg": "dist/index.umd.js", |
| 11 | + "umd:main": "dist/index.umd.js", |
| 12 | + "jsdelivr": "dist/index.umd.js", |
12 | 13 | "types": "dist/index.d.ts", |
13 | 14 | "sideEffects": false, |
14 | 15 | "files": [ |
|
20 | 21 | "scripts": { |
21 | 22 | "clean": "rimraf dist", |
22 | 23 | "prebuild": "npm run clean", |
23 | | - "build": "node rollup/writeCjsEntryFile.js && rollup -c", |
| 24 | + "build": "microbundle build --jsx React.createElement", |
24 | 25 | "lint": "eslint '**/*.{js,ts}'", |
25 | 26 | "lint:fix": "npm run lint -- --fix", |
26 | 27 | "lint:types": "tsc --noEmit", |
|
0 commit comments