1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 11:05:25 -04:00
jarv.is/package.json

132 lines
4.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": {
"clean": "rimraf public/ resources/ builds/ _vendor/ .vercel/cache/ $TMPDIR/hugo_cache/ hugo_stats.json",
"start": "hugo server --buildDrafts --buildFuture --port=${PORT:-1337} --baseURL=/ --appendPort=false --bind=0.0.0.0 --verbose",
"build": "run-s build:** minify:**",
"build:hugo": "hugo --gc --cleanDestinationDir --verbose",
"minify:html": "html-minifier --html5 --collapse-whitespace --collapse-boolean-attributes --preserve-line-breaks --minify-css --remove-comments --file-ext html --input-dir public --output-dir public **/*.html",
"minify:img": "glob-exec --parallel --foreach 'public/**/{img,images}/' -- imagemin '{{file.path}}*' --plugin=mozjpeg --plugin.mozjpeg.progressive --plugin.mozjpeg.quality=85 --plugin=pngquant --plugin.pngquant.quality={0.1,0.3} --plugin.pngquant.speed=1 --plugin.pngquant.strip --plugin=gifsicle --plugin=svgo --out-dir='{{file.path}}'",
"lint": "run-s lint:**",
"lint:ts": "tsc --noEmit",
"lint:js": "eslint --ext .js,.ts .",
"lint:scss": "stylelint 'assets/sass/**/*.scss' --syntax scss",
"lint:md": "markdownlint 'content/**/*.md'",
"lint:prettier": "prettier --check .",
"docker": "docker run --rm -v $(pwd):/src:ro -p 1337:1337 $(docker build -q .)",
"percy": "npx percy snapshot"
},
"dependencies": {
"@fontsource/comic-neue": "4.4.5",
"@fontsource/inter": "4.4.5",
"@fontsource/roboto-mono": "4.4.5",
"dotenv": "^10.0.0",
"faunadb": "fauna/faunadb-js#master",
"graphql": "^15.5.0",
"graphql-request": "^3.4.0",
"graphql-tag": "^2.12.4",
"html-escaper": "^3.0.3",
"luxon": "^1.27.0",
"modern-normalize": "1.1.0",
"node-fetch": "^2.6.1",
"numeral": "^2.0.6",
"pluralize": "^8.0.0",
"querystring": "^0.2.1",
"rss-parser": "^3.12.0",
"twemoji": "13.1.0",
"twemoji-emojis": "13.1.0"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/eslint-parser": "^7.14.4",
"@babel/preset-env": "^7.14.4",
"@babel/preset-typescript": "^7.13.0",
"@types/html-escaper": "^3.0.0",
"@types/luxon": "^1.26.5",
"@types/node-fetch": "^2.5.10",
"@types/numeral": "^2.0.1",
"@types/pluralize": "^0.0.29",
"@types/twemoji": "^12.1.1",
"@types/xml2js": "^0.4.8",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"@vercel/node": "^1.11.0",
"autoprefixer": "^10.2.6",
"babel-minify": "^0.5.1",
"cross-env": "^7.0.3",
"eslint": "~7.28.0",
"eslint-config-prettier": "~8.3.0",
"eslint-plugin-compat": "~3.9.0",
"eslint-plugin-import": "~2.23.4",
"eslint-plugin-prettier": "~3.4.0",
"glob-exec": "^0.1.1",
"html-minifier": "^4.0.0",
"hugo-extended": "jakejarvis/hugo-extended#9f615221831632cb3b8879ab3fc420fff921e1fd",
"imagemin-cli": "^6.0.0",
"lint-staged": "^11.0.0",
"markdownlint-cli": "~0.27.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.0",
"postcss-clean": "jakejarvis/postcss-clean#master",
"postcss-cli": "^8.3.1",
"postcss-color-rgba-fallback": "^4.0.0",
"postcss-focus": "^5.0.1",
"postcss-import": "^14.0.2",
"postcss-merge-rules": "^5.0.2",
"postcss-normalize-charset": "^5.0.1",
"postcss-reporter": "^7.0.2",
"postcss-svgo": "^5.0.2",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.4.1",
"stylelint": "~13.13.1",
"stylelint-config-prettier": "~8.0.2",
"stylelint-config-sass-guidelines": "~8.0.0",
"stylelint-no-unsupported-browser-features": "~5.0.1",
"stylelint-prettier": "~1.2.0",
"stylelint-scss": "~3.19.0",
"typescript": "^4.3.2",
"web-vitals": "^2.0.1"
},
"optionalDependencies": {
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^9.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^9.0.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.scss": [
"stylelint --syntax scss",
"prettier --write"
],
"*.ts": [
"tsc --noEmit --esModuleInterop"
],
"*.{js,ts}": [
"eslint",
"prettier --write"
],
"*.md": [
"markdownlint",
"prettier --write"
]
}
}