Files
directus/packages/cli/package.json
WoLfulus d8caf221ed CLI 2.0 (#5376)
* merge components

merge args, parser, docs, formatter, help and handlers

* change directus command and add auto debug

* output format fixes

* adds back some reformatted and documented commands

* better help output format

* refactor all output flow

* export cli types

* more formatting fixes and param rework

* fix table spacing

* add yaml formatting and fix string colors

* finished formatting docs

* remove log

* remove package-lock

* update dependency versions

* fix command description

* workaround typescript loading

* module loading fixes
added command error
rename human to table
fix disconnect usage

* add typescript loader

redirect execution to local package if installed locally
added command alias `directus-ctl`

* fix module load directories

* reimplement stdin pipe to work on linux

* fix sdk server info type

* info command

* Fix stdin bug
Disable community extensions to discourage use for now
Added template to config files
Added password stdin to connect to instances
Fixed typescript command load

* Added command suggestions and QOL features

* Linter fixes

* Add command hints

* Separate positional options

* Add back delete many, fix delete one location

* Change score logic

* Add whoami util command

* Add short online docs

* Fix typo

* Fix typo

* Update commands

* Param consistency fix and docs update

* Create commands

* Update package.json version

* Update package-lock

* Fixed several linting problems

* Update dependencies

* Update lock

* Remove locked dependencies

* Stop conflicts when in home directory

* Package lock update and npm audit fix

* Fix formatting errors

* Comment out extending cli section until we figure out cli ext

* Update readme

* Tweak dev/build/prebuild script naming

* Use up to date deps

* Fix dependency version in lock (fix build)

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-05-12 20:38:30 +00:00

94 lines
2.1 KiB
JSON

{
"name": "@directus/cli",
"version": "9.0.0-rc.64",
"description": "The official Directus CLI",
"repository": {
"type": "git",
"url": "https://github.com/directus/directus.git",
"directory": "packages/cli"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"directusctl": "./bin/directus.js",
"directus-ctl": "./bin/directus.js"
},
"files": [
"bin",
"dist"
],
"scripts": {
"prepublishOnly": "npm run build",
"prebuild": "npm run cleanup",
"build": "tsc --project ./tsconfig.json",
"cleanup": "run-p cleanup:*",
"cleanup:dist": "rimraf ./dist",
"cleanup:coverage": "rimraf ./coverage",
"test": "jest --coverage",
"test:watch": "jest --coverage --watchAll",
"profile": "clinic flame -- node ./bin/directus"
},
"keywords": [
"api",
"client",
"cms",
"directus",
"headless",
"javascript",
"node",
"cli"
],
"author": "João Biondo <wolfulus@gmail.com>",
"license": "MIT",
"dependencies": {
"@directus/format-title": "9.0.0-rc.64",
"@directus/sdk": "9.0.0-rc.64",
"@types/yargs": "^15.0.13",
"app-module-path": "^2.2.0",
"chalk": "^4.1.0",
"cli-highlight": "^2.1.11",
"cli-table3": "^0.5.1",
"cli-ux": "^5.5.1",
"cosmiconfig": "^6.0.0",
"csv": "^5.4.0",
"debug": "^4.3.1",
"dot-object": "^2.1.4",
"dotenv": "^8.2.0",
"eventemitter2": "^6.4.4",
"figlet": "^1.5.0",
"fs-extra": "^8.1.0",
"gluegun": "^4.6.1",
"indent-string": "^4.0.0",
"jaro-winkler": "^0.2.8",
"joi": "^17.4.0",
"js-yaml": "^4.1.0",
"json5": "^2.2.0",
"liquidjs": "^9.23.4",
"marked": "^2.0.3",
"marked-terminal": "^4.1.1",
"merge-options": "^3.0.4",
"open": "^8.0.7",
"pretty-ms": "^7.0.1",
"shimmer": "^1.2.1",
"strip-ansi": "^6.0.0",
"strip-indent": "^3.0.0",
"yargs": "^16.2.0",
"yargs-parser": "^20.2.7"
},
"devDependencies": {
"@types/figlet": "^1.5.0",
"@types/fs-extra": "^9.0.11",
"@types/jest": "^26.0.23",
"@types/js-yaml": "^4.0.0",
"@types/marked-terminal": "^3.1.1",
"jest": "^26.6.3",
"nock": "^13.0.10",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.2",
"ts-node": "^9.1.1",
"typescript": "^4.2.2"
}
}