diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-01-07 01:08:03 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-01-07 01:08:03 +0530 |
| commit | 79356ed9f80084f2d54bc4931b3c0e32371fa636 (patch) | |
| tree | df275c05e3cc8cca552e9511fe7e1ce8ea8e127b | |
| parent | 1d132d5610cbba975eb5ac582cfbb951e33e6b9d (diff) | |
| download | ts-types-lang-79356ed9f80084f2d54bc4931b3c0e32371fa636.tar.gz ts-types-lang-79356ed9f80084f2d54bc4931b3c0e32371fa636.zip | |
chore: adds bin.js file + tsr alias
| -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", |
