-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.44 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.44 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
{
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/TryGhost/framework.git"
},
"author": "Ghost Foundation",
"license": "MIT",
"packageManager": "pnpm@11.1.2",
"scripts": {
"dev": "echo \"Implement me!\"",
"main": "git checkout main && git pull && pnpm install",
"setup": "pnpm install",
"prepare": "husky",
"test": "nx run-many -t test --parallel=10 --outputStyle=dynamic-legacy",
"test:ci": "nx run-many -t test --outputStyle=static",
"lint": "oxlint -c .oxlintrc.json packages",
"format": "oxfmt -c .oxfmtrc.json \"packages/**/*.{js,ts,json,md}\"",
"format:check": "oxfmt -c .oxfmtrc.json --check \"packages/**/*.{js,ts,json,md}\"",
"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",
"ship:first-release": "pnpm ship patch --first-release"
},
"devDependencies": {
"@nx/js": "22.7.2",
"@vitest/coverage-v8": "4.1.6",
"husky": "9.1.7",
"lint-staged": "17.0.4",
"nx": "22.7.2",
"oxfmt": "0.49.0",
"oxlint": "1.64.0",
"sinon": "catalog:",
"vitest": "4.1.6"
},
"lint-staged": {
"packages/**/*.{js,ts,json,md}": "oxfmt -c .oxfmtrc.json"
}
}