mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 22:08:27 -04:00
53 lines
1.9 KiB
JSON
53 lines
1.9 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"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn clean && yarn hugo:build && yarn optimize",
|
|
"build:preview": "yarn hugo:build-dev",
|
|
"hugo:build": "hugo --gc --cleanDestinationDir --verbose",
|
|
"hugo:build-dev": "HUGO_ENV=development hugo -e development -b $DEPLOY_PRIME_URL --gc --cleanDestinationDir --buildDrafts --buildFuture --verbose",
|
|
"hugo:serve": "hugo server --buildDrafts --buildFuture --port 1313 --bind=0.0.0.0 --verbose",
|
|
"docker:serve": "docker build -t jarv.is:develop -f Dockerfile . ; docker run -v $(pwd):/src -p 1313:1313 jarv.is:develop",
|
|
"netlify:serve": "netlify dev --command 'yarn hugo:serve'",
|
|
"optimize": "yarn optimize:img",
|
|
"optimize:img": "find public/ -type d -exec imagemin {}/* --plugin=jpegoptim --plugin=pngquant --plugin=optipng --plugin=svgo --plugin=gifsicle --out-dir={} \\;",
|
|
"lint:markdown": "markdownlint content/notes/**/*.md",
|
|
"lint:sass": "stylelint assets/sass/**/* --syntax scss",
|
|
"clean": "rimraf public/ resources/",
|
|
"test": "hugo version; hugo env"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"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.21.0",
|
|
"rimraf": "^3.0.0",
|
|
"stylelint": "~12.0.0",
|
|
"stylelint-config-recommended-scss": "~4.1.0",
|
|
"stylelint-scss": "~3.13.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jakejarvis/jarv.is.git"
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-recommended-scss",
|
|
"rules": {
|
|
"selector-type-no-unknown": null
|
|
}
|
|
}
|
|
}
|