2017-07-07 13:28:29 -04:00
{
2021-11-01 05:07:54 -04:00
"name" : "root" ,
2022-01-26 01:24:15 -05:00
"version" : "0.0.0" ,
"license" : "MIT" ,
2019-03-23 03:21:36 -04:00
"private" : true ,
"workspaces" : [
"packages/*" ,
2023-04-28 10:04:22 -04:00
"argos" ,
2019-03-23 03:21:36 -04:00
"website" ,
2021-08-26 06:21:58 -04:00
"test-website-in-workspace" ,
2021-10-07 10:06:42 -04:00
"packages/create-docusaurus/templates/*" ,
2021-07-22 15:10:36 -04:00
"admin/new.docusaurus.io"
2019-03-23 03:21:36 -04:00
] ,
2017-10-25 17:04:24 -04:00
"scripts" : {
2021-08-20 12:11:13 -04:00
"start" : "yarn build:packages && yarn start:website" ,
"start:website" : "yarn workspace website start" ,
"start:website:baseUrl" : "yarn workspace website start:baseUrl" ,
"start:website:blogOnly" : "yarn workspace website start:blogOnly" ,
"start:website:deployPreview" : "cross-env NETLIFY=true CONTEXT='deploy-preview' yarn workspace website start" ,
2022-05-18 09:34:34 -04:00
"examples:generate" : "node admin/scripts/generateExamples.js" ,
2021-08-20 12:11:13 -04:00
"build" : "yarn build:packages && yarn build:website" ,
2020-07-01 12:30:44 -04:00
"build:packages" : "lerna run build --no-private" ,
2021-08-20 12:11:13 -04:00
"build:website" : "yarn workspace website build" ,
"build:website:baseUrl" : "yarn workspace website build:baseUrl" ,
"build:website:blogOnly" : "yarn workspace website build:blogOnly" ,
2022-02-25 08:13:15 -05:00
"build:website:deployPreview:testWrap" : "yarn workspace website test:swizzle:wrap:ts" ,
"build:website:deployPreview:build" : "cross-env NETLIFY=true CONTEXT='deploy-preview' yarn workspace website build" ,
"build:website:deployPreview" : "yarn build:website:deployPreview:testWrap && yarn build:website:deployPreview:build" ,
2021-10-21 11:17:03 -04:00
"build:website:fast" : "yarn workspace website build:fast" ,
2021-08-20 12:11:13 -04:00
"build:website:en" : "yarn workspace website build --locale en" ,
"clear:website" : "yarn workspace website clear" ,
"serve:website" : "yarn workspace website serve" ,
"serve:website:baseUrl" : "serve website" ,
"serve:website:ssl" : "yarn serve:website:ssl:gencert && yarn serve:website:ssl:message && yarn serve:website:ssl:serve" ,
"serve:website:ssl:gencert" : "openssl req -x509 -nodes -days 365 -newkey rsa:4096 -subj \"/C=US/ST=Docusaurus/L=Anywhere/O=Dis/CN=localhost\" -keyout ./website/.docusaurus/selfsigned.key -out ./website/.docusaurus/selfsigned.crt" ,
"serve:website:ssl:message" : "echo '\n\n\nServing Docusaurus with HTTPS on localhost requires to disable the Chrome security: chrome://flags/#allow-insecure-localhost\n\n\n'" ,
"serve:website:ssl:serve" : "serve website/build --ssl-cert ./website/.docusaurus/selfsigned.crt --ssl-key ./website/.docusaurus/selfsigned.key" ,
"crowdin:upload:website" : "crowdin upload sources --config ./crowdin-v2.yaml" ,
2023-03-24 10:10:16 -04:00
"crowdin:download" : "crowdin download --config ./crowdin-v2.yaml" ,
2023-03-24 11:38:18 -04:00
"crowdin:download:website" : "yarn crowdin:download --language fr --language ko --language pt-BR --language zh-CN --language ja" ,
2023-04-28 10:04:22 -04:00
"argos:screenshot" : "yarn workspace argos screenshot" ,
2020-12-01 05:56:59 -05:00
"canary" : "yarn canary:bumpVersion && yarn canary:publish" ,
2021-08-05 08:19:58 -04:00
"canary:version" : "echo 0.0.0-`git rev-list --count HEAD`+`git rev-parse --short HEAD`" ,
2021-08-04 12:34:06 -04:00
"canary:bumpVersion" : "yarn lerna version `yarn --silent canary:version` --exact --no-push --yes" ,
2020-12-02 14:15:12 -05:00
"canary:publish" : "yarn lerna publish from-package --dist-tag canary --yes --no-verify-access" ,
2019-11-08 11:58:56 -05:00
"changelog" : "lerna-changelog" ,
2022-01-10 04:41:02 -05:00
"postinstall" : "yarn lock:update && yarn build:packages" ,
"prepare" : "husky install" ,
2022-01-15 03:33:09 -05:00
"format" : "prettier --write ." ,
"format:diff" : "prettier --list-different ." ,
2022-01-24 20:40:02 -05:00
"lint" : "yarn lint:js && yarn lint:style && yarn lint:spelling" ,
"lint:ci" : "yarn lint:js --quiet && yarn lint:style && yarn lint:spelling" ,
2022-05-03 01:57:19 -04:00
"lint:js" : "eslint --cache --report-unused-disable-directives \"**/*.{js,jsx,ts,tsx,mjs}\"" ,
2023-12-01 14:09:04 -05:00
"lint:js:fix" : "yarn lint:js --fix" ,
"lint:spelling" : "cspell \"**\" --no-progress --show-context --show-suggestions" ,
"lint:spelling:fix" : "yarn rimraf project-words.txt && echo \"# Project Words - DO NOT TOUCH - This is updated through CI\" >> project-words.txt && yarn -s lint:spelling --words-only --unique --no-exit-code --no-summary \"**\" | sort --ignore-case >> project-words.txt" ,
2020-06-18 05:37:48 -04:00
"lint:style" : "stylelint \"**/*.css\"" ,
2023-12-01 14:09:04 -05:00
"lint:style:fix" : "yarn lint:style --fix" ,
2019-03-23 03:21:36 -04:00
"lerna" : "lerna" ,
2022-03-20 20:42:36 -04:00
"test" : "jest" ,
2021-08-20 12:11:13 -04:00
"test:build:website" : "./admin/scripts/test-release.sh" ,
2021-09-30 11:49:44 -04:00
"watch" : "yarn lerna run --parallel watch" ,
2023-04-21 13:48:57 -04:00
"clear" : "(yarn workspace website clear || echo 'Failure while running docusaurus clear') && yarn rimraf test-website && yarn rimraf test-website-in-workspace && yarn lerna exec --ignore docusaurus yarn rimraf lib" ,
2021-08-20 12:11:13 -04:00
"test:baseUrl" : "yarn build:website:baseUrl && yarn serve:website:baseUrl" ,
2023-09-15 04:48:21 -04:00
"lock:update" : "npx --yes yarn-deduplicate" ,
"update-translations" : "yarn workspace @docusaurus/theme-translations update"
2017-07-07 13:28:29 -04:00
} ,
2017-12-12 15:47:52 -05:00
"devDependencies" : {
2023-07-16 11:44:17 -04:00
"@crowdin/cli" : "^3.13.0" ,
2022-06-18 05:03:41 -04:00
"@swc/core" : "1.2.197" ,
2023-07-16 11:44:17 -04:00
"@swc/jest" : "^0.2.26" ,
2022-07-04 07:36:43 -04:00
"@testing-library/react-hooks" : "^8.0.1" ,
2022-02-12 02:29:40 -05:00
"@types/fs-extra" : "^9.0.13" ,
2023-07-16 11:44:17 -04:00
"@types/jest" : "^29.5.3" ,
2023-08-25 04:54:58 -04:00
"@types/lodash" : "^4.14.197" ,
2023-07-16 11:44:17 -04:00
"@types/node" : "^18.16.19" ,
"@types/prompts" : "^2.4.4" ,
"@types/react" : "^18.2.15" ,
2022-05-21 22:40:50 -04:00
"@types/react-dev-utils" : "^9.0.11" ,
2022-04-17 05:32:41 -04:00
"@types/react-test-renderer" : "^18.0.0" ,
2023-07-16 11:44:17 -04:00
"@types/semver" : "^7.5.0" ,
"@types/shelljs" : "^0.8.12" ,
"@typescript-eslint/eslint-plugin" : "^5.62.0" ,
"@typescript-eslint/parser" : "^5.62.0" ,
2021-02-02 08:37:45 -05:00
"cross-env" : "^7.0.3" ,
2023-12-01 14:09:04 -05:00
"cspell" : "^8.1.0" ,
2023-07-16 11:44:17 -04:00
"eslint" : "^8.45.0" ,
2022-02-12 02:29:40 -05:00
"eslint-config-airbnb" : "^19.0.4" ,
2023-07-16 11:44:17 -04:00
"eslint-config-prettier" : "^8.8.0" ,
2021-11-18 08:15:37 -05:00
"eslint-plugin-header" : "^3.1.1" ,
2023-03-08 21:28:14 -05:00
"eslint-plugin-import" : "^2.27.5" ,
2023-07-16 11:44:17 -04:00
"eslint-plugin-jest" : "^27.2.3" ,
2023-03-08 21:28:14 -05:00
"eslint-plugin-jsx-a11y" : "^6.7.1" ,
"eslint-plugin-react" : "^7.32.2" ,
2022-06-18 05:03:41 -04:00
"eslint-plugin-react-hooks" : "^4.6.0" ,
2023-07-16 11:44:17 -04:00
"eslint-plugin-regexp" : "^1.15.0" ,
2023-01-10 13:23:16 -05:00
"husky" : "^8.0.3" ,
2022-07-17 00:44:46 -04:00
"image-size" : "^1.0.2" ,
2023-07-16 11:44:17 -04:00
"jest" : "^29.6.1" ,
"jest-environment-jsdom" : "^29.6.1" ,
2022-06-27 03:03:51 -04:00
"jest-serializer-ansi-escapes" : "^2.0.1" ,
2022-03-22 03:33:55 -04:00
"jest-serializer-react-helmet-async" : "^1.0.21" ,
2023-07-16 11:44:17 -04:00
"lerna" : "^6.6.2" ,
2022-02-02 00:00:31 -05:00
"lerna-changelog" : "^2.2.0" ,
2023-07-16 11:44:17 -04:00
"lint-staged" : "^13.2.3" ,
2022-05-18 06:24:14 -04:00
"npm-run-all" : "^4.1.5" ,
2023-03-08 21:28:14 -05:00
"prettier" : "^2.8.4" ,
2023-06-08 13:40:15 -04:00
"react" : "^18.0.0" ,
"react-dom" : "^18.0.0" ,
2022-05-27 08:50:54 -04:00
"react-helmet-async" : "^1.3.0" ,
2023-06-08 13:40:15 -04:00
"react-test-renderer" : "^18.0.0" ,
2020-06-16 08:40:46 -04:00
"rimraf" : "^3.0.2" ,
2023-07-16 11:44:17 -04:00
"sharp" : "^0.32.3" ,
2022-04-07 23:23:19 -04:00
"strip-ansi" : "^6.0.1" ,
2023-01-10 13:23:16 -05:00
"stylelint" : "^14.16.1" ,
2023-03-08 21:28:14 -05:00
"stylelint-config-prettier" : "^9.0.5" ,
2023-01-10 15:22:19 -05:00
"stylelint-config-standard" : "^29.0.0" ,
2023-08-25 04:54:58 -04:00
"typescript" : "~5.2.2"
2017-07-07 13:28:29 -04:00
}
}