110 lines
3.9 KiB
JSON
110 lines
3.9 KiB
JSON
{
|
|
"name": "@docsearch/monorepo",
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"examples/*"
|
|
],
|
|
"nohoist": [
|
|
"**/html-minifier-terser"
|
|
]
|
|
},
|
|
"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": "rm -rf cypress/screenshots",
|
|
"cy:info": "cypress info",
|
|
"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 'yarn website:test' http://localhost:3000 'cypress run --spec 'cypress/integration/**/*' --headless'",
|
|
"cy:verify": "cypress verify",
|
|
"lint:css": "stylelint **/src/**/*.css",
|
|
"lint": "eslint --ext .js,.ts,.tsx .",
|
|
"playground:start": "yarn workspace @docsearch/react-example start",
|
|
"playground-js:start": "yarn workspace @docsearch/js-example start",
|
|
"release": "shipjs prepare",
|
|
"start": "yarn run watch",
|
|
"test:size": "bundlesize",
|
|
"test:types": "tsc --noEmit",
|
|
"test": "jest",
|
|
"watch": "lerna run watch --parallel --scope @docsearch/*",
|
|
"website:build": "yarn workspace @docsearch/website build",
|
|
"website:start": "yarn workspace @docsearch/website start --host 0.0.0.0",
|
|
"website:test": "yarn workspace @docsearch/website start --no-open"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.19.3",
|
|
"@babel/plugin-transform-react-jsx": "7.19.0",
|
|
"@babel/preset-env": "7.19.4",
|
|
"@babel/preset-typescript": "7.18.6",
|
|
"@rollup/plugin-json": "4.1.0",
|
|
"@rollup/plugin-node-resolve": "7.1.1",
|
|
"@rollup/plugin-replace": "2.3.3",
|
|
"@testing-library/dom": "8.18.0",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "13.4.0",
|
|
"@testing-library/user-event": "13.5.0",
|
|
"@types/jest": "^29.0.0",
|
|
"@types/jest-diff": "^24.3.0",
|
|
"@types/react": "^18.0.0",
|
|
"@types/react-dom": "^18.0.0",
|
|
"@typescript-eslint/eslint-plugin": "5.40.1",
|
|
"@typescript-eslint/parser": "5.40.1",
|
|
"algoliasearch": "4.14.2",
|
|
"babel-eslint": "10.1.0",
|
|
"babel-loader": "8.2.5",
|
|
"babel-plugin-inline-replace-variables": "1.3.1",
|
|
"babel-plugin-module-resolver": "4.0.0",
|
|
"bundlesize2": "0.0.31",
|
|
"concurrently": "5.3.0",
|
|
"cross-env": "7.0.3",
|
|
"cssnano": "4.1.10",
|
|
"cypress": "9.6.1",
|
|
"dotenv": "16.0.2",
|
|
"eslint": "8.26.0",
|
|
"eslint-config-algolia": "20.0.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-plugin-cypress": "2.12.1",
|
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
"eslint-plugin-import": "2.26.0",
|
|
"eslint-plugin-jest": "27.1.3",
|
|
"eslint-plugin-jsdoc": "39.3.23",
|
|
"eslint-plugin-jsx-a11y": "6.6.1",
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
"eslint-plugin-react": "7.31.10",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"jest": "29.2.1",
|
|
"jest-environment-jsdom": "29.2.1",
|
|
"jest-watch-typeahead": "1.1.0",
|
|
"lerna": "4.0.0",
|
|
"postcss": "8.4.18",
|
|
"prettier": "2.7.1",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"rollup": "1.32.1",
|
|
"rollup-plugin-babel": "4.4.0",
|
|
"rollup-plugin-commonjs": "10.1.0",
|
|
"rollup-plugin-filesize": "9.1.2",
|
|
"rollup-plugin-license": "2.8.2",
|
|
"rollup-plugin-terser": "7.0.2",
|
|
"shipjs": "0.24.4",
|
|
"start-server-and-test": "1.11.3",
|
|
"stylelint": "14.14.0",
|
|
"stylelint-a11y": "1.2.3",
|
|
"stylelint-config-prettier": "9.0.3",
|
|
"stylelint-config-sass-guidelines": "9.0.1",
|
|
"stylelint-config-standard": "28.0.0",
|
|
"stylelint-no-unsupported-browser-features": "5.0.4",
|
|
"stylelint-order": "5.0.0",
|
|
"stylelint-prettier": "2.0.0",
|
|
"ts-jest": "28.0.8",
|
|
"typescript": "4.7.4",
|
|
"watch": "1.0.2",
|
|
"webpack": "4.44.1"
|
|
}
|
|
}
|