UNPKG

nopcli

Version:

nopCommerce CLI is a development tool for build plugins for nopCommerce Solutions.

84 lines (83 loc) 2.78 kB
{ "name": "nopcli", "version": "1.0.73", "description": "nopCommerce CLI is a development tool for build plugins for nopCommerce Solutions.", "keywords": [ "nopCommerce", "Ecommerce", "plugin", "shell", "cli", "dotnet", "nop" ], "contributors": [ "Diogenes Polanco <diogenespolancomartinez@gmail.com> (https://github.com/diogenespolanco)", "Joel Mercedes <joelmercedes29@gmail.com> (https://github.com/archinuxrd)" ], "repository": { "type": "git", "url": "git://github.com/DiogenesPolanco/nopCommerce-cli.git" }, "dependencies": { "cli-progress": "^3.9.1", "get-installed-path": "^4.0.8", "shelljs": ">=0.8.5", "validatorjs": "^3.22.1", "yargs": "^3.9.0", "inquirer": "^8.1.5" }, "scripts": { "config": "node bin/nopcli.js config init", "init": "node bin/nopcli.js init -g=Widgets -p=Test", "widget": "node bin/nopcli.js new -g=Widgets -p=Test", "widget-clear": "node bin/nopcli.js new -g=Widgets -p=Test -c=true", "build-widget": "node bin/nopcli.js build -g=Widgets -p=Test", "misc": "node bin/nopcli.js new -g=Misc -p=Test", "misc-clear": "node bin/nopcli.js new -g=Misc -p=Test -c=true", "build-misc": "node bin/nopcli.js build -g=Misc -p=Test", "payment": "node bin/nopcli.js new -g=Payments -p=Test", "payment-clear": "node bin/nopcli.js new -g=Payments -p=Test -c=true", "build-payment": "node bin/nopcli.js build -g=Payments -p=Test", "discount": "node bin/nopcli.js new -g=DiscountRules -p=Test", "discount-clear": "node bin/nopcli.js new -g=DiscountRules -p=Test -c=true", "build-discount": "node bin/nopcli.js build -g=DiscountRules -p=Test", "shipping": "node bin/nopcli.js new -g=Shipping -p=Test", "shipping-clear": "node bin/nopcli.js new -g=Shipping -p=Test -c=true", "build-shipping": "node bin/nopcli.js build -g=Shipping -p=Test", "help": "node bin/nopcli.js -h", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --collect-coverage", "test:snapshot": "jest --updateSnapshot", "build": "rollup --config rollup.config.js --minimize && sed -i '1 i\\#! /usr/bin/env node' dist/nopcli.min.js" }, "bin": { "nopcli": "dist/nopcli.min.js" }, "license": "OSL-3.0", "type": "module", "devDependencies": { "@babel/preset-env": "^7.15.6", "babel-jest": "^27.2.4", "jest": "^27.2.4", "rollup": "^2.57.0", "rollup-plugin-minify-cli": "^1.0.1", "rollup-plugin-terser": "^7.0.2", "yargs-parser": "^20.2.9" }, "jest": { "testPathIgnorePatterns": [ "/node_modules/" ], "testFileExtensions": [ "es6", "js" ], "moduleFileExtensions": [ "js", "json", "es6" ] } }