UNPKG

@contentstack/cli-auth

Version:

Contentstack CLI plugin for authentication activities

95 lines (94 loc) 2.89 kB
{ "name": "@contentstack/cli-auth", "description": "Contentstack CLI plugin for authentication activities", "version": "1.6.0", "author": "Contentstack", "bugs": "https://github.com/contentstack/cli/issues", "scripts": { "build": "npm run clean && npm run compile", "clean": "rm -rf ./lib ./node_modules tsconfig.build.tsbuildinfo", "compile": "tsc -b tsconfig.json", "postpack": "rm -f oclif.manifest.json", "prepack": "pnpm compile && oclif manifest && oclif readme", "version": "oclif readme && git add README.md", "test:report": "tsc -p test && nyc --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"", "pretest": "tsc -p test", "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"", "posttest": "npm run lint", "lint": "eslint src/**/*.ts", "format": "eslint src/**/*.ts --fix", "test:integration": "mocha --forbid-only \"test/integration/*.test.ts\"", "test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\"", "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"" }, "dependencies": { "@contentstack/cli-command": "~1.6.0", "@contentstack/cli-utilities": "~1.13.1", "@oclif/core": "^4.3.0", "@oclif/plugin-help": "^6.2.28", "otplib": "^12.0.1" }, "devDependencies": { "@fancy-test/nock": "^0.1.1", "@oclif/plugin-help": "^6.2.28", "@oclif/test": "^4.1.13", "@types/chai": "^4.3.20", "@types/mkdirp": "^1.0.2", "@types/mocha": "^8.2.3", "@types/node": "^14.18.63", "@types/sinon": "^10.0.20", "chai": "^4.5.0", "dotenv": "^16.4.7", "eslint": "^8.57.1", "eslint-config-oclif": "^5.2.2", "eslint-config-oclif-typescript": "^3.1.14", "mocha": "10.8.2", "nyc": "^15.1.0", "oclif": "^4.17.46", "sinon": "^19.0.5", "ts-node": "^10.9.2", "typescript": "^4.9.5" }, "engines": { "node": ">=14.0.0" }, "files": [ "/lib", "/npm-shrinkwrap.json", "/oclif.manifest.json", "/messages" ], "homepage": "https://github.com/contentstack/cli", "keywords": [ "contentstack", "cli", "plugin" ], "license": "MIT", "oclif": { "commands": "./lib/commands", "bin": "csdx", "repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-auth/<%- commandPath %>" }, "csdxConfig": { "shortCommandName": { "auth:login": "LIN", "auth:logout": "LOT", "auth:whoami": "WHO", "auth:tokens": "LSTKN", "auth:tokens:add": "ADTKN", "auth:tokens:remove": "RMTKN" } }, "csdxConfig": { "shortCommandName": { "auth:login": "LOGIN", "auth:logout": "LOGOUT", "auth:whoami": "WHOMAI", "auth:tokens": "LSTTKN", "auth:tokens:add": "ADDTKN", "auth:tokens:remove": "RMVTKN" } }, "repository": "contentstack/cli" }