Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.

Commit

Permalink
Add dist task and move sources into lib
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Mar 24, 2016
1 parent 7dfb634 commit 956af59
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
node_modules
dist
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
"name": "react-redux-custom-store",
"version": "1.0.0",
"description": "Simple wrapper around react-redux to allow configuring and using connect with a custom store name.",
"homepage": "https://github.com/emmenko/react-redux-custom-store",
"author": "Nicola Molinari <[email protected]>",
"license": "MIT",
"main": "index.js",
"main": "dist",
"scripts": {
"lint": "eslint .",
"dist": "rimraf dist && babel lib --out-dir dist",
"lint": "eslint lib test",
"test": "NODE_ENV=test babel-node test/index.js | tap-spec"
},
"peerDependencies": {
Expand All @@ -32,9 +34,17 @@
"react-dom": "^0.14.7",
"react-redux": "^4.4.1",
"redux": "^3.3.1",
"rimraf": "^2.5.2",
"tap-spec": "^4.1.1",
"tape": "^4.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/emmenko/react-redux-custom-store"
},
"bugs": {
"url": "https://github.com/emmenko/react-redux-custom-store/issues"
},
"keywords": [
"react",
"redux",
Expand Down
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import test from 'tape'
import { mount } from 'enzyme'
import React, { PropTypes } from 'react'
import { createStore, combineReducers } from 'redux'
import connect from '../connect'
import createProvider from '../create-provider'
import connect from '../lib/connect'
import createProvider from '../lib/create-provider'

const store = createStore(combineReducers({
user: (/* state, action */) => ({ name: 'John' }),
Expand Down

0 comments on commit 956af59

Please sign in to comment.