Welcome to mirror list, hosted at ThFree Co, Russian Federation.

package.json - github.com/matsuyoshi30/harbor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3d5bb3a331cbbc50c08d5d32e0a357c51c5f826d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  "name": "harbor",
  "version": "1.0.0",
  "description": "Simple and minimal personal blog theme for [Hugo](https://gohugo.io/).",
  "main": "index.js",
  "scripts": {
    "format": "prettier-eslint --write $PWD/'assets/js/search.js'  $PWD/'assets/js/theme.js' $PWD/'layouts/**/*.html'; eslint $PWD/'assets/js/search.js' $PWD/'assets/js/theme.js'",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "matsuyoshi30",
  "license": "MIT",
  "dependencies": {
    "flexsearch": "^0.7.21",
    "instant.page": "^3.0.0"
  },
  "devDependencies": {
    "eslint": "^7.23.0",
    "husky": "^4.3.8",
    "lint-staged": "^10.5.4",
    "mark.js": "^8.11.1",
    "prettier": "^2.2.1",
    "prettier-eslint": "^12.0.0",
    "prettier-eslint-cli": "^5.0.1",
    "prettier-plugin-go-template": "^0.0.10"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "layouts/**/!(bundle).html": [
      "prettier-eslint --write $PWD/'assets/js/search.js' $PWD/'assets/js/theme.js' $PWD/'layouts/**/*.html'"
    ],
    "static/src/*.js": [
      "eslint $PWD/'assets/js/search.js' $PWD/'assets/js/theme.js'"
    ]
  }
}