From 9b1fd6385bd06468d34447ac5249afce5753b9de Mon Sep 17 00:00:00 2001 From: Aral Roca Gomez Date: Wed, 11 Dec 2019 14:52:01 +0100 Subject: [PATCH] Fix package (#21) * Fix package * Update README --- .npmignore | 5 ++++- README.md | 1 + package-lock.json | 2 +- package.json | 12 +----------- 4 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.npmignore b/.npmignore index 8fa9d6f1..4f953075 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,4 @@ -!*.js \ No newline at end of file +__tests__ +.github +examples +images diff --git a/README.md b/README.md index f0d96447..266d7686 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@
+[![npm version](https://badge.fury.io/js/next-translate.svg)](https://badge.fury.io/js/next-translate) [![PRs Welcome][badge-prwelcome]][prwelcome] [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)][spectrum] diff --git a/package-lock.json b/package-lock.json index ba11097f..270dda3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "next-translate", - "version": "0.1.1", + "version": "0.1.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 885faf2b..cad1428c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "next-translate", - "version": "0.1.3", + "version": "0.1.4", "description": "Next.js utility to translate pages without the need of a server (static i18n pages generator).", "license": "MIT", "keywords": [ @@ -34,16 +34,6 @@ "test:coverage": "NODE_ENV=test jest --coverage", "test:watch": "NODE_ENV=test jest --watch" }, - "main": "index.js", - "files": [ - "appWithi18n", - "I18nProvider", - "Trans", - "useTranslation", - "withTranslation", - "i18nMiddleware", - "cli" - ], "bin": { "next-translate": "./cli/builder.js" },