generated from gethinode/mod-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
91 lines (91 loc) · 3.67 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
{
"name": "@gethinode/mod-bootstrap",
"version": "1.3.2",
"description": "A Hugo module to add the Bootstrap toolkit to your Hinode site",
"keywords": [
"hugo",
"module"
],
"main": "index.js",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"prestart": "npm run -s 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": "npm run clean && npm run mod:vendor",
"build:libsass": "npm run -s prebuild && hugo --gc --minify -s exampleSite",
"build:dartsass": "npm run -s 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 && npm run -s mod:vendor && npm run -s mod:tidy",
"mod:tidy": "hugo mod tidy && hugo mod tidy -s exampleSite",
"mod:vendor": "rimraf _vendor && hugo mod vendor",
"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": "npm-run-all build:**",
"upgrade": "npx npm-check-updates -u && npm run -s 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": {
"@semantic-release/exec": "^7.0.3",
"@semantic-release/git": "^10.0.1",
"bootstrap": "^5.3.3",
"cpy-cli": "^5.0.0",
"hugo-bin": "^0.140.1",
"npm-run-all": "^4.1.5",
"replace-in-files-cli": "^3.0.0",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.1",
"shx": "^0.3.4"
},
"hugo-bin": {
"buildTags": "extended"
},
"release": {
"branches": "main",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"prepare": "npm install"
}
],
[
"@semantic-release/git",
{
"assets": [
"dist",
"package.json",
"package-lock.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}