112 lines
4.8 KiB
JSON
112 lines
4.8 KiB
JSON
{
|
|
"name": "@docsearch/monorepo",
|
|
"private": true,
|
|
"workspaces": [
|
|
"adapters/*",
|
|
"packages/*",
|
|
"examples/*"
|
|
],
|
|
"scripts": {
|
|
"build": "bun run --sequential build:stage:base build:stage:react build:stage:consumers build:stage:adapter website:build",
|
|
"build:all": "bun run --sequential build website:build",
|
|
"build:pkg:core": "bun --filter @docsearch/core build",
|
|
"build:pkg:css": "bun --filter @docsearch/css build",
|
|
"build:pkg:react": "bun --filter @docsearch/react build",
|
|
"build:pkg:js": "bun --filter @docsearch/js build",
|
|
"build:pkg:sidepanel": "bun --filter @docsearch/sidepanel build",
|
|
"build:pkg:sidepanel-js": "bun --filter @docsearch/sidepanel-js build",
|
|
"build:pkg:modal": "bun --filter @docsearch/modal build",
|
|
"build:pkg:adapter": "bun --filter @docsearch/docusaurus-adapter build",
|
|
"build:stage:base": "bun run --parallel build:pkg:core build:pkg:css",
|
|
"build:stage:react": "bun run build:pkg:react",
|
|
"build:stage:consumers": "bun run --parallel build:pkg:js build:pkg:sidepanel build:pkg:sidepanel-js build:pkg:modal",
|
|
"build:stage:adapter": "bun run build:pkg:adapter",
|
|
"build:examples": "bun --filter './examples/*' build",
|
|
"pw:clean": "rm -rf playwright-report test-results",
|
|
"pw:run": "start-server-and-test 'bun run website:test' http://localhost:3000 'playwright test'",
|
|
"pw:run:chromium": "bun run pw:run -- --project=chromium",
|
|
"pw:run:firefox": "bun run pw:run -- --project=firefox",
|
|
"pw:run:webkit": "bun run pw:run -- --project=webkit",
|
|
"pw:ui": "start-server-and-test 'bun run website:test' http://localhost:3000 'playwright test --ui'",
|
|
"lint:css": "stylelint **/src/**/*.css",
|
|
"lint": "eslint .",
|
|
"playground:build": "bun --filter @docsearch/react-example build",
|
|
"playground:start": "bun --filter @docsearch/react-example dev -- --host",
|
|
"playground-js:start": "bun --filter @docsearch/js-example dev -- --host",
|
|
"start": "bun run watch",
|
|
"dev": "bun run start & bun run playground:start",
|
|
"test:size": "bundlesize",
|
|
"test:types": "tsc --noEmit",
|
|
"test": "vitest",
|
|
"watch": "bun --parallel --filter './packages/*' watch",
|
|
"watch:pkg:core": "bun --filter @docsearch/core watch",
|
|
"watch:pkg:css": "bun --filter @docsearch/css watch",
|
|
"watch:pkg:react": "bun --filter @docsearch/react watch",
|
|
"watch:pkg:js": "bun --filter @docsearch/js watch",
|
|
"watch:pkg:sidepanel": "bun --filter @docsearch/sidepanel watch",
|
|
"watch:pkg:sidepanel-js": "bun --filter @docsearch/sidepanel-js watch",
|
|
"watch:pkg:modal": "bun --filter @docsearch/modal watch",
|
|
"website:build": "bun --filter @docsearch/website build",
|
|
"website:start": "bun --filter @docsearch/website start -- --host 0.0.0.0",
|
|
"website:serve": "bun --filter @docsearch/website serve -- --host 0.0.0.0",
|
|
"website:test": "bun --filter @docsearch/website start -- --no-open",
|
|
"changeset": "changeset",
|
|
"version": "changeset version && bun run sync:docsearch-version",
|
|
"release": "changeset publish",
|
|
"sync:docsearch-version": "bun scripts/updateDocsearchVersion.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.29.7",
|
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
"@stylistic/eslint-plugin": "2.13.0",
|
|
"@testing-library/dom": "10.4.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"@typescript-eslint/eslint-plugin": "8.20.0",
|
|
"@typescript-eslint/parser": "8.20.0",
|
|
"bundlesize2": "0.0.32",
|
|
"cssnano": "^7.1.2",
|
|
"@playwright/test": "^1.58.2",
|
|
"eslint": "8.57.1",
|
|
"eslint-config-algolia": "23.2.1",
|
|
"eslint-config-prettier": "10.0.1",
|
|
"eslint-plugin-import": "2.31.0",
|
|
"eslint-plugin-jsdoc": "50.6.2",
|
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
"eslint-plugin-prettier": "5.2.3",
|
|
"eslint-plugin-react": "7.37.4",
|
|
"eslint-plugin-react-hooks": "5.1.0",
|
|
"eslint-plugin-react-refresh": "0.4.18",
|
|
"jsdom": "26.0.0",
|
|
"postcss": "8.5.1",
|
|
"prettier": "3.4.2",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"rolldown": "1.0.0-beta.57",
|
|
"start-server-and-test": "^2.1.5",
|
|
"stylelint": "16.13.2",
|
|
"stylelint-config-sass-guidelines": "12.1.0",
|
|
"stylelint-config-standard": "36.0.1",
|
|
"stylelint-no-unsupported-browser-features": "8.0.2",
|
|
"stylelint-order": "6.0.4",
|
|
"stylelint-prettier": "5.0.2",
|
|
"typescript": "5.7.3",
|
|
"typescript-eslint": "8.20.0",
|
|
"vitest": "^3.2.4",
|
|
"watch": "1.0.2"
|
|
},
|
|
"overrides": {
|
|
"rollup": "^4.59.0",
|
|
"svgo": "^4.0.1",
|
|
"cross-spawn": "^7.0.6",
|
|
"merge": "^2.1.1",
|
|
"fast-xml-parser": "^4.5.4",
|
|
"minimatch": "^3.1.3",
|
|
"http-cache-semantics": "^4.1.1",
|
|
"qs": "^6.14.2",
|
|
"serialize-javascript": "^7.0.3",
|
|
"tar": "^7.5.6",
|
|
"ajv": "^6.14.0",
|
|
"semver-regex": "^3.1.3"
|
|
}
|
|
}
|