|
14 | 14 | "repository": "git@github.com:storybookjs/addon-designs.git", |
15 | 15 | "license": "MIT", |
16 | 16 | "author": "pocka <pockawoooh@gmail.com>", |
| 17 | + "type": "module", |
17 | 18 | "exports": { |
18 | 19 | ".": { |
19 | 20 | "types": "./dist/index.d.ts", |
20 | | - "import": "./dist/index.mjs", |
21 | | - "require": "./dist/index.js" |
| 21 | + "default": "./dist/index.js" |
22 | 22 | }, |
23 | | - "./blocks": "./dist/blocks.mjs", |
| 23 | + "./blocks": { |
| 24 | + "types": "./dist/blocks.d.ts", |
| 25 | + "default": "./dist/blocks.js" |
| 26 | + }, |
| 27 | + "./register-panel": "./dist/register-panel.js", |
| 28 | + "./register-tab": "./dist/register-tab.js", |
24 | 29 | "./preset": "./dist/preset.js", |
25 | 30 | "./package.json": "./package.json" |
26 | 31 | }, |
27 | | - "main": "dist/index.js", |
28 | | - "module": "dist/index.mjs", |
29 | | - "types": "dist/index.d.ts", |
30 | 32 | "files": [ |
31 | 33 | "dist/**/*", |
32 | 34 | "README.md", |
|
36 | 38 | "scripts": { |
37 | 39 | "build": "tsup", |
38 | 40 | "build:watch": "npm run build -- --watch", |
39 | | - "prepublishOnly": "cp ../../README.md ./ && npm run build", |
40 | | - "release": "npm run prepublishOnly && auto shipit", |
41 | | - "test": "echo 'No tests' && exit 0" |
| 41 | + "prepublishOnly": "cp ../../README.md ./", |
| 42 | + "release": "npm run prepublishOnly && auto shipit" |
42 | 43 | }, |
43 | 44 | "dependencies": { |
44 | 45 | "@figspec/react": "^1.0.0" |
45 | 46 | }, |
46 | | - "devDependencies": { |
47 | | - "@auto-it/released": "^11.3.0", |
48 | | - "@types/react": "^18.2.65", |
49 | | - "@types/react-dom": "^18.2.21", |
50 | | - "@types/webpack-env": "^1.18.4", |
51 | | - "auto": "^11.3.0", |
52 | | - "figma-js": "^1.16.0", |
53 | | - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", |
54 | | - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^18.0.0", |
55 | | - "tsup": "^8.0.2", |
56 | | - "storybook": "^9.0.0", |
57 | | - "typescript": "^5.7.3" |
58 | | - }, |
59 | 47 | "peerDependencies": { |
60 | | - "@storybook/addon-docs": "^0.0.0-0 || ^9.0.0 || ^9.1.0-0", |
61 | | - "storybook": "^0.0.0-0 || ^9.0.0 || ^9.1.0-0", |
| 48 | + "@storybook/addon-docs": "^10.0.0 || ^10.0.0-0", |
| 49 | + "storybook": "^10.0.0 || ^10.0.0-0", |
62 | 50 | "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", |
63 | 51 | "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" |
64 | 52 | }, |
|
0 commit comments