From 9eb38e4859b9a8e47505872a8448940717663a94 Mon Sep 17 00:00:00 2001 From: Blake Embrey Date: Sat, 22 Aug 2015 22:15:56 -0700 Subject: [PATCH] Add a files array to `package.json` Ensures that only and all of the `lib/` directory will be in the release. --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 58dd813..090c55b 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,10 @@ "version": "1.1.0", "description": "Another JSON Schema Validator", "main": "lib/ajv.js", + "files": [ + "lib/", + "LICENSE" + ], "scripts": { "test-spec": "mocha spec/*.spec.js -R spec", "test-cov": "istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec",