-
-
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.68.0",
"oxlint": "1.83.0",
"vite": "8.3.0",
"vitest": "4.1.11"
},
"packageManager": "pnpm@11.27.0+sha512.ad12821463bb143295f1fa3ecde77a6b9b97a7990386da800ff57bffc3964dc64b7b1c7559d5dbe5c337aea659ed9c8937d4370bd198ca2009bc6fa0249808e7"
}