|
16 | 16 | "module": "dist/index.esm.js", |
17 | 17 | "typings": "dist/index.d.ts", |
18 | 18 | "scripts": { |
19 | | - "build": "rollup -c rollup.config.js", |
| 19 | + "build": "yarn build:icons && rollup -c rollup.config.js", |
| 20 | + "build:icons": "svgr ./src/icons/raw --out-dir ./src/icons --typescript", |
20 | 21 | "build-storybook": "NODE_OPTIONS=--openssl-legacy-provider; build-storybook", |
21 | 22 | "cleanup": "yarn exec rm -rf dist node_modules", |
22 | 23 | "format": "yarn prettier --write .", |
|
31 | 32 | "watch": "yarn build --watch" |
32 | 33 | }, |
33 | 34 | "dependencies": { |
34 | | - "@lace/icons": "file:.yalc/@lace/icons", |
35 | 35 | "@radix-ui/react-alert-dialog": "^1.0.4", |
36 | 36 | "@radix-ui/react-avatar": "^1.0.2", |
37 | 37 | "@radix-ui/react-checkbox": "^1.0.4", |
|
62 | 62 | "recharts": "^2.6.2" |
63 | 63 | }, |
64 | 64 | "devDependencies": { |
| 65 | + "@babel/cli": "^7.22.10", |
65 | 66 | "@babel/core": "^7.21.0", |
66 | 67 | "@rollup/plugin-commonjs": "20.0.0", |
67 | 68 | "@rollup/plugin-image": "2.1.1", |
|
77 | 78 | "@storybook/react": "^6.5.16", |
78 | 79 | "@storybook/test-runner": "^0.10.0", |
79 | 80 | "@storybook/testing-library": "^0.0.13", |
| 81 | + "@svgr/cli": "^8.1.0", |
80 | 82 | "@svgr/rollup": "^6.1.2", |
81 | 83 | "@svgr/webpack": "^6.5.1", |
82 | 84 | "@types/react": "^18.3.3", |
|
0 commit comments