forked from kingsdigitallab/kings-past
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.84 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
{
"name": "kings-past",
"private": true,
"version": "0.0.1",
"description": "King's Past project",
"repository": {
"type": "git",
"url": "git+https://github.com/kingsdigitallab/kings-past.git"
},
"author": "King's Digital Lab",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/kingsdigitallab/kings-past/issues"
},
"homepage": "https://github.com/kingsdigitallab/kings-past#readme",
"devDependencies": {
"@babel/eslint-parser": "^7.22.15",
"@babel/eslint-plugin": "^7.22.10",
"djlint": "^1.34.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.3",
"prettier-plugin-sort-imports": "^1.7.2",
"release-it": "^16.1.5",
"simple-git-hooks": "^2.9.0"
},
"scripts": {
"lint": "eslint **/src **/tests --no-error-on-unmatched-pattern",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier . --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix",
"test": "npm run test --workspaces --if-present",
"release": "release-it",
"frontend:dev": "npm run -w frontend dev"
},
"workspaces": [
"frontend"
],
"lint-staged": {
"*.js": "npm run format",
"*.{json,md,yaml}": "npm run prettier:fix"
},
"release-it": {
"git": {
"changelog": "npx auto-changelog --stdout --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/main/templates/keepachangelog.hbs"
},
"github": {
"release": false
},
"hooks": {
"after:bump": "npx auto-changelog --commit-limit false --unreleased --template https://raw.githubusercontent.com/release-it/release-it/main/templates/keepachangelog.hbs"
},
"npm": {
"publish": false
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}