86 lines
3.9 KiB
JSON
86 lines
3.9 KiB
JSON
{
|
|
"name": "@docsearch/monorepo",
|
|
"private": true,
|
|
"workspaces": [
|
|
"adapters/*",
|
|
"packages/*",
|
|
"examples/*"
|
|
],
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "bun run --sequential build:stage:base build:stage:react build:stage:consumers build:stage:adapter build:pkg:cli 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:pkg:cli": "bun --filter @docsearch/cli 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",
|
|
"fmt": "oxfmt --config ./.oxfmtrc.json .",
|
|
"pw:clean": "rm -rf playwright-report test-results",
|
|
"pw:run": "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": "playwright test --ui",
|
|
"lint:css": "stylelint **/src/**/*.css",
|
|
"lint": "oxlint .",
|
|
"lint:fix": "oxlint --fix .",
|
|
"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 && bun install",
|
|
"release": "changeset publish",
|
|
"sync:docsearch-version": "bun scripts/updateDocsearchVersion.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.12.1",
|
|
"@changesets/cli": "^2.29.7",
|
|
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
|
|
"@playwright/test": "1.49.1",
|
|
"@stylistic/eslint-plugin": "2.13.0",
|
|
"@testing-library/dom": "10.4.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"bundlesize2": "0.0.32",
|
|
"jsdom": "26.0.0",
|
|
"oxfmt": "^0.59.0",
|
|
"oxlint": "^1.74.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"stylelint": "17.14.0",
|
|
"stylelint-config-sass-guidelines": "13.0.0",
|
|
"stylelint-config-standard": "40.0.0",
|
|
"stylelint-no-unsupported-browser-features": "8.1.1",
|
|
"stylelint-order": "8.1.1",
|
|
"typescript": "5.7.3",
|
|
"vitest": "3.0.2",
|
|
"watch": "1.0.2"
|
|
}
|
|
}
|