|
5 | 5 | "license": "MIT",
|
6 | 6 | "exports": {
|
7 | 7 | ".": {
|
| 8 | + "types": "./dist/beautiful-tree.d.ts", |
8 | 9 | "import": "./dist/beautiful-tree.mjs",
|
9 | 10 | "require": "./dist/beautiful-tree.cjs",
|
10 | 11 | "browser": "./dist/beautiful-tree.iife.js",
|
11 |
| - "types": "./dist/beautiful-tree.d.ts", |
12 | 12 | "default": "./dist/beautiful-tree.umd.js"
|
13 | 13 | },
|
14 | 14 | "./min": {
|
| 15 | + "types": "./dist/beautiful-tree.d.ts", |
15 | 16 | "import": "./dist/beautiful-tree.min.mjs",
|
16 | 17 | "require": "./dist/beautiful-tree.min.cjs",
|
17 | 18 | "browser": "./dist/beautiful-tree.min.iife.js",
|
18 | 19 | "default": "./dist/beautiful-tree.min.umd.js"
|
19 | 20 | }
|
20 | 21 | },
|
| 22 | + "files": ["dist"], |
21 | 23 | "scripts": {
|
22 |
| - "build": "rollup --config rollup.config.prod.mjs", |
23 |
| - "install-githooks": "if [ -d .git ]; then git config core.hooksPath .hooks; fi", |
| 24 | + "build": "rollup --config rollup.config.prod.mjs", |
| 25 | + "install-githooks": "if [ -d .git ]; then git config core.hooksPath .hooks; fi", |
24 | 26 | "lint": "tsc && eslint . --ext ts,mts,tsx --report-unused-disable-directives --max-warnings 0",
|
25 | 27 | "lint:eslint": "eslint . --ext ts,mts,tsx --report-unused-disable-directives --max-warnings 0",
|
26 | 28 | "lint:tsc": "tsc"
|
|
42 | 44 | "eslint-plugin-react-hooks": "^4.6.0",
|
43 | 45 | "eslint-plugin-react-refresh": "^0.4.3",
|
44 | 46 | "prettier": "^3.0.0",
|
| 47 | + "publint": "^0.2.0", |
45 | 48 | "react": "^18.2.0",
|
46 | 49 | "react-dom": "^18.2.0",
|
47 | 50 | "rollup": "^3.26.3",
|
|
0 commit comments