This fixes a UI flash issue on Windows where the <kbd>⌘</kbd> key shows up right before <kbd>Ctrl</kbd> when using SSG (like Docusaurus). This happened because in these scenarii, the site is generated on a server, and we can't know yet what will the user's OS be. Closes facebook/docusaurus#3682.
96 lines
3.4 KiB
JSON
96 lines
3.4 KiB
JSON
{
|
|
"name": "@docsearch/monorepo",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build:clean": "lerna run build:clean --scope @docsearch/*",
|
|
"build:esm": "lerna run build:esm --scope @docsearch/*",
|
|
"build:types": "lerna run build:types --scope @docsearch/*",
|
|
"build:umd": "lerna run build:umd --scope @docsearch/*",
|
|
"build": "lerna run build --scope @docsearch/*",
|
|
"cy:clean": "rimraf cypress/screenshots",
|
|
"cy:info": "cypress info",
|
|
"cy:record": "percy exec -- cypress run --spec 'cypress/integration/**/*' --headless --record",
|
|
"cy:run:chrome": "yarn run cy:run --browser chrome",
|
|
"cy:run:edge": "yarn run cy:run --browser edge",
|
|
"cy:run:firefox": "yarn run cy:run --browser firefox",
|
|
"cy:run": "start-server-and-test doc:test http://localhost:3000 cy:record",
|
|
"cy:verify": "cypress verify",
|
|
"lint:css": "stylelint **/src/**/*.css",
|
|
"lint": "eslint --ext .js,.ts,.tsx .",
|
|
"prepare": "lerna run prepare",
|
|
"release": "shipjs prepare",
|
|
"start": "yarn run watch",
|
|
"test:size": "bundlesize",
|
|
"test:types": "tsc --noEmit",
|
|
"test": "jest",
|
|
"watch": "lerna run watch --parallel --scope @docsearch/*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.11.5",
|
|
"@babel/plugin-transform-react-jsx": "7.10.4",
|
|
"@babel/preset-env": "7.11.5",
|
|
"@babel/preset-typescript": "7.10.4",
|
|
"@percy/cypress": "2.3.1",
|
|
"@rollup/plugin-json": "4.1.0",
|
|
"@rollup/plugin-node-resolve": "7.1.1",
|
|
"@rollup/plugin-replace": "2.3.3",
|
|
"@testing-library/dom": "7.23.0",
|
|
"@testing-library/jest-dom": "5.11.4",
|
|
"@testing-library/user-event": "12.1.3",
|
|
"@types/react": "^16.9.23",
|
|
"@types/react-dom": "^16.9.5",
|
|
"@typescript-eslint/eslint-plugin": "2.19.0",
|
|
"@typescript-eslint/parser": "2.19.0",
|
|
"algoliasearch": "4.4.0",
|
|
"babel-eslint": "10.1.0",
|
|
"babel-loader": "8.1.0",
|
|
"babel-plugin-inline-replace-variables": "1.3.1",
|
|
"babel-plugin-module-resolver": "4.0.0",
|
|
"bundlesize": "0.18.0",
|
|
"concurrently": "5.3.0",
|
|
"cross-env": "7.0.2",
|
|
"cssnano": "4.1.10",
|
|
"cypress": "4.8.0",
|
|
"dotenv": "8.2.0",
|
|
"eslint": "6.8.0",
|
|
"eslint-config-algolia": "15.0.0",
|
|
"eslint-config-prettier": "6.11.0",
|
|
"eslint-plugin-cypress": "2.11.1",
|
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
"eslint-plugin-import": "2.22.0",
|
|
"eslint-plugin-jest": "23.20.0",
|
|
"eslint-plugin-prettier": "3.1.4",
|
|
"eslint-plugin-react": "7.20.6",
|
|
"eslint-plugin-react-hooks": "2.3.0",
|
|
"jest": "26.4.2",
|
|
"jest-watch-typeahead": "0.6.0",
|
|
"lerna": "3.22.1",
|
|
"postcss": "7.0.32",
|
|
"prettier": "2.1.1",
|
|
"react": "16.13.1",
|
|
"react-dom": "16.13.1",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "1.31.0",
|
|
"rollup-plugin-babel": "4.4.0",
|
|
"rollup-plugin-commonjs": "10.1.0",
|
|
"rollup-plugin-filesize": "6.2.1",
|
|
"rollup-plugin-license": "0.13.0",
|
|
"rollup-plugin-terser": "5.2.0",
|
|
"shipjs": "0.20.1",
|
|
"start-server-and-test": "1.11.3",
|
|
"stylelint": "13.7.0",
|
|
"stylelint-a11y": "1.2.3",
|
|
"stylelint-config-prettier": "8.0.2",
|
|
"stylelint-config-sass-guidelines": "7.0.0",
|
|
"stylelint-config-standard": "20.0.0",
|
|
"stylelint-no-unsupported-browser-features": "4.0.0",
|
|
"stylelint-order": "4.1.0",
|
|
"stylelint-prettier": "1.1.2",
|
|
"typescript": "3.7.5",
|
|
"watch": "1.0.2",
|
|
"webpack": "4.44.1"
|
|
}
|
|
}
|