diff --git a/.gitignore b/.gitignore index c70d080..a0587b0 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ # production /lib -/.stage +/dist src/**/*.css # misc diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..4089704 --- /dev/null +++ b/.npmignore @@ -0,0 +1,10 @@ +.DS_Store +.git +npm-debug.log +src +dist +demo +coverage +.babelrc +.gitignore +webpack.config.js \ No newline at end of file diff --git a/README.md b/README.md index 69ecb44..56d7f8a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ##### 1. Installation -`npm install --save https://github.com/raff-r/redux-modal.git` +`npm install --save modal-popup` ##### 2. Add the `reducer` to Redux. diff --git a/package.json b/package.json index 0290076..011f649 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modal-popup", - "version": "1.0.0", + "version": "1.0.1", "description": "A react-redux modal popup", "main": "lib/index.js", "scripts": { @@ -12,7 +12,7 @@ "clean": "rimraf dist lib", "start-js": "webpack-dev-server", "dev": "npm-run-all -p watch-css start-js", - "postinstall": "npm run build", + "prepublish": "npm run build", "build:demo": "NODE_ENV=production npm run clean && webpack -p", "deploy": "npm run build:demo && git subtree push --prefix dist origin gh-pages", "test": "jest", @@ -27,6 +27,13 @@ "Lightbox", "popup" ], + "repository": { + "type": "git", + "url": "https://github.com/raff-r/redux-modal" + }, + "bugs": { + "url": "https://github.com/raff-r/redux-modal/issues" + }, "author": "Raffaele Rizzett ", "license": "ISC", "dependencies": {