package.json
{
"name": "mikroformat",
"description": "MikroFormat helps you convert and format between different formats",
"version": "1.0.3",
"author": "Mikael Vesavuori",
"license": "MIT",
"type": "module",
"main": "lib/index.cjs",
"module": "lib/index.js",
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./lib/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/mikaelvesavuori/mikroformat.git"
},
"keywords": [
"formater",
"formatter",
"convert",
"format"
],
"bugs": {
"url": "https://github.com/mikaelvesavuori/mikroformat/issues"
},
"homepage": "https://github.com/mikaelvesavuori/mikroformat#readme",
"files": [
"/lib",
"!/lib/**/*.map",
"!/tests"
],
"scripts": {
"start": "npx ts-node src/index.ts",
"test": "npx vitest run --coverage",
"test:watch": "npx vitest",
"build": "npm run clean && tsup src --format esm,cjs --dts && mv dist lib",
"clean": "rm -rf lib && rm -rf dist",
"package": "npm pack",
"prepublishOnly": "npm run build",
"prepare": "husky",
"docs": "npm run docs:clean && npm run docs:typedoc",
"docs:clean": "rm -rf docs",
"docs:typedoc": "npx typedoc --entryPoints src --entryPointStrategy expand --exclude '**/*+(test).ts' --externalPattern 'node_modules/**/*' --excludeExternals --out docs/"
},
"devDependencies": {
"@types/node": "20",
"@typescript-eslint/eslint-plugin": "7",
"@typescript-eslint/parser": "7",
"@vitest/coverage-v8": "1",
"eslint": "8",
"eslint-config-prettier": "9",
"eslint-plugin-prettier": "5",
"husky": "9",
"prettier": "3",
"tsup": "8",
"typescript": "5",
"typedoc": "0",
"vitest": "1"
}
}