UNPKG

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