fix cli usage
This commit is contained in:
parent
1e976372fa
commit
d9f517cf46
2
dist/cli.js
vendored
Normal file
2
dist/cli.js
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env node
|
||||
var index = require("../dist/index.js");
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"npmts":{
|
||||
"mode":"default",
|
||||
"coverageTreshold": "70"
|
||||
"coverageTreshold": "70",
|
||||
"cli": true
|
||||
},
|
||||
"npmdocker":{
|
||||
"baseImage":"hosttoday/ht-docker-node:npmts"
|
||||
|
@ -5,11 +5,11 @@
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"bin": {
|
||||
"npmci": "dist/index.js"
|
||||
"npmci": "dist/cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "(npmts) && (npm run testVersion)",
|
||||
"testVersion": "(cd test/assets/ && node ../../dist/index.js -v)"
|
||||
"testVersion": "(cd test/assets/ && node ../../dist/cli.js -v)"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user