mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 22:28:30 -04:00
![dependabot-preview[bot]](/assets/img/avatar_default.png)
Bumps [netlify-cli](https://github.com/netlify/cli) from 2.24.0 to 2.25.0. - [Release notes](https://github.com/netlify/cli/releases) - [Changelog](https://github.com/netlify/cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/netlify/cli/compare/v2.24.0...v2.25.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
64 lines
2.5 KiB
JSON
64 lines
2.5 KiB
JSON
{
|
|
"name": "jarv.is",
|
|
"version": "1.3.37",
|
|
"homepage": "https://jarv.is/",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"author": {
|
|
"name": "Jake Jarvis",
|
|
"email": "jake@jarv.is",
|
|
"url": "https://github.com/jakejarvis"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jakejarvis/jarv.is.git"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn clean && yarn hugo:build && yarn optimize",
|
|
"build:preview": "yarn clean && yarn hugo:build-dev",
|
|
"hugo:build": "hugo --gc --cleanDestinationDir --verbose",
|
|
"hugo:build-dev": "cross-env HUGO_ENV=development hugo -e development --buildDrafts --buildFuture --baseURL ${DEPLOY_PRIME_URL:-/} --gc --cleanDestinationDir --verbose",
|
|
"hugo:version": "hugo version; hugo env",
|
|
"start": "yarn serve:hugo",
|
|
"serve:hugo": "hugo server --buildDrafts --buildFuture --port 1313 --bind 0.0.0.0 --verbose",
|
|
"serve:docker": "docker build -t jarv.is:develop -f Dockerfile . && docker run -v $(pwd):/src -p 1313:1313 jarv.is:develop",
|
|
"serve:netlify": "netlify dev --command 'yarn serve:hugo'",
|
|
"optimize": "yarn optimize:html && yarn optimize:css && yarn optimize:img",
|
|
"optimize:html": "html-minifier --html5 --collapse-whitespace --preserve-line-breaks --minify-css --file-ext html --input-dir public --output-dir public **/*.html",
|
|
"optimize:css": "cleancss -O0 --format 'keep-breaks' -o public/style.css public/style.css",
|
|
"optimize:img": "find public/ -type d -exec imagemin {}/* --plugin=jpegoptim --plugin=pngquant --plugin=optipng --plugin=svgo --plugin=gifsicle --out-dir={} \\;",
|
|
"lint": "yarn lint:markdown; yarn lint:sass",
|
|
"lint:markdown": "markdownlint content/notes/**/*.md",
|
|
"lint:sass": "stylelint assets/sass/**/* --syntax scss",
|
|
"clean": "rimraf public/ resources/"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"clean-css-cli": "~4.3.0",
|
|
"cross-env": "^6.0.3",
|
|
"html-minifier": "~4.0.0",
|
|
"hugo-bin": "0.48.1",
|
|
"imagemin-cli": "^5.0.0",
|
|
"imagemin-gifsicle": "^6.0.1",
|
|
"imagemin-jpegoptim": "^6.0.0",
|
|
"imagemin-optipng": "^7.1.0",
|
|
"imagemin-pngquant": "^8.0.0",
|
|
"imagemin-svgo": "^7.0.0",
|
|
"markdownlint-cli": "~0.19.0",
|
|
"netlify-cli": "^2.25.0",
|
|
"rimraf": "^3.0.0",
|
|
"stylelint": "~12.0.0",
|
|
"stylelint-config-recommended-scss": "~4.1.0",
|
|
"stylelint-scss": "~3.13.0"
|
|
},
|
|
"hugo-bin": {
|
|
"buildTags": "extended"
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recommended-scss",
|
|
"rules": {
|
|
"selector-type-no-unknown": null
|
|
}
|
|
}
|
|
}
|