UNPKG

@viewdo/dxp-story-cli

Version:

DXP Story Management CLI

118 lines (117 loc) 3.99 kB
{ "name": "@viewdo/dxp-story-cli", "main": "dist/index.js", "version": "5.2.5", "description": "DXP Story Management CLI", "preferGlobal": true, "bin": { "storyctl": "dist/index.js" }, "repository": { "type": "git", "url": "https://bitbucket.org/viewdo/dxp-story-cli" }, "scripts": { "clean": "rm -fR dist && rm -fR node_modules", "build": "tsc --build tsconfig.json", "debug": "ts-node --inspect-brk src/index.ts", "start": "ts-node src/index.ts", "watch": "tsc --build tsconfig.json -w", "predocker:build": "tsc --build tsconfig.json", "docker:build": "docker build -t dxp-story-cli .", "docker:run": "docker run --rm dxp-story-cli", "test": "mocha", "test:watch": "mocha-typescript-watch -p test/tsconfig.json", "gen": "run-p gen:dxp gen:story gen:org gen:preview gen:s-template gen:a-template", "gen:dxp": "typescript-json-schema tsconfig.json DXPConfiguration --excludePrivate --required --defaultProps -o ./assets/.dxp/dxp-config-schema.json", "gen:story": "typescript-json-schema tsconfig.json StoryConfiguration --excludePrivate --required --defaultProps -o ./assets/.dxp/story-config-schema.json", "gen:org": "typescript-json-schema tsconfig.json OrganizationConfiguration --excludePrivate --required --defaultProps -o ./assets/.dxp/organization-config-schema.json", "gen:preview": "typescript-json-schema tsconfig.json PreviewConfiguration --excludePrivate --required --defaultProps -o ./assets/.dxp/preview-config-schema.json", "gen:s-template": "typescript-json-schema tsconfig.json StoryTemplateConfiguration --excludePrivate --required --defaultProps -o ./assets/.dxp/story-template-config-schema.json", "gen:a-template": "typescript-json-schema tsconfig.json ActionTemplateConfiguration --excludePrivate --required --defaultProps -o ./assets/.dxp/action-template-config-schema.json" }, "engines": { "npm": ">=9", "node": ">=18" }, "keywords": [ "dxp", "cli", "scaffolding", "build", "experience", "story", "development" ], "readme": "README.md", "author": "view.DO", "license": "ISC", "dependencies": { "@google-cloud/storage": "^5.7.3", "axios": "^0.21.1", "class-transformer": "^0.5.1", "class-validator": "^0.12.1", "class-validator-jsonschema": "2.1.1", "clear": "^0.1.0", "colors": "^1.3.3", "commander": "^7.0.0", "date-fns": "^2.16.1", "deep-diff": "^1.0.2", "del": "^6.0.0", "dotenv": "^8.2.0", "ejs": "^3.1.5", "envfile": "^6.14.0", "es6-shim": "^0.35.5", "execa": "^5.1.1", "express": "^4.17.1", "figlet": "^1.2.4", "inquirer": "^7.3.3", "js-yaml": "^4.1.0", "jsonata": "^1.8.3", "kind-of": "^6.0.3", "liquidjs": "^10.8.4", "listr": "^0.14.3", "listr-verbose-renderer": "^0.6.0", "lodash": "^4.17.15", "moment": "^2.24.0", "node-watch": "^0.7.1", "ora": "^5.3.0", "prettier": "^3.3.3", "reflect-metadata": "^0.1.13", "source-map-support": "^0.5.16", "trash": "^7.1.0", "typedi": "^0.10.0", "typescript": "^5.6.2" }, "devDependencies": { "@types/chai": "^4.2.7", "@types/clear": "^0.1.0", "@types/color": "^3.0.0", "@types/figlet": "^1.2.0", "@types/js-yaml": "^4.0.9", "@types/kind-of": "^6.0.0", "@types/listr": "^0.14.2", "@types/lodash": "^4.14.142", "@types/mocha": "^8.2.0", "@types/node": "^22.5.4", "@types/reflect-metadata": "^0.1.0", "@typescript-eslint/eslint-plugin": "^6.14.0", "@typescript-eslint/parser": "^6.14.0", "autofixture": "^1.1.0", "chai": "^4.2.0", "eslint": "^8.56.0", "mocha": "^8.2.1", "mocha-typescript": "^1.1.17", "npm-run-all": "^4.1.5", "nyc": "^15.0.0", "ts-node": "^10.9.2", "typescript-json-schema": "^0.65.1" }, "es2015": "dist/index.js", "es2017": "dist/index.js", "types": "dist/index.d.ts", "files": [ "assets", "dist" ] }