|
39 | 39 | "access": "public" |
40 | 40 | }, |
41 | 41 | "scripts": { |
42 | | - "start": "microbundle watch --jsx React.createElement", |
43 | | - "build": "microbundle --jsx React.createElement", |
44 | | - "test": "jest", |
45 | | - "prepublishOnly": "pnpm build" |
| 42 | + "start": "tsdown --watch", |
| 43 | + "build": "tsdown", |
| 44 | + "test": "vitest run", |
| 45 | + "test:watch": "vitest", |
| 46 | + "prepublishOnly": "pnpm build", |
| 47 | + "type:check": "tsgo --noEmit" |
46 | 48 | }, |
47 | 49 | "dependencies": { |
48 | 50 | "@agney/react-inspector": "^4.0.0", |
|
54 | 56 | "react-simple-code-editor": "^0.11.0" |
55 | 57 | }, |
56 | 58 | "devDependencies": { |
57 | | - "@babel/core": "^7.15.8", |
58 | | - "@babel/preset-env": "^7.15.8", |
59 | | - "@babel/preset-react": "^7.14.5", |
60 | | - "@babel/preset-typescript": "^7.15.0", |
61 | | - "@testing-library/jest-dom": "^5.14.1", |
| 59 | + "@rollup/plugin-babel": "^6.1.0", |
62 | 60 | "@testing-library/react": "^12.1.2", |
63 | | - "@types/jest": "^27.0.2", |
64 | 61 | "@types/lodash": "^4.14.175", |
65 | 62 | "@types/lodash-es": "^4.17.5", |
66 | 63 | "@types/lodash.merge": "^4.6.6", |
67 | 64 | "@types/react": "^17.0.29", |
68 | 65 | "@types/react-dom": "^17.0.9", |
69 | 66 | "@types/react-inspector": "^4.0.2", |
70 | | - "jest": "^27.2.5", |
71 | | - "microbundle": "^0.14.0", |
| 67 | + "babel-plugin-react-compiler": "^1.0.0", |
| 68 | + "jsdom": "^26.0.0", |
72 | 69 | "react": "^17.0.2", |
73 | | - "react-dom": "^17.0.2" |
| 70 | + "react-dom": "^17.0.2", |
| 71 | + "tsdown": "^0.18.1", |
| 72 | + "vitest": "^3.0.0" |
74 | 73 | }, |
75 | 74 | "peerDependencies": { |
76 | 75 | "react": ">=16", |
77 | 76 | "react-dom": ">=16" |
78 | | - }, |
79 | | - "jest": { |
80 | | - "rootDir": "src", |
81 | | - "testEnvironment": "jsdom" |
82 | 77 | } |
83 | 78 | } |
0 commit comments