{ "name": "omphaloskepsis-2", "version": "1.0.0", "description": "A theme for my personal static site incorporating a blog, various portfolios and a CV searcher.", "scripts": { "precommit": "npm run lint-staged", "dev": "snap run hugo serve", "build": "rm -rf ./public/ && snap run hugo --environment production && npm run format:html:fix -- ./public ", "lint": "npm-run-all2 lint:*", "lint:fix": "npm-run-all2 lint:*:fix", "lint:css": "stylelint \"./assets/css/**/*.scss\" --cache --cache-location .cache/ .stylelintcache", "lint:css:fix": "npm run lint:css -- --fix", "lint:js": "eslint \"./assets/js/*.js\" \"./content/**/*.js\"", "lint:js:fix": "eslint \"./assets/js/*.js\" \"./content/**/*.js\" --fix", "lint:md": "markdownlint --rules sentences-per-line .", "lint:md:fix": "npm run lint:md -- --fix", "lint:html": "npm run build && htmlhint ./public; html-validate ./public", "lint:json": "jsonlint . -s", "lint:json:fix": "npm run lint:json -- -i", "format": "npm-run-all2 format:*", "format:fix": "npm-run-all format:*:fix", "format:html": "prettier --parser html --check .", "format:html:fix": "npm run format:html -- --write", "format:md": "prettier --parser markdown .", "format:md:fix": "npm run format:md -- --write" }, "lint-staged": { "*.s?[ca]ss": [ "npm run spellcheck", "npm run lint:css", "git add" ], "*.md": [ "npm run spellcheck", "npm run format:md", "npm run lint:md", "git add" ], "*.html?": [ "npm run spellcheck", "npm run format:html", "git add" ], "*.json": [ "npm run spellcheck", "npm run lint:json", "git add" ] }, "dependencies": { "chart.js": "^4.4.7", "google-charts": "^2.0.0", "leaflet": "^1.9.4", "leaflet.fullscreen": "^3.0.2", "leaflet.heat": "^0.2.0", "mathjax": "^3.2.2" }, "devDependencies": { "eslint": "^9.17.0", "eslint-config-prettier": "^9.1.0", "html-validate": "^9.1.0", "htmlhint": "^1.1.4", "husky": "^9.1.7", "jsonlint": "^1.6.3", "lint-staged": "^15.3.0", "markdownlint": "^0.37.3", "markdownlint-cli": "^0.43.0", "npm-run-all2": "^7.0.2", "prettier": "^3.4.2", "prettier-plugin-go-template": "^0.0.15", "sentences-per-line": "^0.3.0", "stylelint": "^16.12.0", "stylelint-config-standard-scss": "^14.0.0", "stylelint-prettier": "^5.0.2", "stylelint-scss": "^6.10.0", "stylelint-selector-bem-pattern": "^4.0.1" } }