mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-05 22:32:13 +00:00
Update theme (LoveIt) + Add new fields
This commit is contained in:
parent
ec90ebd36e
commit
49c98d8fb5
87 changed files with 6900 additions and 6013 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "loveit-src",
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.0",
|
||||
"description": "LoveIt theme source file",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
|
@ -16,14 +16,15 @@
|
|||
},
|
||||
"scripts": {
|
||||
"preinstall": "npx npm-force-resolutions",
|
||||
"babel": "npx babel src/js --out-file assets/js/theme.js",
|
||||
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc",
|
||||
"build-lunr-segmentit": "browserify src/lib/lunr/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env",
|
||||
"start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender",
|
||||
"start-production": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender -e production",
|
||||
"check": "htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external",
|
||||
"copy": "rm -rf resources && cp -rf exampleSite/resources resources",
|
||||
"prepare": "husky install"
|
||||
"prepare": "husky install",
|
||||
"compile": "npx babel src/js --out-file assets/js/theme.js",
|
||||
"compile-lunr-segmentit": "browserify src/lib/lunr/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env",
|
||||
"hugo": "hugo --source exampleSite --buildDrafts --gc",
|
||||
"hugo-production": "hugo --source exampleSite --gc --minify --environment production",
|
||||
"hugo-server": "hugo server --source exampleSite --buildDrafts --disableFastRender",
|
||||
"hugo-server-production": "hugo server --source exampleSite --minify --disableFastRender --environment production",
|
||||
"htmlproofer": "htmlproofer exampleSite/public --disable-external true --ignore-missing-alt true",
|
||||
"copy-resources": "cp -rf exampleSite/resources ."
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue