main
json 71 lines 2.29 KB
Raw
1 {
2 "name": "babel-plugin-react-compiler",
3 "version": "0.0.0-experimental-334f00b-20240725",
4 "description": "Babel plugin for React Compiler.",
5 "main": "dist/index.js",
6 "license": "MIT",
7 "files": [
8 "dist",
9 "!*.tsbuildinfo"
10 ],
11 "scripts": {
12 "build": "rimraf dist && tsup",
13 "test": "./scripts/link-react-compiler-runtime.sh && yarn snap:ci",
14 "jest": "yarn build && ts-node node_modules/.bin/jest",
15 "snap": "yarn workspace snap run snap",
16 "snap:build": "yarn workspace snap run build",
17 "snap:ci": "yarn snap:build && yarn snap",
18 "ts:analyze-trace": "scripts/ts-analyze-trace.sh",
19 "lint": "yarn eslint src",
20 "watch": "yarn build --dts --watch"
21 },
22 "dependencies": {
23 "@babel/types": "^7.26.0"
24 },
25 "devDependencies": {
26 "@babel/core": "^7.2.0",
27 "@babel/generator": "7.2.0",
28 "@babel/parser": "^7.2.0",
29 "@babel/plugin-syntax-typescript": "^7.18.6",
30 "@babel/plugin-transform-block-scoping": "^7.18.9",
31 "@babel/plugin-transform-modules-commonjs": "^7.18.6",
32 "@babel/preset-react": "^7.18.6",
33 "@babel/preset-typescript": "^7.18.6",
34 "@babel/traverse": "^7.2.0",
35 "@testing-library/react": "^13.4.0",
36 "@tsconfig/node18-strictest": "^1.0.0",
37 "@types/glob": "^8.1.0",
38 "@types/invariant": "^2.2.35",
39 "@types/jest": "^29.0.3",
40 "@types/node": "^18.7.18",
41 "@typescript-eslint/eslint-plugin": "^8.7.0",
42 "@typescript-eslint/parser": "^8.7.0",
43 "babel-jest": "^29.0.3",
44 "babel-plugin-fbt": "^1.0.0",
45 "babel-plugin-fbt-runtime": "^1.0.0",
46 "eslint": "^8.57.1",
47 "invariant": "^2.2.4",
48 "jest": "^29.0.3",
49 "jest-environment-jsdom": "^29.0.3",
50 "pretty-format": "^24",
51 "react": "0.0.0-experimental-4beb1fd8-20241118",
52 "react-dom": "0.0.0-experimental-4beb1fd8-20241118",
53 "ts-jest": "^29.1.1",
54 "ts-node": "^10.9.2",
55 "zod": "^3.25.0 || ^4.0.0",
56 "zod-validation-error": "^3.5.0 || ^4.0.0"
57 },
58 "resolutions": {
59 "./**/@babel/parser": "7.7.4",
60 "./**/@babel/plugin-syntax-flow": "7.7.4",
61 "./**/@babel/types": "7.7.4",
62 "@babel/core": "7.2.0",
63 "@babel/generator": "7.2.0",
64 "@babel/traverse": "7.7.4"
65 },
66 "repository": {
67 "type": "git",
68 "url": "git+https://github.com/react/react.git",
69 "directory": "compiler/packages/babel-plugin-react-compiler"
70 }
71 }