@plexus-interop/cli
Version:
Plexus Interop CLI tools
73 lines (72 loc) • 2.1 kB
JSON
{
"name": "@plexus-interop/cli",
"version": "0.15.1",
"main": "plexus.js",
"description": "Plexus Interop CLI tools",
"license": "Apache-2.0",
"preferGlobal": true,
"bin": {
"plexus": "./plexus.js"
},
"scripts": {
"prebuild": "yarn lint && trash dist/main && trash dist/lib && npm run copy-assets && npm run rename-lib",
"copy-assets": "copyfiles -f ../../../dsl/gen/cli/build/libs/cli-*-all.jar dist/lib",
"rename-lib": "renamer --find cli-.*-all.jar --regex --replace plexusgen.jar dist/lib/* && trash dist/lib/cli-.*-all.jar",
"build": "yarn build:main",
"postinstall": "node ./install.js",
"postbuild": "yarn test",
"build:main": "tsc -p tsconfig.json",
"build:watch": "tsc -w -p tsconfig.json",
"lint": "tslint src/**/*.ts",
"unit": "jest --coverage",
"pretest": "trash dist/gen",
"test": "if-env PLEXUS_CLI_TESTS_ENABLED=true && npm run cli-test || echo 'CLI tests disabled'",
"cli-test": "node ./install.js && yarn unit"
},
"dependencies": {
"adm-zip": "0.4.11",
"commander": "2.15.1",
"fs-extra": "5.0.0",
"progress": "2.0.0",
"protobufjs": "6.8.6",
"request": "2.75.0",
"tar": "4.4.1",
"tar-fs": "1.16.2",
"tslib": "^1.10.0"
},
"devDependencies": {
"@types/chai": "^4.0.2",
"@types/fs-extra": "5.0.1",
"@types/jest": "^23.1.3",
"@types/long": "^4.0.0",
"@types/mocha": "^2.2.43",
"@types/node": "^7.0.5",
"chai": "^4.1.0",
"copyfiles": "^1.2.0",
"if-env": "1.0.0",
"jest": "^23.5.0",
"renamer": "^0.6.1",
"trash": "^4.1.0",
"trash-cli": "^1.4.0",
"ts-mockito": "2.0.2",
"tslint": "5.8.0",
"typescript": "3.7.2",
"yarn": "^1.17.3"
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"js"
],
"testRegex": ".+/dist/main/tests/.+spec.js$",
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"dist/main/src/**/*.js",
"!dist/main/src/gen/**/*.js",
"!src/*.d.ts",
"!src/**/*.d.ts",
"!src/**/*.spec.ts"
]
}
}