-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
39 lines (39 loc) · 1.68 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
{
"private": true,
"repository": "https://github.com/TryGhost/algolia",
"author": "Ghost Foundation",
"license": "MIT",
"engines": {
"node": ">=24"
},
"scripts": {
"dev": "echo \"Implement me!\"",
"build": "pnpm --filter @tryghost/algolia-html-extractor build && pnpm --filter @tryghost/algolia-fragmenter build",
"pretest": "pnpm build",
"test": "NODE_ENV=testing vitest run",
"pretest:coverage": "pnpm build",
"test:coverage": "NODE_ENV=testing vitest run --coverage",
"posttest:coverage": "node ./test/verify-coverage.mjs",
"posttest": "pnpm typecheck && pnpm lint",
"typecheck": "pnpm --filter @tryghost/algolia-fragmenter typecheck && pnpm --filter @tryghost/algolia-netlify typecheck && pnpm --filter @tryghost/algolia-html-extractor typecheck && pnpm --filter @tryghost/algolia typecheck",
"lint": "oxlint --quiet && oxfmt --check .",
"lint:fix": "oxlint --fix && oxfmt .",
"format": "oxfmt .",
"preship": "git diff --quiet && git diff --cached --quiet || (echo 'Error: working tree must be clean before shipping' && exit 1) && pnpm test",
"ship": "nx release version --git-push --git-remote ${GHOST_UPSTREAM:-origin}",
"ship:patch": "pnpm ship patch",
"ship:minor": "pnpm ship minor",
"ship:major": "pnpm ship major"
},
"devDependencies": {
"@bcoe/v8-coverage": "1.0.2",
"@nx/js": "23.2.1",
"@vitest/coverage-v8": "4.1.11",
"nx": "23.2.1",
"oxfmt": "0.70.0",
"oxlint": "1.85.0",
"vite": "8.3.1",
"vitest": "4.1.11"
},
"packageManager": "pnpm@11.28.0+sha512.8ed239371de82244b6cccf9e2023c18ea8439961f2ec3fe898913b9f7ee2e76ca0a45717580aca3c7997c135f6d4f5de4524cbeee1a2ccac430c03d134e2a48c"
}