You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
3.5 KiB
120 lines
3.5 KiB
{
|
|
"name": "listr2",
|
|
"version": "5.0.8",
|
|
"description": "Terminal task list reborn! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.",
|
|
"license": "MIT",
|
|
"repository": "https://github.com/cenk1cenk2/listr2",
|
|
"type": "module",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"author": {
|
|
"name": "Cenk Kilic",
|
|
"email": "cenk@kilic.dev",
|
|
"url": "https://cenk.kilic.dev"
|
|
},
|
|
"engines": {
|
|
"node": "^14.13.1 || >=16.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup-node",
|
|
"dev:start": "tsup-node --watch",
|
|
"example": "ts-node -r tsconfig-paths/register --project examples/tsconfig.json",
|
|
"read-snapshot": "./tests/read-terminal-snapshots.sh",
|
|
"clean": "rimraf node_modules yarn.lock",
|
|
"lint": "prettier --loglevel warn --write src/ tests/ examples/ && yarn run lint:check --fix",
|
|
"lint:check": "eslint --ext .ts,.js,.tsx,.jsx src/ tests/ examples/",
|
|
"test": "ts-node -P tests/tsconfig.json -r tsconfig-paths/register node_modules/jest/bin/jest.js --config ./tests/jest.config.cjs",
|
|
"test:cov": "ts-node -P tests/tsconfig.json -r tsconfig-paths/register node_modules/jest/bin/jest.js --coverage --config ./tests/jest.config.cjs",
|
|
"dev:test": "TS_NODE_PROJECT=tests/tsconfig.json node --inspect=0.0.0.0:${DEBUG_PORT:-9229} -r tsconfig-paths/register -r ts-node/register node_modules/jest/bin/jest.js --verbose --watchAll --config ./tests/jest.config.cjs",
|
|
"docs:api": "typedoc --options .typedoc.json --hideInPageTOC --hideBreadcrumbs"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "yarn lint-staged",
|
|
"prepare-commit-msg": "[ -t 1 ] && exec < /dev/tty && git cz --hook || true",
|
|
"pre-push": "yarn test"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js,tsx,jsx,spec.ts}": [
|
|
"prettier --loglevel warn --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.{json,md}": [
|
|
"prettier --loglevel warn --write"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"listr",
|
|
"cli",
|
|
"task",
|
|
"list",
|
|
"tasklist",
|
|
"terminal",
|
|
"term",
|
|
"console",
|
|
"ascii",
|
|
"unicode",
|
|
"loading",
|
|
"indicator",
|
|
"progress",
|
|
"busy",
|
|
"wait",
|
|
"idle"
|
|
],
|
|
"dependencies": {
|
|
"cli-truncate": "^2.1.0",
|
|
"colorette": "^2.0.19",
|
|
"log-update": "^4.0.0",
|
|
"p-map": "^4.0.0",
|
|
"rfdc": "^1.3.0",
|
|
"rxjs": "^7.8.0",
|
|
"through": "^2.3.8",
|
|
"wrap-ansi": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cenk1cenk2/cz-cc": "^1.5.3",
|
|
"@cenk1cenk2/eslint-config": "2.5.26",
|
|
"@types/clone": "^2.1.1",
|
|
"@types/jest": "^29.0.0",
|
|
"@types/node": "^18.7.15",
|
|
"@types/through": "^0.0.30",
|
|
"@types/wrap-ansi": "^3.0.0",
|
|
"delay": "^5.0.0",
|
|
"enquirer": "^2.3.6",
|
|
"eslint": "^8.23.0",
|
|
"jest": "^29.0.2",
|
|
"jest-mock-process": "^2.0.0",
|
|
"lint-staged": "^13.0.3",
|
|
"prettier": "^2.7.1",
|
|
"rimraf": "^4.0.5",
|
|
"simple-git-hooks": "^2.8.0",
|
|
"ts-jest": "^28.0.8",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "^4.1.0",
|
|
"tsup": "6.2.3",
|
|
"typedoc": "^0.23.14",
|
|
"typedoc-plugin-markdown": "^3.13.6",
|
|
"typescript": "^4.8.2"
|
|
},
|
|
"peerDependencies": {
|
|
"enquirer": ">= 2.3.0 < 3"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"enquirer": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/@cenk1cenk2/cz-cc"
|
|
}
|
|
}
|
|
}
|