summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json67
1 files changed, 67 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..48ae36a
--- /dev/null
+++ b/package.json
@@ -0,0 +1,67 @@
+{
+ "name": "@gethinode/template",
+ "version": "0.14.0",
+ "description": "Hinode is a clean blog theme for Hugo, an open-source static site generator",
+ "main": "index.js",
+ "scripts": {
+ "prestart": "npm run -s mod:vendor",
+ "start": "hugo server --bind=0.0.0.0 --disableFastRender --printI18nWarnings",
+ "start:prod": "npm run -s prestart && hugo server --bind=0.0.0.0 --disableFastRender --printI18nWarnings -e production",
+ "prebuild": "npm run clean:public && npm run -s mod:vendor",
+ "build": "hugo --gc --minify",
+ "build:cache": "npm run -s prebuild && hugo config | grep cachedir && hugo --gc --minify -e ci",
+ "build:debug": "hugo -e debug --debug",
+ "build:preview": "npm run build -D -F",
+ "clean:public": "rimraf public",
+ "clean:install": "rimraf package-lock.json node_modules",
+ "lint": "npm-run-all lint:**",
+ "lint:scripts": "eslint assets/js --no-error-on-unmatched-pattern",
+ "lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\" --allow-empty-input",
+ "lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"",
+ "mod:clean": "hugo mod clean",
+ "mod:update": "rimraf _vendor && hugo mod get -u ./... && hugo mod get -u && npm run -s mod:vendor && npm run -s mod:tidy",
+ "mod:tidy": "hugo mod tidy",
+ "mod:vendor": "rimraf _vendor && hugo mod vendor",
+ "test": "npm run -s lint",
+ "env": "hugo env",
+ "precheck": "npm version",
+ "check": "hugo version",
+ "upgrade": "npx npm-check-updates -u && npm run -s mod:update"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/gethinode/template.git"
+ },
+ "author": "",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/gethinode/hinode/issues"
+ },
+ "homepage": "https://gethinode.com",
+ "dependencies": {
+ "@fullhuman/postcss-purgecss": "^6.0.0",
+ "autoprefixer": "^10.4.20",
+ "cssnano": "^7.0.6",
+ "cssnano-preset-advanced": "^7.0.6",
+ "hugo-bin": "0.131.1",
+ "purgecss-whitelister": "^2.4.0"
+ },
+ "devDependencies": {
+ "@gethinode/netlify-plugin-dartsass": "^0.3.0",
+ "eslint": "^9.9.1",
+ "neostandard": "^0.11.4",
+ "markdownlint-cli2": "^0.14.0",
+ "netlify-plugin-hugo-cache-resources": "^0.2.1",
+ "npm-run-all": "^4.1.5",
+ "postcss-cli": "^11.0.0",
+ "rimraf": "^6.0.1",
+ "stylelint": "^16.9.0",
+ "stylelint-config-standard-scss": "^13.1.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "*"
+ },
+ "hugo-bin": {
+ "buildTags": "extended"
+ }
+}