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/*" ,
"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:watch" : "nodemon --watch \"./packages/*/lib/**/*.*\" --exec \"yarn start:website\"" ,
"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-01-07 23:59:28 -05:00
"examples:generate" : "node admin/scripts/generateExamples.mjs" ,
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" ,
"build:website:deployPreview" : "cross-env NETLIFY=true CONTEXT='deploy-preview' yarn workspace website 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" ,
"crowdin:download:website" : "crowdin download --config ./crowdin-v2.yaml" ,
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-01-07 23:59:28 -05:00
"lint:js" : "eslint --cache --report-unused-disable-directives \"**/*.{js,jsx,ts,tsx,mjs}\"" ,
2022-01-24 20:40:02 -05:00
"lint:spelling" : "cspell \"**\" --no-progress" ,
2020-06-18 05:37:48 -04:00
"lint:style" : "stylelint \"**/*.css\"" ,
2019-03-23 03:21:36 -04:00
"lerna" : "lerna" ,
2021-03-15 13:02:53 -04:00
"test" : "cross-env TZ=UTC 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" ,
2021-08-20 12:11:13 -04:00
"clear" : "(yarn workspace website clear || echo 'Failure while running docusaurus clear') && yarn lerna exec --ignore docusaurus yarn rimraf lib lib-next" ,
"test:baseUrl" : "yarn build:website:baseUrl && yarn serve:website:baseUrl" ,
2020-11-13 08:21:04 -05:00
"lock:update" : "npx yarn-deduplicate"
2017-07-07 13:28:29 -04:00
} ,
2017-12-12 15:47:52 -05:00
"devDependencies" : {
2022-02-24 06:39:32 -05:00
"@babel/cli" : "^7.17.6" ,
2022-02-18 22:47:44 -05:00
"@babel/core" : "^7.17.5" ,
2022-02-12 02:29:40 -05:00
"@babel/preset-typescript" : "^7.16.7" ,
2022-02-18 22:47:44 -05:00
"@crowdin/cli" : "^3.7.8" ,
2022-02-12 02:29:40 -05:00
"@types/fs-extra" : "^9.0.13" ,
2022-02-24 06:39:32 -05:00
"@types/jest" : "^27.4.1" ,
2022-02-12 02:29:40 -05:00
"@types/lodash" : "^4.14.178" ,
2022-02-24 06:39:32 -05:00
"@types/node" : "^17.0.21" ,
2022-02-12 02:29:40 -05:00
"@types/prompts" : "^2.0.14" ,
"@types/react" : "^17.0.39" ,
"@types/react-dev-utils" : "^9.0.10" ,
2021-10-14 09:47:03 -04:00
"@types/react-test-renderer" : "^17.0.1" ,
2022-02-12 02:29:40 -05:00
"@types/semver" : "^7.3.9" ,
"@types/shelljs" : "^0.8.11" ,
2022-02-24 06:39:32 -05:00
"@typescript-eslint/eslint-plugin" : "^5.12.1" ,
"@typescript-eslint/parser" : "^5.12.1" ,
2022-01-14 21:28:29 -05:00
"concurrently" : "^7.0.0" ,
2021-02-02 08:37:45 -05:00
"cross-env" : "^7.0.3" ,
2022-02-18 22:47:44 -05:00
"cspell" : "^5.18.5" ,
2022-02-12 02:29:40 -05:00
"eslint" : "^8.9.0" ,
"eslint-config-airbnb" : "^19.0.4" ,
2022-02-24 06:39:32 -05:00
"eslint-config-prettier" : "^8.4.0" ,
2021-11-18 08:15:37 -05:00
"eslint-plugin-header" : "^3.1.1" ,
2022-02-12 02:29:40 -05:00
"eslint-plugin-import" : "^2.25.4" ,
2022-02-18 22:47:44 -05:00
"eslint-plugin-jest" : "^26.1.1" ,
2021-11-18 08:15:37 -05:00
"eslint-plugin-jsx-a11y" : "^6.5.1" ,
2022-02-12 02:29:40 -05:00
"eslint-plugin-react" : "^7.28.0" ,
2021-11-18 08:15:37 -05:00
"eslint-plugin-react-hooks" : "^4.3.0" ,
2022-01-10 04:41:02 -05:00
"husky" : "^7.0.4" ,
2022-01-19 06:45:14 -05:00
"image-size" : "^1.0.1" ,
2022-02-12 02:29:40 -05:00
"jest" : "^27.5.1" ,
2022-01-14 21:21:49 -05:00
"lerna" : "^4.0.0" ,
2022-02-02 00:00:31 -05:00
"lerna-changelog" : "^2.2.0" ,
2022-02-18 22:47:44 -05:00
"lint-staged" : "^12.3.4" ,
2022-02-24 06:39:32 -05:00
"netlify-cli" : "^9.8.0" ,
2022-02-12 02:29:40 -05:00
"nodemon" : "^2.0.15" ,
2021-12-30 22:55:42 -05:00
"prettier" : "^2.5.1" ,
2022-02-12 02:29:40 -05:00
"react" : "^17.0.2" ,
"react-dom" : "^17.0.2" ,
2021-10-14 09:47:03 -04:00
"react-test-renderer" : "^17.0.2" ,
2022-01-29 05:10:46 -05:00
"remark-parse" : "^8.0.2" ,
2020-06-16 08:40:46 -04:00
"rimraf" : "^3.0.2" ,
2022-02-12 02:29:40 -05:00
"sharp" : "^0.30.1" ,
2022-02-24 06:39:32 -05:00
"stylelint" : "^14.5.3" ,
2022-01-15 20:42:58 -05:00
"stylelint-config-prettier" : "^9.0.3" ,
2022-02-12 02:29:40 -05:00
"stylelint-config-standard" : "^25.0.0" ,
2022-02-02 00:00:31 -05:00
"typescript" : "^4.5.5" ,
2022-01-29 05:10:46 -05:00
"unified" : "^9.2.1"
2017-07-07 13:28:29 -04:00
}
}