fix cli
This commit is contained in:
parent
5f4a8d3ee5
commit
7043a844f0
2
assets/cliNpmts
Normal file
2
assets/cliNpmts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
var index = require("../dist/index.js");
|
@ -4,13 +4,13 @@
|
|||||||
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
|
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"npmts": "dist/cli.js"
|
"npmts": "assets/cliNpmts.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(npm run compile && npm run prepareTest && npm run setupCheck && npm run check && npm run checkVersion && npm run checkNoTest && npm run checkNoDocs)",
|
"test": "(npm run compile && npm run prepareTest && npm run setupCheck && npm run check && npm run checkVersion && npm run checkNoTest && npm run checkNoDocs)",
|
||||||
"testShort": "(npm run compile && npm run check)",
|
"testShort": "(npm run compile && npm run check)",
|
||||||
"prepareTest": "(rm -rf test/)",
|
"prepareTest": "(rm -rf test/)",
|
||||||
"compile": "(rm -r dist/ && tsc && cp assets/cli.js dist/ )",
|
"compile": "(rm -r dist/ && tsc)",
|
||||||
"setupCheck": "(git clone https://gitlab.com/sandboxzone/sandbox-npmts.git test/)",
|
"setupCheck": "(git clone https://gitlab.com/sandboxzone/sandbox-npmts.git test/)",
|
||||||
"typedoc": "(typedoc --out ./pages/api --target ES6 ./ts/)",
|
"typedoc": "(typedoc --out ./pages/api --target ES6 ./ts/)",
|
||||||
"npmpage": "(npmpage)",
|
"npmpage": "(npmpage)",
|
||||||
|
Loading…
Reference in New Issue
Block a user