You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
3.3 KiB
101 lines
3.3 KiB
{
|
|
"name": "react-website",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"license": "CC",
|
|
"scripts": {
|
|
"analyze": "ANALYZE=true next build",
|
|
"dev": "next",
|
|
"build": "next build && node ./scripts/generateRSS.js",
|
|
"lint": "next lint",
|
|
"lint:fix": "next lint --fix",
|
|
"format:source": "prettier --config .prettierrc --write \"{plugins,src}/**/*.{js,ts,jsx,tsx}\"",
|
|
"nit:source": "prettier --config .prettierrc --list-different \"{plugins,src}/**/*.{js,ts,jsx,tsx}\"",
|
|
"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",
|
|
"tsc": "tsc --noEmit",
|
|
"start": "next start",
|
|
"postinstall": "is-ci || (cd .. && husky install beta/.husky)",
|
|
"check-all": "npm-run-all prettier lint:fix tsc"
|
|
},
|
|
"dependencies": {
|
|
"@codesandbox/sandpack-react": "^0.1.20",
|
|
"@docsearch/css": "3.0.0-alpha.41",
|
|
"@docsearch/react": "3.0.0-alpha.41",
|
|
"@headlessui/react": "^1.3.0",
|
|
"@mdx-js/react": "^1.6.16",
|
|
"@next/plugin-google-analytics": "^10.0.6",
|
|
"body-scroll-lock": "^3.1.3",
|
|
"classnames": "^2.2.6",
|
|
"date-fns": "^2.16.1",
|
|
"debounce": "^1.2.1",
|
|
"github-slugger": "^1.3.0",
|
|
"next": "^12.0.3-canary.2",
|
|
"parse-numeric-range": "^1.2.0",
|
|
"react": "18.0.0-alpha-930c9e7ee-20211015",
|
|
"react-collapsed": "3.1.0",
|
|
"react-dom": "18.0.0-alpha-930c9e7ee-20211015",
|
|
"scroll-into-view-if-needed": "^2.2.25"
|
|
},
|
|
"devDependencies": {
|
|
"@mdx-js/loader": "^1.6.16",
|
|
"@types/body-scroll-lock": "^2.6.1",
|
|
"@types/classnames": "^2.2.10",
|
|
"@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": "^16.9.46",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@typescript-eslint/eslint-plugin": "2.x",
|
|
"@typescript-eslint/parser": "2.x",
|
|
"asyncro": "^3.0.0",
|
|
"autoprefixer": "^10.3.1",
|
|
"babel-eslint": "10.x",
|
|
"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-hooks": "2.x",
|
|
"fs-extra": "^9.0.1",
|
|
"globby": "^11.0.1",
|
|
"gray-matter": "^4.0.2",
|
|
"husky": "^7.0.4",
|
|
"is-ci": "^3.0.1",
|
|
"mdast-util-to-string": "^1.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"patch-package": "^6.2.2",
|
|
"postcss": "^8.3.6",
|
|
"postcss-flexbugs-fixes": "4.2.1",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"prettier": "^2.1.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": "^2.2.7",
|
|
"typescript": "^4.0.2",
|
|
"unist-util-visit": "^2.0.3",
|
|
"webpack-bundle-analyzer": "^4.5.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=12.x"
|
|
},
|
|
"nextBundleAnalysis": {
|
|
"budget": null,
|
|
"budgetPercentIncreaseRed": 10,
|
|
"showDetails": true
|
|
}
|
|
}
|
|
|