|
11 | 11 | "clear": "docusaurus clear", |
12 | 12 | "serve": "docusaurus serve", |
13 | 13 | "write-translations": "docusaurus write-translations", |
14 | | - "write-heading-ids": "docusaurus write-heading-ids" |
| 14 | + "write-heading-ids": "docusaurus write-heading-ids", |
| 15 | + "postinstall": "yarn link:react-flicking && yarn link:flicking && yarn link:docs", |
| 16 | + "link:flicking": "cd ../ && npm link", |
| 17 | + "link:react-flicking": "cd ../packages/react-flicking && npm link @egjs/flicking && npm link", |
| 18 | + "link:docs": "npm link @egjs/react-flicking" |
| 19 | + |
15 | 20 | }, |
16 | 21 | "dependencies": { |
17 | 22 | "@docusaurus/core": "2.4.3", |
18 | 23 | "@docusaurus/preset-classic": "2.4.3", |
19 | 24 | "@egjs/flicking-plugins": "^4.6.0", |
20 | | - "@egjs/react-flicking": "^4.13.0", |
| 25 | + "@egjs/flicking": "*", |
| 26 | + "@egjs/react-flicking": "*", |
21 | 27 | "@egjs/react-grid": "^1.1.2", |
22 | 28 | "@emotion/react": "^11.14.0", |
23 | 29 | "@emotion/styled": "^11.14.0", |
|
31 | 37 | "react-tabs": "^3.2.2", |
32 | 38 | "react-toggle": "^4.1.2" |
33 | 39 | }, |
| 40 | + "overrides": { |
| 41 | + "react": "^17.0.1", |
| 42 | + "react-dom": "^17.0.1" |
| 43 | + }, |
34 | 44 | "browserslist": { |
35 | 45 | "production": [ |
36 | 46 | ">0.5%", |
|
47 | 57 | "@babel/plugin-proposal-class-properties": "^7.14.5", |
48 | 58 | "@babel/plugin-proposal-decorators": "^7.13.15", |
49 | 59 | "@types/react": "^17.0.19", |
50 | | - "remark-breaks": "^2.0.2" |
| 60 | + "remark-breaks": "^2.0.2", |
| 61 | + "tslib": "^2.2.0", |
| 62 | + "typescript": "4.8.4" |
51 | 63 | } |
52 | 64 | } |
0 commit comments