From e06fdd47a87d07f77ca3170e44c74e4379d27c6c Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Tue, 3 Sep 2019 14:27:37 +0100 Subject: [PATCH] refactor: add a third party licenses file --- .gitignore | 3 ++- ext/protagonist | 2 +- package.json | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b589bad..51c728e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ lib generated config.gypi build -drafterjs.gyp \ No newline at end of file +drafterjs.gyp +THIRD_PARTY_LICENSES.txt diff --git a/ext/protagonist b/ext/protagonist index 5fe77d3..266a469 160000 --- a/ext/protagonist +++ b/ext/protagonist @@ -1 +1 @@ -Subproject commit 5fe77d3fed33a3e57145dd49ba51a491907b257c +Subproject commit 266a469ee87fb2b2245d896a856901b34da3c38c diff --git a/package.json b/package.json index a299705..dfdda88 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Pure JS Drafter built with Emscripten", "main": "lib/drafter.nomem.js", "files": [ + "THIRD_PARTY_LICENSES.txt", "drafter.d.ts", "lib/drafter.js", "lib/drafter.js.mem", @@ -15,6 +16,7 @@ "test": "node --version | grep -q -E \"v(4|6)\" && npm run test:exclude-await || npm run test:await", "build": "./scripts/wrap.js && docker run --rm -v $(pwd):/src -t apiaryio/emcc:1.38.11 scripts/emcbuild.sh", "clean": "docker run --rm -v $(pwd):/src -t apiaryio/emcc:1.38.11 scripts/emcclean.sh", + "prepack": "cp ext/protagonist/drafter/THIRD_PARTY_LICENSES.txt .", "release": "scripts/release.sh" }, "browser": {