-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
61 lines (61 loc) · 1.98 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": "bcc",
"version": "0.1.0",
"description": "Brightening the Covenant Chain",
"homepage": "https://github.com/kingsdigitallab/bcc-11ty/#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/kingsdigitallab/bcc-11ty.git"
},
"author": "King's Digital Lab",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/kingsdigitallab/bcc-11ty/issues"
},
"//scripts": {
"compose": "trap 'echo Stopped; exit 0' SIGINT; docker-compose",
"up": "npm run compose up -- --build",
"down": "npm run compose down",
"exec": "npm run compose exec ${npm_config_service}",
"pkg": "npm run exec npm",
"cms:snapshot": "npm run pkg --service=cms run snapshot:create",
"cms:snapshot:apply": "npm run pkg --service=cms run snapshot:apply ./snapshots/${npm_config_snapshot}.yaml"
},
"scripts": {
"serve": "cd frontend && npx webpack && cd .. && npm run serve -w frontend",
"rebuild": "npm ci && npm run rebuild:full -w frontend",
"lint": "eslint **/_includes/",
"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"
},
"devDependencies": {
"@11ty/eleventy-img": "^2.0.1",
"@babel/eslint-parser": "^7.18.2",
"@babel/eslint-plugin": "^7.17.7",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"markdown-it-eleventy-img": "^0.9.0",
"markdown-it-front-matter": "^0.2.3",
"prettier": "^2.6.2",
"prettier-plugin-sort-imports": "^1.7.0",
"simple-git-hooks": "^2.8.0",
"vscode-langservers-extracted": "^4.2.1"
},
"lint-staged": {
"*.js": "npm run format",
"*.{md,yaml}": "npm run prettier:fix"
},
"workspaces": [
"frontend",
"osnap",
"tests"
],
"dependencies": {
"assets": "file:frontend/assets",
"markdown-it-attrs": "^4.2.0",
"markdown-it-container": "^3.0.0"
}
}