@stricli/core
Version:
Build complex CLIs with type safety and no dependencies
80 lines (79 loc) • 2.26 kB
JSON
{
"name": "@stricli/core",
"version": "1.1.2",
"description": "Build complex CLIs with type safety and no dependencies",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/bloomberg/stricli/tree/main/packages/core"
},
"author": "Michael Molisani <mmolisani@bloomberg.net>",
"files": [
"dist"
],
"type": "module",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"types": "dist/index.d.ts",
"scripts": {
"format": "prettier --config ../../.prettierrc -w .",
"format:check": "prettier --config ../../.prettierrc -c .",
"lint": "eslint src tests",
"lint:fix": "eslint src tests --fix",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "mocha",
"test:clear-baseline": "node scripts/clear_baseline",
"test:accept-baseline": "node scripts/accept_baseline",
"coverage": "c8 npm test",
"build": "tsup",
"prepublishOnly": "npm run build"
},
"mocha": {
"import": "tsx/esm",
"spec": "tests/**/*.spec.ts"
},
"c8": {
"reporter": [
"text",
"lcovonly"
],
"check-coverage": true,
"skip-full": true
},
"tsup": {
"entry": [
"src/index.ts"
],
"format": [
"cjs",
"esm"
],
"tsconfig": "src/tsconfig.json",
"dts": true,
"minify": true,
"clean": true
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.6",
"@types/sinon": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"c8": "^8.0.1",
"chai": "^4.3.10",
"eslint": "^8.57.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"fs-extra": "^11.2.0",
"mocha": "^10.2.0",
"prettier": "^3.2.5",
"sinon": "^17.0.1",
"tsup": "^8.0.1",
"tsx": "^4.8.2",
"typescript": "5.6.x"
}
}