fix entry points
This commit is contained in:
parent
1971ece938
commit
95a471d055
1 changed files with 3 additions and 2 deletions
|
@ -2,13 +2,14 @@
|
||||||
"name": "tstatic",
|
"name": "tstatic",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "The only static-file server you'll ever need!",
|
"description": "The only static-file server you'll ever need!",
|
||||||
"main": "node ./dist/index.js",
|
"main": "./dist/server.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"tstatic": "node ./dist/index.js"
|
"tstatic": "./dist/index.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./dist/index.js",
|
"start": "node ./dist/index.js",
|
||||||
"postinstall": "typings install",
|
"postinstall": "typings install",
|
||||||
|
"prepublish": "npm run build",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"test": "npm run build && npm run mocha && nsp check",
|
"test": "npm run build && npm run mocha && nsp check",
|
||||||
"mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js tests/**.test.ts",
|
"mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js tests/**.test.ts",
|
||||||
|
|
Reference in a new issue