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" diff --git a/lib/binding_web/.gitignore b/lib/binding_web/.gitignore index 1a4530c9..eec0cfe6 100644 --- a/lib/binding_web/.gitignore +++ b/lib/binding_web/.gitignore @@ -3,3 +3,4 @@ package-lock.json node_modules *.tgz +LICENSE diff --git a/lib/binding_web/package.json b/lib/binding_web/package.json index d13552e0..f140d46a 100644 --- a/lib/binding_web/package.json +++ b/lib/binding_web/package.json @@ -9,6 +9,7 @@ }, "scripts": { "test": "mocha", + "prepack": "cp ../../LICENSE .", "prepublishOnly": "node check-artifacts-fresh.js" }, "repository": {