Skip to content

Commit

Permalink
Init npm project
Browse files Browse the repository at this point in the history
  • Loading branch information
doanndd committed Aug 1, 2016
1 parent e3365df commit 46dbc0c
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# node.js
#
node_modules
npm-debug.log

# ignore testing coverage
coverage
10 changes: 10 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# testing coverage
coverage

# Example
Example

# DEV Enviroment
__tests__
__mocks__
.travis.yml
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: node_js
node_js:
- "5"
- "5.1"
- "4.2"

install:
- npm install --only=dev

after_script:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

branches:
only:
- master
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Apentle
Copyright (c) 2016 Apentle.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 12 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use strict';

var _actions = {};

// Actions Hub
const ActionsHub = {
addAction(type, payloadCreator) {
// Add action to hub
},
};

module.exports = ActionsHub;
34 changes: 34 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "redux-actions-hub",
"version": "0.1.0",
"description": "Share Redux Actions between modules",
"main": "index.js",
"scripts": {
"test": "jest --coverage"
},
"devDependencies": {
"coveralls": "*",
"jest-cli": "^13.2.3",
"redux": "^3.5.2"
},
"jest": {
"testPathIgnorePatterns": [
"/node_modules/"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/apentle/redux-actions-hub.git"
},
"keywords": [
"redux-actions",
"redux",
"actions"
],
"author": "Doan Nguyen <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/apentle/redux-actions-hub/issues"
},
"homepage": "https://github.com/apentle/redux-actions-hub#readme"
}

0 comments on commit 46dbc0c

Please sign in to comment.