зеркало из https://github.com/github/docs.git
215 строки
7.7 KiB
JSON
215 строки
7.7 KiB
JSON
{
|
|
"author": {
|
|
"email": "opensource+docs@github.com",
|
|
"name": "GitHub",
|
|
"url": "https://github.com/github/docs"
|
|
},
|
|
"cacheDirectories": [
|
|
"node_modules",
|
|
".next/cache"
|
|
],
|
|
"dependencies": {
|
|
"@elastic/elasticsearch": "7.11.0",
|
|
"@github/failbot": "0.8.0",
|
|
"@primer/css": "^20.2.4",
|
|
"@primer/octicons": "17.7.0",
|
|
"@primer/octicons-react": "17.7.0",
|
|
"@primer/react": "^35.2.2",
|
|
"accept-language-parser": "^1.5.0",
|
|
"ajv": "^8.11.0",
|
|
"ajv-formats": "^2.1.1",
|
|
"bottleneck": "2.19.5",
|
|
"cheerio": "^1.0.0-rc.11",
|
|
"cheerio-to-text": "0.2.0",
|
|
"classnames": "^2.3.1",
|
|
"connect-datadog": "0.0.9",
|
|
"cookie-parser": "^1.4.6",
|
|
"cors": "^2.8.5",
|
|
"dayjs": "^1.11.3",
|
|
"dotenv": "^16.0.1",
|
|
"express": "^4.18.1",
|
|
"express-timeout-handler": "^2.2.2",
|
|
"flat": "^5.0.2",
|
|
"github-slugger": "^1.4.0",
|
|
"got": "^12.1.0",
|
|
"gray-matter": "^4.0.3",
|
|
"hast-util-from-parse5": "^7.1.0",
|
|
"hast-util-parse-selector": "^3.1.0",
|
|
"hast-util-select": "^5.0.2",
|
|
"hast-util-to-string": "^2.0.0",
|
|
"hastscript": "^7.0.2",
|
|
"helmet": "^6.0.0",
|
|
"highlight.js": "11.5.1",
|
|
"highlightjs-curl": "^1.3.0",
|
|
"highlightjs-graphql": "^1.0.2",
|
|
"hot-shots": "^9.0.0",
|
|
"html-entities": "^2.3.3",
|
|
"http-proxy-middleware": "2.0.6",
|
|
"imurmurhash": "^0.1.4",
|
|
"javascript-stringify": "^2.1.0",
|
|
"js-cookie": "^3.0.1",
|
|
"js-yaml": "^4.1.0",
|
|
"liquidjs": "9.22.1",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"lunr": "^2.3.9",
|
|
"lunr-languages": "^1.9.0",
|
|
"mdast-util-from-markdown": "^1.2.0",
|
|
"mdast-util-to-string": "^3.1.0",
|
|
"morgan": "^1.10.0",
|
|
"msgpack5rpc": "^1.1.0",
|
|
"next": "12.2.4",
|
|
"parse5": "7.0.0",
|
|
"port-used": "^2.0.8",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-markdown": "^8.0.3",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"rehype-autolink-headings": "^6.1.1",
|
|
"rehype-highlight": "^6.0.0",
|
|
"rehype-raw": "^6.1.1",
|
|
"rehype-slug": "^5.0.1",
|
|
"rehype-stringify": "^9.0.3",
|
|
"remark-code-extra": "^1.0.1",
|
|
"remark-gemoji-to-emoji": "^1.1.0",
|
|
"remark-gfm": "^3.0.1",
|
|
"remark-parse": "^10.0.1",
|
|
"remark-parse-no-trim": "^8.0.4",
|
|
"remark-rehype": "^10.1.0",
|
|
"revalidator": "^0.3.1",
|
|
"rss-parser": "^3.12.0",
|
|
"scroll-anchoring": "^0.1.0",
|
|
"semver": "^7.3.7",
|
|
"slash": "^5.0.0",
|
|
"strip-html-comments": "^1.0.0",
|
|
"styled-components": "^5.3.5",
|
|
"swr": "^1.3.0",
|
|
"ts-dedent": "^2.2.0",
|
|
"unified": "^10.1.2",
|
|
"unist-util-visit": "^4.1.0",
|
|
"url-template": "^3.0.0",
|
|
"uuid": "^9.0.0",
|
|
"walk-sync": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^1.9.1",
|
|
"@actions/github": "^5.0.3",
|
|
"@alex_neo/jest-expect-message": "^1.0.5",
|
|
"@babel/core": "^7.18.5",
|
|
"@babel/eslint-parser": "^7.18.2",
|
|
"@babel/plugin-syntax-top-level-await": "^7.14.5",
|
|
"@babel/plugin-transform-runtime": "^7.18.5",
|
|
"@babel/preset-env": "^7.18.2",
|
|
"@graphql-inspector/core": "^3.1.2",
|
|
"@graphql-tools/load": "^7.5.14",
|
|
"@jest/globals": "29.0.3",
|
|
"@octokit/graphql": "5.0.4",
|
|
"@octokit/rest": "^19.0.4",
|
|
"@types/github-slugger": "^1.3.0",
|
|
"@types/imurmurhash": "^0.1.1",
|
|
"@types/js-cookie": "^3.0.2",
|
|
"@types/lodash": "^4.14.182",
|
|
"@types/react": "17.0.38",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/react-syntax-highlighter": "^15.5.2",
|
|
"@types/uuid": "^8.3.4",
|
|
"@typescript-eslint/eslint-plugin": "5.38.0",
|
|
"@typescript-eslint/parser": "5.38.0",
|
|
"babel-loader": "^8.2.5",
|
|
"babel-plugin-styled-components": "^2.0.7",
|
|
"babel-preset-env": "^1.7.0",
|
|
"chalk": "^5.0.1",
|
|
"change-case": "^4.1.2",
|
|
"commander": "^9.3.0",
|
|
"cross-env": "^7.0.3",
|
|
"csp-parse": "0.0.2",
|
|
"dedent": "^0.7.0",
|
|
"eslint": "8.24.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-config-standard": "^17.0.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"event-to-promise": "^0.8.0",
|
|
"git-diff": "^2.0.6",
|
|
"glob": "^8.0.3",
|
|
"graphql": "^16.5.0",
|
|
"http-status-code": "^2.1.0",
|
|
"husky": "^8.0.1",
|
|
"japanese-characters": "^1.1.0",
|
|
"jest": "29.1.2",
|
|
"jest-environment-puppeteer": "^5.0.4",
|
|
"jest-fail-on-console": "^3.0.1",
|
|
"jest-github-actions-reporter": "^1.0.3",
|
|
"jest-slow-test-reporter": "^1.0.0",
|
|
"kill-port": "2.0.0",
|
|
"linkinator": "4.0.2",
|
|
"lint-staged": "^13.0.1",
|
|
"make-promises-safe": "^5.1.0",
|
|
"minimatch": "^5.1.0",
|
|
"mkdirp": "^1.0.4",
|
|
"mockdate": "^3.0.5",
|
|
"nock": "^13.2.7",
|
|
"nodemon": "2.0.20",
|
|
"npm-merge-driver-install": "^3.0.0",
|
|
"nth-check": "2.1.1",
|
|
"postcss": "^8.4.14",
|
|
"prettier": "^2.7.0",
|
|
"replace": "^1.2.1",
|
|
"rimraf": "^3.0.2",
|
|
"robots-parser": "^3.0.0",
|
|
"sass": "^1.52.3",
|
|
"start-server-and-test": "^1.14.0",
|
|
"strip-ansi": "^7.0.1",
|
|
"typescript": "^4.7.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.x"
|
|
},
|
|
"exports": "./server.js",
|
|
"license": "(MIT AND CC-BY-4.0)",
|
|
"name": "docs.github.com",
|
|
"optionalDependencies": {
|
|
"esm": "^3.2.25",
|
|
"image-size": "^1.0.1",
|
|
"jest-puppeteer": "^5.0.4",
|
|
"puppeteer": "^9.1.1",
|
|
"website-scraper": "^5.0.0"
|
|
},
|
|
"private": true,
|
|
"repository": "https://github.com/github/docs",
|
|
"scripts": {
|
|
"browser-test": "cross-env BROWSER=1 NODE_OPTIONS=--experimental-vm-modules JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest tests/browser/browser.js",
|
|
"build": "next build",
|
|
"debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES='en,ja' nodemon --inspect server.js",
|
|
"dev": "cross-env npm start",
|
|
"index-test-fixtures": "node script/search/index-elasticsearch.js -l en -V ghae -V dotcom --index-prefix tests -- tests/content/fixtures/search-indexes",
|
|
"lint": "eslint '**/*.{js,mjs,ts,tsx}'",
|
|
"lint-translation": "cross-env NODE_OPTIONS=--experimental-vm-modules TEST_TRANSLATION=true jest tests/linting/lint-files.js",
|
|
"prepare": "husky install",
|
|
"prettier": "prettier -w \"**/*.{ts,tsx,js,mjs,scss,yml,yaml}\"",
|
|
"prettier-check": "prettier -c \"**/*.{ts,tsx,js,mjs,scss,yml,yaml}\"",
|
|
"prevent-pushes-to-main": "node script/prevent-pushes-to-main.js",
|
|
"rest-dev": "script/rest/update-files.js && npm run dev",
|
|
"show-action-deps": "echo 'Action Dependencies:' && rg '^[\\s|-]*(uses:.*)$' .github -I -N --no-heading -r '$1$2' | sort | uniq | cut -c 7-",
|
|
"start": "cross-env NODE_ENV=development ENABLED_LANGUAGES='en,ja' nodemon server.js",
|
|
"start-all-languages": "cross-env NODE_ENV=development nodemon server.js",
|
|
"sync-search": "cross-env NODE_OPTIONS='--max_old_space_size=8192' start-server-and-test sync-search-server 4002 sync-search-indices",
|
|
"sync-search-ghes-release": "cross-env GHES_RELEASE=1 start-server-and-test sync-search-server 4002 sync-search-indices",
|
|
"sync-search-indices": "script/search/sync-search-indices.js",
|
|
"sync-search-server": "cross-env NODE_ENV=production PORT=4002 CHANGELOG_DISABLED=true node server.js",
|
|
"translation-check": "start-server-and-test translation-check-server 4002 translation-check-test",
|
|
"translation-check-server": "cross-env NODE_ENV=test PORT=4002 node server.js",
|
|
"translation-check-test": "script/i18n/test-html-pages.js",
|
|
"test": "cross-env NODE_OPTIONS='--max_old_space_size=4096 --experimental-vm-modules' jest --logHeapUsage",
|
|
"test-watch": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch --notify --notifyMode=change --coverage",
|
|
"tsc": "tsc --noEmit"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,mjs,ts,tsx}": "eslint --cache --fix",
|
|
"*.{js,mjs,scss,ts,tsx,yml,yaml}": "prettier --write"
|
|
},
|
|
"type": "module"
|
|
}
|