Skip to content

Commit 405e46e

Browse files
committed
Adds rename to bin section
1 parent 98d1d4b commit 405e46e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
"test:watch": "jest --watch",
99
"build": "tsc",
1010
"lint": "tslint",
11-
"run": "ts-node src/index.ts"
11+
"run": "ts-node src/index.ts",
12+
"rename": "cd playground && ../src/rename -m '(.+).js' -r '$1.ts' && cd .."
13+
},
14+
"bin": {
15+
"rename": "./src/rename.ts"
1216
},
1317
"keywords": [],
1418
"author": "",

0 commit comments

Comments
 (0)