-
Notifications
You must be signed in to change notification settings - Fork 438
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 4.03 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"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 && bun run gh:release",
"sync:docsearch-version": "bun scripts/updateDocsearchVersion.ts",
"gh:release": "bun scripts/generate-github-releases.ts"
},
"devDependencies": {
"@axe-core/playwright": "^4.12.1",
"@changesets/cli": "^2.29.7",
"@eslint-community/eslint-plugin-eslint-comments": "4.4.1",
"@octokit/rest": "22.0.1",
"@playwright/test": "1.49.1",
"@stylistic/eslint-plugin": "2.13.0",
"@testing-library/dom": "10.4.0",
"@types/bun": "1.3.10",
"@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"
}
}