|
4 | 4 | "description": "React UI library for Tock Node chatbots", |
5 | 5 | "main": "build/tock-react-kit.umd.js", |
6 | 6 | "module": "build/tock-react-kit.esm.js", |
| 7 | + "types": "build/tock-react-kit.d.ts", |
7 | 8 | "author": "François Nguyen <https://github.com/phurytw>", |
8 | 9 | "homepage": "https://github.com/theopenconversationkit/tock-react-kit", |
9 | 10 | "license": "MIT", |
10 | 11 | "engines": { |
11 | 12 | "node": ">=20.10.0" |
12 | 13 | }, |
| 14 | + "files": [ |
| 15 | + "build/tock-react-kit.d.ts", |
| 16 | + "build/tock-react-kit.esm.js", |
| 17 | + "build/tock-react-kit.esm.js.map", |
| 18 | + "build/tock-react-kit.umd.js" |
| 19 | + ], |
13 | 20 | "scripts": { |
14 | 21 | "storybook": "storybook dev -p 6006", |
15 | 22 | "build-storybook": "storybook build", |
16 | 23 | "build": "rollup -c --environment BUILD:production", |
17 | | - "watch-build": "rollup -w -c --environment BUILD:production", |
18 | | - "lint": "eslint 'src/**/*.{js,ts,tsx}' --fix --quiet", |
| 24 | + "watch-build": "rollup -w -c --environment BUILD:development", |
| 25 | + "lint": "eslint 'src/**/*.{ts,tsx}' --fix --quiet", |
19 | 26 | "prepare": "rollup -c --environment BUILD:production", |
20 | 27 | "version": "auto-changelog -p && git add CHANGELOG.md", |
21 | 28 | "test": "echo 'Tests coming soon ...'", |
|
53 | 60 | "@storybook/testing-library": "^0.2.0", |
54 | 61 | "@types/node": "^14.0.26", |
55 | 62 | "@types/react-color": "^3.0.4", |
56 | | - "@types/react-dom": "^16.9.8", |
| 63 | + "@types/react-dom": "^18.2.8", |
57 | 64 | "@types/storybook__react": "^5.2.1", |
58 | 65 | "@typescript-eslint/eslint-plugin": "^3.9.1", |
59 | 66 | "@typescript-eslint/parser": "^3.9.1", |
|
71 | 78 | "react-dom": "^18.2.0", |
72 | 79 | "rollup": "^3.29.0", |
73 | 80 | "rollup-plugin-commonjs": "^10.1.0", |
| 81 | + "rollup-plugin-dts": "^6.0.2", |
74 | 82 | "rollup-plugin-node-resolve": "^5.2.0", |
75 | 83 | "rollup-plugin-replace": "^2.2.0", |
76 | 84 | "rollup-plugin-typescript": "^1.0.1", |
|
0 commit comments