-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.12 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 2.12 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
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
{
"name": "vellum-book",
"version": "0.4.7",
"type": "module",
"author": {
"name": "Your Name",
"email": "you@example.com",
"url": "https://example.com/"
},
"engines": {
"node": ">=25.0.0"
},
"dependencies": {
"@grislyeye/link-preview": "^0.0.3",
"magick.css": "^1.0.6",
"normalize.css": "^8.0.1",
"vellum-doc": "^0.10.1"
},
"devDependencies": {
"@shopify/prettier-plugin-liquid": "^1.10.2",
"browser-sync": "^3.0.4",
"concurrently": "^9.2.1",
"dompurify": "^3.4.0",
"gh-pages": "^6.3.0",
"htmlhint": "^1.9.2",
"jsdom": "^29.0.2",
"linkinator": "^7.6.1",
"liquidjs": "^10.25.6",
"marked": "^18.0.2",
"marked-gfm-heading-id": "^4.1.4",
"marked-magickcss-sidenote": "^0.0.3",
"npm-watch": "^0.13.0",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"stylelint": "^17.8.0",
"stylelint-config-standard": "^40.0.0"
},
"scripts": {
"build": "mkdir -p dist && npm run build:dist",
"build:dist": "mkdir -p dist && node index.js > dist/index.html && npm run build:assets && npm run build:modules",
"build:watch": "npm-watch",
"build:assets": "cp -r assets dist/",
"build:modules": "mkdir -p dist/vendor && cp -r node_modules/vellum-doc dist/vendor/vellum-doc/ && cp -r node_modules/magick.css/ dist/vendor/magick.css && cp -r node_modules/normalize.css/ dist/vendor/normalize.css/",
"clean": "rm -r dist",
"lint": "npx prettier . --check && npx htmlhint dist/index.html",
"lint:fix": "npx prettier . --write",
"test": "npm run lint && npm run test:links",
"test:pr": "npm run lint && npm run test:links:soft --skip example.com",
"test:links": "linkinator --check-fragments dist/index.html --skip example.com",
"start": "npm run build && concurrently 'npm run start:server' 'npm run build:watch'",
"start:server": "browser-sync start --server --files dist --ss dist"
},
"watch": {
"build": {
"patterns": [
"**/*"
],
"extensions": "md,html,css,liquid,json",
"ignore": [
"node_module",
"dist"
]
}
},
"document": {
"title": "Book Title"
}
}