diff options
Diffstat (limited to '')
| -rwxr-xr-x | bin.js | 3 | ||||
| -rw-r--r-- | package.json | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -0,0 +1,3 @@ +#!/usr/bin/env node + +require('./dist/index.js') diff --git a/package.json b/package.json index 447cd75..b5c6613 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "repository": "https://github.com/phenax/ts-types-runtime-environment", "author": "Akshay Nair <phenax5@gmail.com>", "license": "MIT", - "bin": "./dist/index.js", + "bin": { + "tsr": "./bin.js" + }, "scripts": { "build": "tsc", "postinstall": "yarn build", |
