-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 3.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
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "anglepoised-notes",
"version": "1.0.0",
"description": "Anglepoised Notes blog",
"author": "Paul Love <paul@anglepoised.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:anglepoised/notes.git"
},
"bugs": {
"url": "https://github.com/anglepoised/notes/issues"
},
"homepage": "https://anglepoised.com/",
"engines": {
"node": ">=20"
},
"packageManager": "yarn@1.22.18",
"private": true,
"dependencies": {
"@astrojs/mdx": "^3.1.9",
"@astrojs/rss": "^4.0.10",
"@astrojs/sitemap": "^3.2.1",
"astro": "^4.16.18",
"astro-embed": "^0.9.0"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"html-validate": "^9.2.0",
"husky": "^9.1.7",
"hygen": "^6.2.11",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"npm-scripts-info": "^0.3.9",
"prettier": "^3.4.1",
"prettier-plugin-astro": "^0.14.1",
"typescript": "^5.7.3",
"wrangler": "^3.107.2"
},
"main": "n/a",
"scripts": {
"?build": "Run all build tasks.",
"build": "npm-run-all build:*",
"?build:astro": "Build static version of Astro site for distribution.",
"build:astro": "astro build",
"postbuild": "npm-run-all --sequential postbuild:*",
"postbuild:format": "yarn prettier --ignore-path .prettierignore --write \"./dist/*.html\" \"./dist/**/*.html\"",
"postbuild:html-validate": "html-validate --config .htmlvalidate.json \"dist/**/*.html\"",
"precz": "yarn run lint-changes",
"?cz": "Commit with commitizen",
"cz": "git-cz",
"?dev": "Start Astro development server.",
"dev": "astro dev",
"?format": "Runs all code formatters.",
"format": "yarn prettier \"./*.{astro,js,json,md,mdx}\" \"./**/*.{astro,js,json,md,mdx}\" --write",
"?info": "Display information about the scripts.",
"info": "npm-scripts-info",
"?lint-changes": "Lints any changes that are currently staged in git",
"lint-changes": "lint-staged",
"?lint": "Lint all files",
"lint": "npm-run-all lint:*",
"lint:commits": "./node_modules/.bin/commitlint --from=origin/main",
"lint:format": "yarn prettier --list-different \"./*.{astro,js,json,md,mdx}\" \"./**/*.{astro,js,json,md,mdx}\"",
"?new:article": "Generate a new article scaffold",
"new:article": "hygen article new",
"?new:image": "Generate a new image scaffold",
"new:image": "hygen image new",
"?new:link": "Generate a new link scaffold",
"new:link": "hygen link new",
"?new:note": "Generate a new note scaffold",
"new:note": "hygen note new",
"?new:quote": "Generate a new quote scaffold",
"new:quote": "hygen quote new",
"?new:video": "Generate a new video scaffold",
"new:video": "hygen video new",
"?preview": "Serve built Astro site with Cloudflare wrangler.",
"preview": "wrangler pages dev ./dist",
"?start": "Run development server",
"start": "yarn run dev",
"timestamp": "date -u +\"%Y-%m-%dT%H:%M:%S+00:00\"",
"?timestamp": "Generate a timestamp for manual post updates",
"?test": "Run tests.",
"test": "echo \"Write tests!\"",
"prepare": "husky"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,json}": "yarn prettier --list-different",
"*.{md,mdx}": "yarn prettier --list-different"
}
}