- Removed automatic addition of empty summary, tags, category fields - Only adds enrichment fields when actual enrichment data is provided - Added @types/js-yaml dev dependency
60 lines
1.1 KiB
JSON
60 lines
1.1 KiB
JSON
{
|
|
"name": "@bobai/frontmatter",
|
|
"version": "1.1.0",
|
|
"description": "BOBAI Markdown Standard v1.1 frontmatter generator",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf dist",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:coverage": "jest --coverage",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"keywords": [
|
|
"bobai",
|
|
"frontmatter",
|
|
"markdown",
|
|
"yaml",
|
|
"metadata"
|
|
],
|
|
"author": "BobAI",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"js-yaml": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.0",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^20.0.0",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.1.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"roots": [
|
|
"<rootDir>/tests"
|
|
],
|
|
"testMatch": [
|
|
"**/*.test.ts"
|
|
],
|
|
"collectCoverageFrom": [
|
|
"src/**/*.ts"
|
|
],
|
|
"coverageDirectory": "coverage",
|
|
"coverageReporters": [
|
|
"text",
|
|
"lcov"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|