md-report/packages/core/package.json

33 lines
798 B
JSON

{
"name": "@md-report/core",
"version": "0.0.1",
"description": "Write reports in markdown, and get them in docx.",
"license": "MIT",
"author": "syy11cn<syy11cn@outlook.com>",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"bin": {
"mdreport": "./bin/index.js"
},
"scripts": {
"build": "rimraf dist && tsup src/*.ts --format cjs,esm --dts --splitting --no-shims",
"dev": "nr build --watch",
"prepublishOnly": "nr build"
},
"dependencies": {
"docx": "^7.3.0",
"file-saver": "^2.0.5",
"image-size": "^1.0.1",
"resolve-from": "^5.0.0",
"yargs": "^17.4.1"
}
}