Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
more setup
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-donat committed Dec 29, 2016
1 parent dbbf006 commit 6817f3a
Show file tree
Hide file tree
Showing 5 changed files with 1,958 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true


# Matches multiple files with brace expansion notation
# Set default charset
[*.js]
charset = utf-8
indent_style = tab
indent_size = tab
tab_width = 2
trim_trailing_whitespace = true
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cache:
yarn: true
directories:
- node_modules
language: node_js
node_js:
- "node"
- "7"
- "6"
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
install:
yarn install

lint:
./node_modules/.bin/xo 'src/**/*.js'

test: test-spec test-component

test-spec:
./node_modules/.bin/mocha -r tests/.bootstrap.js 'tests/spec/**/*.spec.js'

test-component:
./node_modules/.bin/mocha -r tests/.bootstrap.js 'tests/component/test.js'
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "director.js",
"version": "1.0.0",
"description": "A command bus implementation for node.js",
"main": "index.js",
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/michael-donat/director.js.git"
},
"keywords": [
"command bus",
"cqrs"
],
"author": "Michael Donat <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/michael-donat/director.js/issues"
},
"homepage": "https://github.com/michael-donat/director.js#readme",
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^3.2.0",
"xo": "^0.17.1"
}
}
Loading

0 comments on commit 6817f3a

Please sign in to comment.