-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.44 KB
/
package.json
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
{
"name": "@acdh-oeaw/keystatic-lib",
"version": "0.6.1",
"license": "MIT",
"type": "module",
"exports": {
".": "./dist/index.js",
"./preview": "./dist/preview/index.js",
"./reader": "./dist/reader.js"
},
"files": [
"dist"
],
"sideEffects": false,
"engines": {
"node": ">=22",
"pnpm": "9.x"
},
"packageManager": "[email protected]",
"scripts": {
"build": "tsup",
"changeset:add": "changeset add",
"changeset:status": "changeset status --verbose",
"ci:release": "changeset publish",
"ci:version": "changeset version && prettier \"**/CHANGELOG.md\" --write",
"format:check": "prettier . --cache --cache-location ./.prettiercache --check --ignore-path ./.gitignore",
"format:fix": "pnpm run format:check --write",
"lint:check": "eslint . --cache",
"lint:fix": "pnpm run lint:check --fix",
"prepare": "run-s setup",
"prepublishOnly": "run-s validate build",
"setup": "is-ci || simple-git-hooks",
"test": "tsx --test --test-reporter spec",
"types:check": "tsc --noEmit",
"validate": "run-p format:check lint:check types:check test"
},
"dependencies": {
"@sindresorhus/slugify": "^2.2.1",
"@types/mdx": "^2.0.13"
},
"peerDependencies": {
"@keystatic/core": "0.x"
},
"devDependencies": {
"@acdh-oeaw/commitlint-config": "^2.0.0",
"@acdh-oeaw/eslint-config": "^2.0.5",
"@acdh-oeaw/eslint-config-node": "^2.0.5",
"@acdh-oeaw/eslint-config-react": "^2.0.6",
"@acdh-oeaw/prettier-config": "^2.0.0",
"@acdh-oeaw/tsconfig-lib": "^1.1.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@commitlint/cli": "^19.6.0",
"@keystatic/core": "^0.5.42",
"@types/node": "^22.10.1",
"@types/react": "^18.3.13",
"eslint": "^9.16.0",
"eslint-config-flat-gitignore": "^0.3.0",
"globals": "^15.13.0",
"is-ci": "^3.0.1",
"lint-staged": "^15.2.10",
"npm-run-all2": "^7.0.1",
"prettier": "^3.4.2",
"react": "^18.3.1",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"commitlint": {
"extends": "@acdh-oeaw/commitlint-config"
},
"lint-staged": {
"*.ts": [
"eslint --cache --fix",
"prettier --cache --cache-location ./.prettiercache --write"
],
"*.!(ts)": "prettier --cache --cache-location ./.prettiercache --ignore-unknown --write"
},
"prettier": "@acdh-oeaw/prettier-config",
"simple-git-hooks": {
"commit-msg": "pnpm exec commitlint --edit",
"pre-commit": "pnpm exec lint-staged",
"pre-push": "pnpm run validate"
}
}