Skip to content

Commit 4eef7e4

Browse files
author
Raul Melo
committed
update package.json template
1 parent 05be9ce commit 4eef7e4

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

scripts/templates/package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
{
22
"name": "@raulfdm/node-versions",
33
"private": false,
4+
"bin": {
5+
"node-versions": "./bin/node-versions"
6+
},
47
"publishConfig": {
58
"access": "public"
69
},
710
"version": "{{ .Version }}",
8-
"files": ["bin"],
11+
"scripts": {
12+
"postinstall": "node install-manager.mjs install",
13+
"preuninstall": "node install-manager.mjs uninstall"
14+
},
915
"dependencies": {
10-
"go-npm": "0.1.9"
16+
"tar": "6.2.0"
1117
},
1218
"goBinary": {
1319
"name": "node-versions",

0 commit comments

Comments
 (0)