-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.93 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 3.93 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "@gethinode/mod-bootstrap",
"version": "0.0.0-semantically-released",
"description": "A Hugo module to add the Bootstrap toolkit to your Hinode site",
"keywords": [
"hugo",
"module"
],
"main": "index.js",
"packageManager": "pnpm@11.8.0+sha512.c1f5e7c4cb241c8f174b743851d82f42b802324afc8b0f116b96adb15aa06664948dde36960a3ba1079ba5b4b29dd0140135b94b5b5f5263592249d68e555f26",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"prestart": "pnpm mod:vendor",
"start": "hugo server -s exampleSite --bind=0.0.0.0 --disableFastRender --printI18nWarnings",
"start:dart": "hugo server -s exampleSite -e dart --bind=0.0.0.0 --disableFastRender --printI18nWarnings",
"prebuild": "pnpm clean && pnpm mod:vendor",
"build:libsass": "pnpm prebuild && hugo --gc --minify -s exampleSite",
"build:dartsass": "pnpm prebuild && hugo --gc --minify -s exampleSite -e dart",
"clean": "rimraf exampleSite/public",
"env": "hugo env",
"mod:clean": "hugo mod clean",
"mod:update": "rimraf _vendor && hugo mod get -u ./... && hugo mod get -u && pnpm mod:vendor && pnpm mod:tidy",
"mod:tidy": "hugo mod tidy && hugo mod tidy -s exampleSite",
"mod:vendor": "rimraf _vendor && hugo mod vendor",
"prepare": "node .husky/install.mjs",
"update-scss": "npm-run-all update:**",
"update:vendor:step1": "cpy node_modules/bootstrap/scss/vendor/_rfs.scss assets/scss/modules/bootstrap/_vendor --flat",
"update:vendor:step2": "shx echo '@use \"sass:math\";' > assets/scss/modules/bootstrap/_vendor/_rfs-dart.scss",
"update:vendor:step3": "shx cat assets/scss/modules/bootstrap/_vendor/_rfs.scss >> assets/scss/modules/bootstrap/_vendor/_rfs-dart.scss",
"update:vendor:step4": "replace-in-files --string=\"abs(\" --replacement=\"math.abs(\" ./assets/scss/modules/bootstrap/_vendor/_rfs-dart.scss",
"update:mixins:step1": "cpy node_modules/bootstrap/scss/_mixins.scss assets/scss/modules/bootstrap --flat --rename=_mixins-dart.scss",
"update:mixins:step2": "replace-in-files --string=\"vendor/rfs\" --replacement=\"vendor/rfs-dart\" ./assets/scss/modules/bootstrap/_mixins-dart.scss",
"update:bootstrap:step1": "cpy assets/scss/bootstrap.scss assets/scss --flat --rename=bootstrap-dart.scss",
"update:bootstrap:step2": "replace-in-files --string='libsass' --replacement='dartsass' ./assets/scss/bootstrap-dart.scss",
"update:bootstrap:step3": "replace-in-files --string='mixins\"' --replacement='mixins-dart\"' ./assets/scss/bootstrap-dart.scss",
"test": "pnpm build:libsass && pnpm build:dartsass",
"upgrade": "pnpm dlx npm-check-updates -u && pnpm mod:update"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gethinode/mod-bootstrap.git"
},
"author": "Mark Dumay",
"license": "MIT",
"bugs": {
"url": "https://github.com/gethinode/hinode/issues"
},
"homepage": "https://gethinode.com",
"devDependencies": {
"@commitlint/cli": "^21.2.1",
"@commitlint/config-conventional": "^21.0.2",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^11.0.1",
"bootstrap": "^5.3.8",
"cpy-cli": "^7.0.0",
"hugo-extended": "^0.164.0",
"husky": "^9.1.7",
"npm-run-all": "^4.1.5",
"replace-in-files-cli": "^4.0.0",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.9",
"shx": "^0.4.0"
},
"release": {
"branches": "main",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/exec",
{
"prepare": "pnpm install --frozen-lockfile"
}
],
[
"@semantic-release/git",
{
"assets": [
"dist",
"package.json",
"pnpm-lock.yaml"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}