cli: pack readme file into npm package
This commit is contained in:
parent
3c806913d8
commit
cae83253a2
2 changed files with 3 additions and 1 deletions
1
cli/npm/.gitignore
vendored
1
cli/npm/.gitignore
vendored
|
|
@ -3,3 +3,4 @@ tree-sitter.exe
|
|||
*.gz
|
||||
*.tgz
|
||||
LICENSE
|
||||
README.md
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@
|
|||
"main": "lib/api/index.js",
|
||||
"scripts": {
|
||||
"install": "node install.js",
|
||||
"prepack": "cp ../../LICENSE ."
|
||||
"prepack": "cp ../../LICENSE ../README.md .",
|
||||
"postpack": "rm LICENSE README.md"
|
||||
},
|
||||
"bin": {
|
||||
"tree-sitter": "cli.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue