diff --git a/LICENSE b/LICENSE index 971b81f9..4c220022 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/cli/npm/.gitignore b/cli/npm/.gitignore index 2d3aa23a..942b33a1 100644 --- a/cli/npm/.gitignore +++ b/cli/npm/.gitignore @@ -2,3 +2,4 @@ tree-sitter tree-sitter.exe *.gz *.tgz +LICENSE diff --git a/cli/npm/package.json b/cli/npm/package.json index 66c7ccb2..cb0f30f7 100644 --- a/cli/npm/package.json +++ b/cli/npm/package.json @@ -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"