diff --git a/.npmignore b/.npmignore index b82fec96a24..0fb36317e3b 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,7 @@ * */ !README.md +!NOTICE !package.json !dist/swagger-editor.js !dist/swagger-editor.js.map diff --git a/LICENSE b/LICENSE index 01abb442b99..d6456956733 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,4 @@ + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -186,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2020 SmartBear Software Inc. + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/NOTICE b/NOTICE new file mode 100644 index 00000000000..5e1c1f96391 --- /dev/null +++ b/NOTICE @@ -0,0 +1,2 @@ +swagger-editor +Copyright 2020-2021 SmartBear Software Inc. diff --git a/swagger-editor-dist-package/deploy.sh b/swagger-editor-dist-package/deploy.sh index 8e4523bf8df..f4e26e7815b 100755 --- a/swagger-editor-dist-package/deploy.sh +++ b/swagger-editor-dist-package/deploy.sh @@ -13,6 +13,10 @@ rm package.json.bak # Copy Editor's dist files to our directory cp ../dist/* . +# Copy LICENSE & NOTICE to our directory +cp ../LICENSE . +cp ../NOTICE . + # Copy index.html cp ../index.html .