mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 20:01:57 +00:00
Happened to notice we were still on an old version of the compiler. This PR upgrades us to use the latest RC.
117 lines
3.8 KiB
JSON
117 lines
3.8 KiB
JSON
{
|
|
"name": "react-dev",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"license": "CC",
|
|
"scripts": {
|
|
"analyze": "ANALYZE=true next build",
|
|
"dev": "next-remote-watch ./src/content",
|
|
"build": "next build && node --experimental-modules ./scripts/downloadFonts.mjs",
|
|
"lint": "next lint",
|
|
"lint:fix": "next lint --fix",
|
|
"format:source": "prettier --config .prettierrc --write \"{plugins,src}/**/*.{js,ts,jsx,tsx,css}\"",
|
|
"nit:source": "prettier --config .prettierrc --list-different \"{plugins,src}/**/*.{js,ts,jsx,tsx,css}\"",
|
|
"prettier": "yarn format:source",
|
|
"prettier:diff": "yarn nit:source",
|
|
"lint-heading-ids": "node scripts/headingIdLinter.js",
|
|
"fix-headings": "node scripts/headingIdLinter.js --fix",
|
|
"ci-check": "npm-run-all prettier:diff --parallel lint tsc lint-heading-ids rss deadlinks",
|
|
"tsc": "tsc --noEmit",
|
|
"start": "next start",
|
|
"postinstall": "is-ci || husky install .husky",
|
|
"check-all": "npm-run-all prettier lint:fix tsc rss",
|
|
"rss": "node scripts/generateRss.js",
|
|
"deadlinks": "node scripts/deadLinkChecker.js"
|
|
},
|
|
"dependencies": {
|
|
"@codesandbox/sandpack-react": "2.13.5",
|
|
"@docsearch/css": "^3.8.3",
|
|
"@docsearch/react": "^3.8.3",
|
|
"@headlessui/react": "^1.7.0",
|
|
"@radix-ui/react-context-menu": "^2.1.5",
|
|
"body-scroll-lock": "^3.1.3",
|
|
"classnames": "^2.2.6",
|
|
"debounce": "^1.2.1",
|
|
"github-slugger": "^1.3.0",
|
|
"next": "15.1.0",
|
|
"next-remote-watch": "^1.0.0",
|
|
"parse-numeric-range": "^1.2.0",
|
|
"react": "^19.0.0",
|
|
"react-collapsed": "4.0.4",
|
|
"react-dom": "^19.0.0",
|
|
"remark-frontmatter": "^4.0.1",
|
|
"remark-gfm": "^3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.9",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@mdx-js/mdx": "^2.1.3",
|
|
"@types/body-scroll-lock": "^2.6.1",
|
|
"@types/classnames": "^2.2.10",
|
|
"@types/debounce": "^1.2.1",
|
|
"@types/github-slugger": "^1.3.0",
|
|
"@types/mdx-js__react": "^1.5.2",
|
|
"@types/node": "^14.6.4",
|
|
"@types/parse-numeric-range": "^0.0.1",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.36.2",
|
|
"@typescript-eslint/parser": "^5.36.2",
|
|
"asyncro": "^3.0.0",
|
|
"autoprefixer": "^10.4.2",
|
|
"babel-eslint": "10.x",
|
|
"babel-plugin-react-compiler": "^19.1.0-rc.3",
|
|
"chalk": "4.1.2",
|
|
"eslint": "7.x",
|
|
"eslint-config-next": "12.0.3",
|
|
"eslint-config-react-app": "^5.2.1",
|
|
"eslint-plugin-flowtype": "4.x",
|
|
"eslint-plugin-import": "2.x",
|
|
"eslint-plugin-jsx-a11y": "6.x",
|
|
"eslint-plugin-react": "7.x",
|
|
"eslint-plugin-react-compiler": "^19.0.0-beta-e552027-20250112",
|
|
"eslint-plugin-react-hooks": "^0.0.0-experimental-fabef7a6b-20221215",
|
|
"fs-extra": "^9.0.1",
|
|
"globby": "^11.0.1",
|
|
"gray-matter": "^4.0.2",
|
|
"husky": "^7.0.4",
|
|
"is-ci": "^3.0.1",
|
|
"lint-staged": ">=10",
|
|
"mdast-util-to-string": "^1.1.0",
|
|
"metro-cache": "0.72.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.5",
|
|
"postcss-flexbugs-fixes": "4.2.1",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"prettier": "^2.5.1",
|
|
"reading-time": "^1.2.0",
|
|
"remark": "^12.0.1",
|
|
"remark-external-links": "^7.0.0",
|
|
"remark-html": "^12.0.0",
|
|
"remark-images": "^2.0.0",
|
|
"remark-slug": "^7.0.0",
|
|
"remark-unwrap-images": "^2.0.0",
|
|
"retext": "^7.0.1",
|
|
"retext-smartypants": "^4.0.0",
|
|
"rss": "^1.2.2",
|
|
"tailwindcss": "^3.4.1",
|
|
"typescript": "^5.7.2",
|
|
"unist-util-visit": "^2.0.3",
|
|
"webpack-bundle-analyzer": "^4.5.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.8.0"
|
|
},
|
|
"nextBundleAnalysis": {
|
|
"budget": null,
|
|
"budgetPercentIncreaseRed": 10,
|
|
"showDetails": true
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx,css}": "yarn prettier",
|
|
"src/**/*.md": "yarn fix-headings"
|
|
},
|
|
"packageManager": "yarn@1.22.22"
|
|
}
|