Merge pull request #1353 from ahlinc/chore/add-license-files-to-npm-packages

сhore: Add license files to npm packages
This commit is contained in:
Max Brunsfeld 2021-08-21 19:45:29 -07:00 committed by GitHub
commit c30ac18900
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2018 Max Brunsfeld
Copyright (c) 2018-2021 Max Brunsfeld
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

1
cli/npm/.gitignore vendored
View file

@ -2,3 +2,4 @@ tree-sitter
tree-sitter.exe
*.gz
*.tgz
LICENSE

View file

@ -14,7 +14,8 @@
],
"main": "lib/api/index.js",
"scripts": {
"install": "node install.js"
"install": "node install.js",
"prepack": "cp ../../LICENSE ."
},
"bin": {
"tree-sitter": "cli.js"

View file

@ -3,3 +3,4 @@
package-lock.json
node_modules
*.tgz
LICENSE

View file

@ -9,6 +9,7 @@
},
"scripts": {
"test": "mocha",
"prepack": "cp ../../LICENSE .",
"prepublishOnly": "node check-artifacts-fresh.js"
},
"repository": {