diff --git a/packages/jsii/.npmignore b/packages/jsii/.npmignore index 4d27b48a2d..13be02810f 100644 --- a/packages/jsii/.npmignore +++ b/packages/jsii/.npmignore @@ -1,3 +1,7 @@ * -!*.js -!*.d.ts + +!**/*.js +!**/*.d.ts +!bin/jsii + +coverage diff --git a/packages/jsii/package.json b/packages/jsii/package.json index 73714ca38c..d5a436e26a 100644 --- a/packages/jsii/package.json +++ b/packages/jsii/package.json @@ -12,7 +12,7 @@ "jsii": "bin/jsii" }, "scripts": { - "build": "bash ./generate.sh && tsc", + "build": "cp ../../README.md . && bash ./generate.sh && tsc", "watch": "bash ./generate.sh && tsc -w", "test": "nyc nodeunit test/test.*.js", "package": "package-js"