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":{
|
"npmts":{
|
||||||
"mode":"default",
|
"mode":"default",
|
||||||
"coverageTreshold": "70"
|
"coverageTreshold": "70",
|
||||||
|
"cli": true
|
||||||
},
|
},
|
||||||
"npmdocker":{
|
"npmdocker":{
|
||||||
"baseImage":"hosttoday/ht-docker-node:npmts"
|
"baseImage":"hosttoday/ht-docker-node:npmts"
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"bin": {
|
"bin": {
|
||||||
"npmci": "dist/index.js"
|
"npmci": "dist/cli.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(npmts) && (npm run testVersion)",
|
"test": "(npmts) && (npm run testVersion)",
|
||||||
"testVersion": "(cd test/assets/ && node ../../dist/index.js -v)"
|
"testVersion": "(cd test/assets/ && node ../../dist/cli.js -v)"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user