|
5 | 5 | "author": "cloudinary",
|
6 | 6 | "license": "MIT",
|
7 | 7 | "repository": "https://github.com/cloudinary/frontend-frameworks",
|
8 |
| - "main": "dist/index.umd.js", |
9 |
| - "module": "dist/index.js", |
10 |
| - "types": "dist/index.d.ts", |
| 8 | + "main": "dist/index.esm.js", |
11 | 9 | "files": [
|
12 | 10 | "package.json",
|
13 | 11 | "dist"
|
|
17 | 15 | "node": ">=18"
|
18 | 16 | },
|
19 | 17 | "scripts": {
|
20 |
| - "build": "npm run build --prefix ../html && tsc && rollup -c && cp package.json ./dist", |
| 18 | + "build": "node ./esbuild.mjs && tsc && cp package.json ./dist", |
21 | 19 | "lint": "eslint ./src",
|
22 | 20 | "typecheck": "tsc --noEmit --skipLibCheck --project ./tsconfig.json",
|
23 | 21 | "test": "mocha src/**/*.test.*",
|
|
26 | 24 | "build-storybook": "storybook build"
|
27 | 25 | },
|
28 | 26 | "peerDependencies": {
|
| 27 | + "@cloudinary/url-gen": "^1.16.0", |
29 | 28 | "react": "^16.3.0 || ^17.0.0 || ^18.0.0"
|
30 | 29 | },
|
31 | 30 | "devDependencies": {
|
32 |
| - "@babel/preset-env": "^7.12.10", |
33 |
| - "@babel/preset-typescript": "^7.12.7", |
34 |
| - "@cloudinary/url-gen": "^1.21.0", |
35 | 31 | "@chromatic-com/storybook": "^3.2.2",
|
36 |
| - "@rollup/plugin-commonjs": "^21.0.1", |
37 |
| - "@rollup/plugin-json": "^4.1.0", |
38 |
| - "@rollup/plugin-node-resolve": "^13.1.3", |
39 |
| - "@rollup/plugin-replace": "^3.0.1", |
40 |
| - "@rollup/plugin-typescript": "^8.3.0", |
41 | 32 | "@storybook/addon-essentials": "^8.4.7",
|
42 | 33 | "@storybook/addon-interactions": "^8.4.7",
|
43 | 34 | "@storybook/addon-onboarding": "^8.4.7",
|
|
54 | 45 | "@typescript-eslint/eslint-plugin": "^5.62.0",
|
55 | 46 | "@typescript-eslint/parser": "^5.62.0",
|
56 | 47 | "assert": "^2.1.0",
|
57 |
| - "cross-env": "^7.0.2", |
| 48 | + "esbuild": "^0.24.0", |
58 | 49 | "eslint": "^7.32.0",
|
59 | 50 | "eslint-config-prettier": "^6.7.0",
|
60 | 51 | "eslint-config-standard": "^14.1.0",
|
|
73 | 64 | "prettier": "^3.4.1",
|
74 | 65 | "react": "^16.13.1",
|
75 | 66 | "react-dom": "^16.13.1",
|
76 |
| - "rollup": "^2.66.1", |
77 | 67 | "storybook": "^8.4.7",
|
78 | 68 | "ts-node": "^10.9.2",
|
79 |
| - "tslib": "^2.8.1", |
80 | 69 | "typescript": "^5.7.2"
|
81 | 70 | }
|
82 | 71 | }
|
0 commit comments