Skip to content

Commit

Permalink
Prepare for npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ryank109 committed Dec 14, 2016
1 parent e0a1d0f commit ba98e64
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.DS_Store
.eslintcache
coverage
lib
node_modules
npm-debug.log
example-app/example_run
test-reports
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
example-app
configs
coverage
src
4 changes: 2 additions & 2 deletions example-app/app/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { popupActions } from 'react-redux-popup';
import { bindActionCreators } from 'redux';
import Menus from 'app/menus';
import ModalPopup from 'app/components/modal-popup';
import { PopupSandbox } from 'react-redux-popup';
import { Portal } from 'react-redux-popup';

class App extends Component {
render() {
Expand All @@ -19,7 +19,7 @@ class App extends Component {
<Menus />
</div>
<ModalPopup id="modal1" popupClassName="modal-container" layoverClassName="modal-layover" closePopup={actions.closePopup}/>
<PopupSandbox
<Portal
modalTransitionEnterTimeout={300}
modalTransitionLeaveTimeout={300}
popupTransitionEnterTimeout={100}
Expand Down
1 change: 0 additions & 1 deletion lib/react-redux-popup.js

This file was deleted.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"name": "react-redux-popup",
"version": "0.7.1",
"version": "0.8.0",
"description": "React redux popup",
"main": "lib/react-redux-popup.js",
"main": "lib/react-redux-popup",
"scripts": {
"clean": "rimraf coverage lib test-reports",
"build": "NODE_ENV=production webpack --config ./configs/webpack.config.js --progress --profile --colors",
"coverage": "./node_modules/jest/bin/jest.js --coverage",
"lint": "eslint src/** --cache",
"lint-no-cache": "eslint src/**",
"prepublish": "npm run clean && npm run build",
"start": "node ./example-app/server.js",
"test": "./node_modules/jest/bin/jest.js",
"test-dev": "./node_modules/jest/bin/jest.js --watch"
Expand Down

0 comments on commit ba98e64

Please sign in to comment.