-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
81 lines (81 loc) · 2.04 KB
/
package.json
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "hugo-elasticsearch",
"version": "1.1.4",
"description": "Generate elasticsearch indices for Hugo static sites by parsing front matter.",
"main": "./lib/hes.js",
"bin": {
"hes": "./bin/hes.js",
"hugo-elasticsearch": "./bin/hes.js"
},
"files": [
"bin",
"lib",
"README.md",
"LICENSE.txt"
],
"directories": {
"bin": "./bin",
"lib": "./lib"
},
"scripts": {
"index": "node ./bin/hes -i './content/**' -o './public/elasticsearch.json' -l 'toml' -d '+++'",
"build": "shx rm -rf ./bin ./lib ; babel ./src --out-dir ./",
"lint": "eslint --fix ./src ./test",
"prettier": "prettier --write '**/*.js'",
"pretest": "yarn build",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"prep": "yarn lint && yarn prettier && yarn test",
"prepublishOnly": "yarn prep && bash ./publish.sh"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/*.js": [
"eslint --fix",
"git add"
]
},
"keywords": [
"elasticsearch",
"hugo",
"index",
"indexer",
"toml",
"yaml"
],
"author": "Travis Clarke <[email protected]> (https://www.travismclarke.com/)",
"repository": "github:clarketm/hugo-elasticsearch",
"homepage": "https://github.com/clarketm/hugo-elasticsearch#readme",
"license": "Apache-2.0",
"dependencies": {
"commander": "^2.14.1",
"glob": "^7.1.2",
"gray-matter": "^4.0.1",
"remove-markdown": "^0.3.0",
"striptags": "^3.1.1",
"toml": "^2.3.3"
},
"devDependencies": {
"@types/jest": "^23.3.1",
"@types/shelljs": "^0.8.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-0": "^6.24.1",
"eslint": "^4.18.2",
"husky": "^0.15.0-rc.9",
"jest": "^23.5.0",
"lint-staged": "^7.0.0",
"mock-fs": "^4.7.0",
"prettier": "^1.14.2",
"shelljs": "^0.8.2",
"shx": "^0.2.2",
"yeoman-assert": "^3.1.1"
}
}