@dlillyatx/dc-cli
Version:
Dynamic Content CLI Tool
129 lines (128 loc) • 3.35 kB
JSON
{
"name": "@dlillyatx/dc-cli",
"version": "0.13.3",
"description": "Dynamic Content CLI Tool",
"main": "./dist/index.js",
"man": "./dist/dc-cli.1",
"bin": {
"dc-cli": "./dist/index.js"
},
"scripts": {
"prepare": "npm run build",
"precommit": "npm run lint",
"commit": "npx git-cz",
"lint": "prettier --check \"**/*.ts\" && eslint \"**/*.ts\"",
"pretest": "npm run lint",
"test": "FORCE_COLOR=1 jest --silent --coverage",
"fix": "prettier --write '**/*.ts'",
"reset": "git clean -dfx && git reset --hard && npm ci",
"prerelease": "npm run reset",
"release": "standard-version",
"prereleaseas": "npm run reset",
"releaseas": "standard-version --release-as ",
"clean": "rimraf dist packages",
"build": "npm run clean && tsc && cp HOW_TO_USE.1 dist/dc-cli.1",
"update:man": "./update_man.sh",
"build:package": "npm run build && pkg --targets node8-macos-x64,node8-linux-x64,node8-win-x64 --out-dir packages .",
"build:compress": "npm run build:package && scripts/compress",
"dev": "ts-node ./src/index.ts"
},
"standard-version": {
"scripts": {
"prerelease": "npm run build:package",
"posttag": "scripts/compress"
}
},
"repository": {
"type": "git",
"url": "git@github.com:amplience/dc-cli.git"
},
"keywords": [
"Dynamic",
"Content",
"CLI"
],
"author": "Amplience",
"license": "Apache-2.0",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
100
],
"type-case": [
1,
"always",
"lower-case"
],
"subject-case": [
1,
"always",
"lower-case"
]
}
},
"pkg": {
"scripts": [
"./dist/**/*.js"
]
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/chalk": "^2.2.0",
"@types/jest": "^24.0.18",
"@types/lodash": "^4.14.144",
"@types/node-fetch": "^2.5.7",
"@types/promise-retry": "^1.1.3",
"@types/rimraf": "^3.0.0",
"@types/table": "^4.0.7",
"@types/url-template": "^2.0.28",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"adm-zip": "^0.4.13",
"axios-mock-adapter": "^1.19.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.5",
"jest": "^27.0.6",
"nock": "^12.0.3",
"pkg": "^5.3.1",
"prettier": "^1.18.2",
"standard-version": "^9.3.1",
"ts-jest": "^27.0.4",
"ts-node": "^8.4.1",
"typescript": "^3.9.10"
},
"dependencies": {
"@types/node": "^17.0.21",
"ajv": "^6.12.3",
"axios": "^0.21.1",
"chalk": "^2.4.2",
"dc-management-sdk-js": "^1.14.0",
"http-status-codes": "^2.2.0",
"lodash": "^4.17.21",
"node-fetch": "^2.6.1",
"promise-retry": "^2.0.1",
"rimraf": "^3.0.0",
"sanitize-filename": "^1.6.3",
"table": "^5.4.6",
"url-template": "^2.0.8",
"yargs": "^14.0.0"
},
"engines": {
"node": ">12"
}
}