UNPKG

1.71 kBJSONView Raw
1{
2 "name": "hexo-util",
3 "version": "3.2.0",
4 "description": "Utilities for Hexo.",
5 "main": "dist/index",
6 "types": "./dist/index.d.ts",
7 "scripts": {
8 "prepublishOnly": "npm install && npm run clean && npm run build",
9 "build": "tsc -b",
10 "clean": "tsc -b --clean",
11 "preeslint": "npm run clean && npm run build",
12 "eslint": "eslint lib test",
13 "pretest": "npm run clean && npm run build",
14 "test": "mocha --require ts-node/register",
15 "test-cov": "c8 --reporter=lcovonly npm run test",
16 "build:highlight": "node scripts/build_highlight_alias.js",
17 "postinstall": "npm run build:highlight"
18 },
19 "files": [
20 "dist/**",
21 "scripts/",
22 "highlight_alias.json"
23 ],
24 "repository": "hexojs/hexo-util",
25 "homepage": "https://hexo.io/",
26 "keywords": [
27 "hexo",
28 "util",
29 "utilities"
30 ],
31 "author": "Tommy Chen <tommy351@gmail.com> (https://zespia.tw)",
32 "maintainers": [
33 "Abner Chou <hi@abnerchou.me> (https://abnerchou.me)"
34 ],
35 "license": "MIT",
36 "devDependencies": {
37 "@types/cross-spawn": "^6.0.2",
38 "@types/node": "^18.11.8",
39 "@types/prismjs": "^1.26.0",
40 "c8": "^8.0.1",
41 "chai": "^4.3.6",
42 "chai-as-promised": "^7.1.1",
43 "eslint": "^8.23.0",
44 "eslint-config-hexo": "^5.0.0",
45 "html-entities": "^2.3.3",
46 "html-tag-validator": "^1.6.0",
47 "mocha": "^10.0.0",
48 "rewire": "^6.0.0",
49 "ts-node": "^10.9.1",
50 "typescript": "^5.0.3"
51 },
52 "dependencies": {
53 "camel-case": "^4.1.2",
54 "cross-spawn": "^7.0.3",
55 "deepmerge": "^4.2.2",
56 "highlight.js": "^11.6.0",
57 "htmlparser2": "^9.0.0",
58 "prismjs": "^1.29.0",
59 "strip-indent": "^3.0.0"
60 },
61 "engines": {
62 "node": ">=14"
63 }
64}