@zowe/imperative

v5.14.2
framework for building configurable CLIs
CLI framework zowe

lint

eslint "packages/**/*.ts" "**/__tests__/**/*.ts"

test

npm run test:unit && npm run test:integration

build

npm run build:packages && npm run build:webHelp

clean

rimraf lib tsconfig.tsbuildinfo

watch

tsc-watch --onSuccess "npm run lint"

typedoc

typedoc --options ./typedoc.json ./packages/

postbuild

node scripts/sampleCliTool.js build && npm run checkTestsCompile

test:unit

env-cmd ./__tests__/config/unit/.env.js --no-override jest -c ./__tests__/config/unit/jest.config.json

lint:tests

eslint "**/__tests__/**/*.ts"

test:system

env-cmd ./__tests__/config/system/.env.js --no-override jest -c ./__tests__/config/system/jest.config.json --runInBand

audit:public

npm audit --registry https://registry.npmjs.org/

build:webHelp

cd web-help && npm run build

lint:packages

eslint "packages/**/*.ts" --ignore-pattern "**/__tests__/**/*.ts"

watch:webHelp

cd web-help && npm run watch

build:packages

tsc && node scripts/updateLicenses.js && npm run lint && npm run circularDependencyCheck

bundle:webHelp

cd web-help && node build.js

test:integration

env-cmd ./__tests__/config/integration/.env.js --no-override jest -c ./__tests__/config/integration/jest.config.json --runInBand

checkTestsCompile

echo "Checking that test source compiles" && tsc --noEmit -p tsconfig-tests.json

pretest:integration

node scripts/sampleCliTool.js install

posttest:integration

node scripts/sampleCliTool.js uninstall

circularDependencyCheck

madge -c lib
npm i @zowe/[email protected]

Metadata

Downloads