|
3 | 3 | "version": "3.2.0", |
4 | 4 | "description": "A production-focused playground for live editing React code", |
5 | 5 | "main": "dist/react-live.cjs.js", |
6 | | - "typings": "./typings/react-live.d.ts", |
| 6 | + "types": "dist/index.d.ts", |
7 | 7 | "jsnext:main": "dist/react-live.es.js", |
8 | 8 | "module": "dist/react-live.es.js", |
9 | 9 | "license": "MIT", |
|
16 | 16 | "prepublishOnly": "npm run build", |
17 | 17 | "test": "jest", |
18 | 18 | "test:typings": "typings-tester --dir typings", |
| 19 | + "typecheck": "tsc --noEmit", |
19 | 20 | "lint": "eslint --config .eslintrc \"./src/**/*.js\"", |
20 | 21 | "install:docs": "yarn --cwd website install", |
21 | 22 | "start:docs": "yarn --cwd website start", |
|
37 | 38 | "@babel/plugin-transform-runtime": "^7.15.0", |
38 | 39 | "@babel/preset-env": "^7.15.0", |
39 | 40 | "@babel/preset-react": "^7.14.5", |
| 41 | + "@babel/preset-typescript": "^7.21.0", |
40 | 42 | "@changesets/cli": "^2.26.1", |
41 | 43 | "@rollup/plugin-babel": "^5.3.0", |
42 | 44 | "@rollup/plugin-commonjs": "^20.0.0", |
43 | 45 | "@rollup/plugin-node-resolve": "^13.0.4", |
44 | 46 | "@rollup/plugin-replace": "^3.0.0", |
| 47 | + "@rollup/plugin-typescript": "^11.0.0", |
45 | 48 | "@storybook/addon-controls": "^6.4.13", |
46 | 49 | "@storybook/builder-webpack5": "^6.5.16", |
47 | 50 | "@storybook/manager-webpack5": "^6.5.16", |
48 | 51 | "@storybook/react": "^6.4.13", |
49 | 52 | "@svitejs/changesets-changelog-github-compact": "^1.1.0", |
50 | | - "@types/react": "^17.0.38", |
| 53 | + "@types/prismjs": "^1.26.0", |
| 54 | + "@types/react": "^18.0.31", |
| 55 | + "@types/styled-components": "^5.1.26", |
| 56 | + "@typescript-eslint/eslint-plugin": "^5.57.0", |
| 57 | + "@typescript-eslint/parser": "^5.57.0", |
51 | 58 | "babel-jest": "^27.0.6", |
52 | 59 | "babel-loader": "^8.2.2", |
53 | 60 | "babel-plugin-add-module-exports": "^1.0.4", |
|
61 | 68 | "prettier": "^2.5.1", |
62 | 69 | "prismjs": "^1.26.0", |
63 | 70 | "prop-types": "^15.7.2", |
64 | | - "react": "^17.0.2", |
65 | | - "react-dom": "^17.0.2", |
| 71 | + "react": "^18.2.0", |
| 72 | + "react-docgen-typescript": "^2.2.2", |
| 73 | + "react-dom": "^18.2.0", |
66 | 74 | "react-test-renderer": "^17.0.2", |
67 | 75 | "rollup": "^2.55.1", |
68 | 76 | "rollup-plugin-filesize": "^9.1.1", |
69 | 77 | "rollup-plugin-terser": "^7.0.2", |
70 | 78 | "rollup-plugin-visualizer": "^5.5.4", |
71 | 79 | "styled-components": "^4.0.0-beta.8", |
72 | | - "typescript": "^2.9.2", |
| 80 | + "typescript": "^4.9", |
73 | 81 | "typings-tester": "^0.3.1", |
74 | 82 | "webpack": "^5.76.3" |
75 | 83 | }, |
|
0 commit comments