Skip to content

Commit

Permalink
publish to npm (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
raff-r authored Jul 11, 2017
1 parent ca4660f commit 02f2bf1
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# production
/lib
/.stage
/dist
src/**/*.css

# misc
Expand Down
10 changes: 10 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.DS_Store
.git
npm-debug.log
src
dist
demo
coverage
.babelrc
.gitignore
webpack.config.js
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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",
Expand All @@ -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 <hello@raffr.co.uk>",
"license": "ISC",
"dependencies": {
Expand Down

0 comments on commit 02f2bf1

Please sign in to comment.