50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"name": "hexo-front-matter",
|
|
"version": "4.2.1",
|
|
"description": "Front-matter parser.",
|
|
"main": "dist/front_matter",
|
|
"scripts": {
|
|
"prepublish ": "npm run clean && npm run build",
|
|
"build": "tsc -b",
|
|
"clean": "tsc -b --clean",
|
|
"eslint": "eslint .",
|
|
"pretest": "npm run clean && npm run build",
|
|
"test": "mocha test/index.js --require ts-node/register",
|
|
"test-cov": "c8 --reporter=lcovonly npm run test"
|
|
},
|
|
"files": [
|
|
"dist/**"
|
|
],
|
|
"types": "./dist/front_matter.d.ts",
|
|
"repository": "hexojs/hexo-front-matter",
|
|
"keywords": [
|
|
"front-matter",
|
|
"front matter",
|
|
"yaml",
|
|
"yml",
|
|
"hexo",
|
|
"json"
|
|
],
|
|
"author": "Tommy Chen <tommy351@gmail.com> (http://zespia.tw)",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"js-yaml": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/node": "^18.11.7",
|
|
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
|
"@typescript-eslint/parser": "^5.41.0",
|
|
"c8": "^8.0.0",
|
|
"chai": "^4.3.6",
|
|
"eslint": "^8.23.1",
|
|
"eslint-config-hexo": "^5.0.0",
|
|
"mocha": "^10.0.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=14"
|
|
}
|
|
}
|