|
6 | 6 | "license": "MIT",
|
7 | 7 | "repository": "https://github.com/hc-oss/react-multi-select-component",
|
8 | 8 | "main": "./dist/index.js",
|
9 |
| - "module": "./dist/index.mjs", |
| 9 | + "module": "./dist/esm/index.js", |
10 | 10 | "types": "./dist/index.d.ts",
|
11 | 11 | "scripts": {
|
12 |
| - "build": "tsup src/index.tsx --inject-style --minify --format esm,cjs --dts --external react", |
13 |
| - "dev": "tsup src/index.tsx --inject-style --format esm,cjs --watch --dts --external react", |
| 12 | + "build": "tsup src/index.tsx --inject-style --legacy-output --minify --format esm,cjs --dts --external react", |
| 13 | + "dev": "tsup src/index.tsx --inject-style --legacy-output --format esm,cjs --watch --dts --external react", |
14 | 14 | "lint": "eslint src --fix",
|
15 | 15 | "size": "size-limit",
|
16 | 16 | "storybook": "start-storybook -p 6006",
|
|
28 | 28 | "@storybook/addon-knobs": "^6.4.0",
|
29 | 29 | "@storybook/addon-links": "^6.4.14",
|
30 | 30 | "@storybook/react": "^6.4.14",
|
31 |
| - "@types/react": "^17.0.13", |
32 |
| - "@types/react-dom": "^17.0.8", |
33 |
| - "@typescript-eslint/eslint-plugin": "^5.10.0", |
34 |
| - "@typescript-eslint/parser": "^5.10.0", |
35 |
| - "eslint": "7.32.0", |
| 31 | + "@types/react": "^17.0.38", |
| 32 | + "@types/react-dom": "^17.0.11", |
| 33 | + "@typescript-eslint/eslint-plugin": "^5.10.1", |
| 34 | + "@typescript-eslint/parser": "^5.10.1", |
| 35 | + "eslint": "8.7.0", |
36 | 36 | "eslint-plugin-prettier": "^4.0.0",
|
37 | 37 | "eslint-plugin-react": "^7.28.0",
|
38 | 38 | "eslint-plugin-simple-import-sort": "^7.0.0",
|
|
43 | 43 | "react-dom": "^17.0.2",
|
44 | 44 | "size-limit": "^7.0.5",
|
45 | 45 | "storybook-addon-turbo-build": "^1.0.1",
|
46 |
| - "tsup": "^5.10.1", |
47 |
| - "typescript": "^4.5.3" |
| 46 | + "tsup": "^5.11.11", |
| 47 | + "typescript": "^4.5.5" |
48 | 48 | },
|
49 | 49 | "browserslist": [
|
50 | 50 | "defaults",
|
|
0 commit comments