From 88601000a29f2e33e109ef930ed9d9ad94fc894f Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Sun, 22 Aug 2021 03:09:50 +0300 Subject: [PATCH] chore(cli): Add the LICENSE file to the tree-sitter-cli npm package --- LICENSE | 2 +- cli/npm/.gitignore | 1 + cli/npm/package.json | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) 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"