diff --git a/.gitignore b/.gitignore index 2fb2fa21..25b10add 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ coverage lib dist es +packages/graphql-hooks/README.md +packages/*/LICENSE diff --git a/packages/graphql-hooks-memcache/package.json b/packages/graphql-hooks-memcache/package.json index 01cbf143..d9c9eb83 100644 --- a/packages/graphql-hooks-memcache/package.json +++ b/packages/graphql-hooks-memcache/package.json @@ -5,8 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "prepublishOnly": "cp ../../LICENSE .", - "postpublish": "rm ./LICENSE" + "prepublishOnly": "cp ../../LICENSE ." }, "keywords": [ "graphql", diff --git a/packages/graphql-hooks-ssr/package.json b/packages/graphql-hooks-ssr/package.json index de162d9e..e22cad74 100644 --- a/packages/graphql-hooks-ssr/package.json +++ b/packages/graphql-hooks-ssr/package.json @@ -5,8 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 0", - "prepublishOnly": "cp ../../LICENSE .", - "postpublish": "rm ./LICENSE" + "prepublishOnly": "cp ../../LICENSE ." }, "keywords": [ "graphql", diff --git a/packages/graphql-hooks/package.json b/packages/graphql-hooks/package.json index c30ad269..683c702b 100644 --- a/packages/graphql-hooks/package.json +++ b/packages/graphql-hooks/package.json @@ -7,8 +7,7 @@ "unpkg": "dist/graphql-hooks.min.js", "scripts": { "build": "rollup -c", - "prepublishOnly": "npm run build && cp ../../README.md . && cp ../../LICENSE .", - "postpublish": "rm ./README.md && rm ./LICENSE" + "prepublishOnly": "npm run build && cp ../../README.md . && cp ../../LICENSE ." }, "files": [ "dist",