зеркало из https://github.com/github/docs.git
218 строки
8.1 KiB
JSON
218 строки
8.1 KiB
JSON
{
|
|
"name": "docs.github.com",
|
|
"private": true,
|
|
"repository": "https://github.com/github/docs",
|
|
"license": "(MIT AND CC-BY-4.0)",
|
|
"author": {
|
|
"name": "GitHub",
|
|
"email": "opensource+docs@github.com",
|
|
"url": "https://github.com/github/docs"
|
|
},
|
|
"type": "module",
|
|
"imports": {
|
|
"#src/*": {
|
|
"default": "./src/*"
|
|
}
|
|
},
|
|
"exports": "./server.js",
|
|
"scripts": {
|
|
"build": "next build",
|
|
"debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES=en nodemon --inspect server.js",
|
|
"dev": "cross-env npm start",
|
|
"fixture-dev": "cross-env ROOT=tests/fixtures npm start",
|
|
"fixture-test": "cross-env ROOT=tests/fixtures npm test -- tests/rendering-fixtures",
|
|
"index-test-fixtures": "node src/search/scripts/index-elasticsearch.js -l en -l ja -V ghae -V dotcom --index-prefix tests -- src/search/tests/fixtures/search-indexes",
|
|
"lint": "eslint '**/*.{js,mjs,ts,tsx}'",
|
|
"lint-content": "src/content-linter/scripts/lint-content.js",
|
|
"lint-translation": "cross-env NODE_OPTIONS=--experimental-vm-modules jest src/content-linter/tests/lint-files.js",
|
|
"openapi-docs": "src/rest/docs.js",
|
|
"playwright-test": "playwright test --project=\"Google Chrome\"",
|
|
"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": "src/rest/scripts/update-files.js",
|
|
"show-action-deps": "echo 'Action Dependencies:' && rg '^[\\s|-]*(uses:.*)$' .github -I -N --no-heading -r '$1$2' | sort | uniq | cut -c 7-",
|
|
"prestart": "node script/cmp-files.js package-lock.json .installed.package-lock.json || npm install && cp package-lock.json .installed.package-lock.json",
|
|
"start": "cross-env NODE_ENV=development ENABLED_LANGUAGES=en nodemon server.js",
|
|
"start-all-languages": "cross-env NODE_ENV=development nodemon server.js",
|
|
"start-for-playwright": "cross-env ROOT=tests/fixtures TRANSLATIONS_FIXTURE_ROOT=tests/fixtures/translations ENABLED_LANGUAGES=en,ja NODE_ENV=test node server.js",
|
|
"sync-rest": "src/rest/scripts/update-files.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": "src/search/scripts/sync-search-indices.js",
|
|
"sync-search-server": "cross-env NODE_ENV=production PORT=4002 MINIMAL_RENDER=true CHANGELOG_DISABLED=true node server.js",
|
|
"sync-webhooks": "src/rest/scripts/update-files.js -o webhooks",
|
|
"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",
|
|
"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",
|
|
"tsc": "tsc --noEmit"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,mjs,ts,tsx}": "eslint --cache --fix",
|
|
"*.{js,mjs,scss,ts,tsx,yml,yaml}": "prettier --write",
|
|
"{content,data}/**/*.md": "npm run lint-content -- --local-errors-only --paths"
|
|
},
|
|
"dependencies": {
|
|
"@elastic/elasticsearch": "7.11.0",
|
|
"@github/failbot": "0.8.3",
|
|
"@primer/behaviors": "^1.3.5",
|
|
"@primer/css": "^21.0.7",
|
|
"@primer/octicons": "^19.5.0",
|
|
"@primer/octicons-react": "^19.5.0",
|
|
"@primer/react": "35.29.0",
|
|
"accept-language-parser": "^1.5.0",
|
|
"ajv": "^8.11.0",
|
|
"ajv-errors": "^3.0.0",
|
|
"ajv-formats": "^2.1.1",
|
|
"bottleneck": "2.19.5",
|
|
"boxen": "7.1.0",
|
|
"cheerio": "^1.0.0-rc.11",
|
|
"cheerio-to-text": "0.2.3",
|
|
"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-rate-limit": "7.0.0",
|
|
"express-timeout-handler": "^2.2.2",
|
|
"fastest-levenshtein": "1.0.16",
|
|
"file-type": "18.3.0",
|
|
"flat": "^6.0.1",
|
|
"github-slugger": "^2.0.0",
|
|
"glob": "10.0.0",
|
|
"got": "^13.0.0",
|
|
"gray-matter": "^4.0.3",
|
|
"hast-util-from-parse5": "^8.0.1",
|
|
"hast-util-to-string": "^2.0.0",
|
|
"hastscript": "^8.0.0",
|
|
"helmet": "^7.0.0",
|
|
"highlight.js": "11.7.0",
|
|
"highlightjs-curl": "^1.3.0",
|
|
"hot-shots": "^10.0.0",
|
|
"html-entities": "^2.3.3",
|
|
"http-proxy-middleware": "2.0.6",
|
|
"imurmurhash": "^0.1.4",
|
|
"is-svg": "5.0.0",
|
|
"javascript-stringify": "^2.1.0",
|
|
"js-cookie": "^3.0.1",
|
|
"js-yaml": "^4.1.0",
|
|
"liquidjs": "^10.7.0",
|
|
"lodash": "^4.17.21",
|
|
"lodash-es": "^4.17.21",
|
|
"lowdb": "6.0.0",
|
|
"lowlight": "3.0.0",
|
|
"mdast-util-from-markdown": "^2.0.0",
|
|
"mdast-util-to-hast": "^13.0.1",
|
|
"mdast-util-to-markdown": "2.0.0",
|
|
"mdast-util-to-string": "^4.0.0",
|
|
"morgan": "^1.10.0",
|
|
"next": "13.4.12",
|
|
"ora": "^7.0.1",
|
|
"parse5": "7.1.2",
|
|
"port-used": "^2.0.8",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"rehype-highlight": "^7.0.0",
|
|
"rehype-raw": "^7.0.0",
|
|
"rehype-slug": "^6.0.0",
|
|
"rehype-stringify": "^10.0.0",
|
|
"remark-gemoji-to-emoji": "^1.1.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-rehype": "^11.0.0",
|
|
"rss-parser": "^3.13.0",
|
|
"scroll-anchoring": "^0.1.0",
|
|
"semver": "^7.5.4",
|
|
"sharp": "0.32.1",
|
|
"slash": "^5.0.0",
|
|
"strip-html-comments": "^1.0.0",
|
|
"styled-components": "^5.3.5",
|
|
"swr": "^2.2.2",
|
|
"unified": "^11.0.3",
|
|
"unist-util-visit": "^5.0.0",
|
|
"url-template": "^3.0.0",
|
|
"walk-sync": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^1.10.0",
|
|
"@actions/github": "^5.0.3",
|
|
"@axe-core/playwright": "^4.7.3",
|
|
"@github/markdownlint-github": "^0.4.1",
|
|
"@graphql-inspector/core": "^5.0.0",
|
|
"@graphql-tools/load": "^8.0.0",
|
|
"@jest/globals": "29.7.0",
|
|
"@octokit/rest": "^20.0.2",
|
|
"@playwright/test": "1.38.1",
|
|
"@types/imurmurhash": "^0.1.1",
|
|
"@types/js-cookie": "^3.0.3",
|
|
"@types/lodash": "^4.14.198",
|
|
"@types/react": "18.2.21",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@typescript-eslint/eslint-plugin": "6.7.0",
|
|
"@typescript-eslint/parser": "6.7.0",
|
|
"chalk": "^5.0.1",
|
|
"change-case": "^4.1.2",
|
|
"commander": "^11.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"csp-parse": "0.0.2",
|
|
"dedent": "^1.0.1",
|
|
"eslint": "8.49.0",
|
|
"eslint-config-prettier": "9.0.0",
|
|
"eslint-config-standard": "17.1.0",
|
|
"eslint-import-resolver-typescript": "^3.6.0",
|
|
"eslint-plugin-import": "2.28.1",
|
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
"eslint-plugin-n": "16.1.0",
|
|
"eslint-plugin-primer-react": "^4.0.1",
|
|
"eslint-plugin-promise": "6.1.1",
|
|
"event-to-promise": "^0.8.0",
|
|
"graphql": "^16.5.0",
|
|
"http-status-code": "^2.1.0",
|
|
"husky": "^8.0.3",
|
|
"jest": "29.7.0",
|
|
"jest-expect-message": "1.1.3",
|
|
"jest-fail-on-console": "^3.1.1",
|
|
"jest-slow-test-reporter": "^1.0.0",
|
|
"json-schema-merge-allof": "^0.8.1",
|
|
"kill-port": "2.0.1",
|
|
"lint-staged": "^14.0.1",
|
|
"markdownlint": "^0.28.2",
|
|
"markdownlint-rule-helpers": "^0.19.0",
|
|
"markdownlint-rule-search-replace": "^1.2.0",
|
|
"mdast-util-gfm-table": "^2.0.0",
|
|
"micromark-extension-gfm-table": "^2.0.0",
|
|
"mkdirp": "^3.0.0",
|
|
"mockdate": "^3.0.5",
|
|
"nock": "^13.3.3",
|
|
"nodemon": "3.0.1",
|
|
"npm-merge-driver-install": "^3.0.0",
|
|
"nth-check": "2.1.1",
|
|
"prettier": "^3.0.3",
|
|
"rimraf": "^5.0.0",
|
|
"robots-parser": "^3.0.0",
|
|
"sass": "^1.52.3",
|
|
"sentence-case": "^3.0.4",
|
|
"start-server-and-test": "^2.0.0",
|
|
"ts-jest": "29.1.1",
|
|
"typescript": "^5.2.2",
|
|
"unist-util-remove": "^4.0.0",
|
|
"unist-util-visit-parents": "6.0.1",
|
|
"website-scraper": "^5.3.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"esm": "^3.2.25"
|
|
},
|
|
"engines": {
|
|
"node": "^18 || ^20"
|
|
},
|
|
"cacheDirectories": [
|
|
"node_modules",
|
|
".next/cache"
|
|
]
|
|
}
|