From 6dd7edea5c7920c35e984fa802401eee1c7c1c60 Mon Sep 17 00:00:00 2001 From: Zaid Hoona Date: Mon, 9 Apr 2018 22:36:38 +0530 Subject: [PATCH] Add keywords to allow searching cypress in npmjs.com (#1522) * Add keyword in package.json * Also add keywords to the build script --- cli/package.json | 11 +++++++++++ cli/scripts/build.js | 2 ++ 2 files changed, 13 insertions(+) diff --git a/cli/package.json b/cli/package.json index 02571cfe56..f039493f3a 100644 --- a/cli/package.json +++ b/cli/package.json @@ -86,5 +86,16 @@ "lib", "index.js", "types/*.d.ts" + ], + "keywords": [ + "browser", + "cypress", + "automation", + "mocks", + "test", + "testing", + "runner", + "spies", + "stubs" ] } diff --git a/cli/scripts/build.js b/cli/scripts/build.js index 4f47fe673b..cd2f566e74 100644 --- a/cli/scripts/build.js +++ b/cli/scripts/build.js @@ -13,6 +13,7 @@ const { license, bugs, repository, + keywords, } = require('@packages/root') // the rest of properties should come from the package.json in CLI folder @@ -33,6 +34,7 @@ function preparePackageForNpmRelease (json) { license, bugs, repository, + keywords, types: 'types', // typescript types scripts: { postinstall: 'node index.js --exec install',