|
17 | 17 | ], |
18 | 18 | "scripts": { |
19 | 19 | "build": "babel src -d dist --extensions \".js,.jsx,.ts,.tsx\" --ignore \"**/*.test.js\" --ignore \"**/*.stories.js\"", |
20 | | - "types": "tsc --declaration --emitDeclarationOnly --outDir dist --declarationMap", |
21 | 20 | "build-docs": "build-storybook --docs", |
22 | 21 | "build-storybook": "build-storybook -s .storybook/static", |
23 | 22 | "lint": "yarn lint:js && yarn lint:package", |
24 | 23 | "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.html,.ts,.tsx,.mjs --report-unused-disable-directives", |
25 | 24 | "lint:package": "sort-package-json", |
26 | | - "release": "dotenv yarn build & yarn types && auto shipit", |
27 | | - "storybook": "start-storybook -p 6006 -s .storybook/static" |
| 25 | + "release": "dotenv yarn build & yarn typescript:generate && auto shipit", |
| 26 | + "storybook": "start-storybook -p 6006 -s .storybook/static", |
| 27 | + "typescript:check": "tsc --project ./tsconfig.json --noEmit", |
| 28 | + "typescript:generate": "tsc --declaration --emitDeclarationOnly --outDir dist --declarationMap" |
28 | 29 | }, |
29 | 30 | "husky": { |
30 | 31 | "hooks": { |
|
48 | 49 | "dependencies": { |
49 | 50 | "@types/pluralize": "^0.0.29", |
50 | 51 | "@types/prismjs": "^1.16.6", |
| 52 | + "@types/react-modal": "^3.12.1", |
| 53 | + "@types/styled-components": "^5.1.0", |
| 54 | + "@types/uuid": "^8.3.1", |
51 | 55 | "copy-to-clipboard": "^3.3.1", |
52 | 56 | "pluralize": "^8.0.0", |
53 | 57 | "polished": "^3.6.4", |
54 | 58 | "prismjs": "1.23.0", |
55 | | - "prop-types": "^15.5.4", |
56 | 59 | "react-github-button": "^0.1.11", |
57 | 60 | "react-modal": "^3.11.2", |
58 | 61 | "react-popper-tooltip": "^2.11.1", |
|
77 | 80 | "@storybook/linter-config": "^2.5.0", |
78 | 81 | "@storybook/react": "^6.2.0", |
79 | 82 | "@types/fs-extra": "^9.0.1", |
80 | | - "@types/styled-components": "^5.1.0", |
81 | 83 | "auto": "^9.50.1", |
82 | 84 | "babel-eslint": "^10.1.0", |
83 | 85 | "babel-loader": "^8.1.0", |
|
89 | 91 | "husky": "^4.2.5", |
90 | 92 | "lint-staged": "^10.2.9", |
91 | 93 | "node-fetch": "^2.6.0", |
92 | | - "prettier": "^2.0.5", |
93 | | - "react": "^16.13.1", |
94 | | - "react-dom": "^16.13.1", |
| 94 | + "prettier": "^2.3.0", |
| 95 | + "react": "17", |
| 96 | + "react-dom": "17", |
95 | 97 | "seedrandom": "^3.0.5", |
96 | 98 | "sort-package-json": "^1.44.0", |
97 | 99 | "ts-loader": "^7.0.5", |
98 | 100 | "typescript": "^3.9.5" |
99 | 101 | }, |
100 | 102 | "peerDependencies": { |
101 | | - "react": "^15.0.0 || ^16.0.0", |
102 | | - "react-dom": "^15.0.0 || ^16.0.0" |
| 103 | + "react": "^15.0.0 || ^16.0.0 || ^17.0.0", |
| 104 | + "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0" |
103 | 105 | }, |
104 | 106 | "engines": { |
105 | 107 | "node": ">=10", |
|
0 commit comments