Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Oct 26, 2016
0 parents commit b35e737
Show file tree
Hide file tree
Showing 12 changed files with 142 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
8 changes: 8 additions & 0 deletions .gitignore
@@ -0,0 +1,8 @@
.DS_Store
*~

node_modules/
npm-debug.log

coverage/
docs/
14 changes: 14 additions & 0 deletions .jsdocrc
@@ -0,0 +1,14 @@
{
"plugins": [
"plugins/markdown"
],
"opts": {
"template": "node_modules/docdash",
"destination": "docs/"
},
"templates": {
"default": {
"includeDate": false
}
}
}
14 changes: 14 additions & 0 deletions .npmignore
@@ -0,0 +1,14 @@
.gitignore
.npmignore
.editorconfig

node_modules/
npm-debug.log

test/
coverage/
.travis.yml

docs/
.jsdocrc
.yaspellerrc
4 changes: 4 additions & 0 deletions .travis.yml
@@ -0,0 +1,4 @@
language: node_js
node_js:
- stable
- "4"
9 changes: 9 additions & 0 deletions .yaspellerrc
@@ -0,0 +1,9 @@
{
"lang": "en",
"ignoreCapitalization": true,
"dictionary": [
"Logux",
"docdash",
"JSDoc"
]
}
Empty file added CHANGELOG.md
Empty file.
20 changes: 20 additions & 0 deletions LICENSE
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright 2016 Andrey Sitnik <andrey@sitnik.ru>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 change: 1 addition & 0 deletions README.md
@@ -0,0 +1 @@
# Logux Server
1 change: 1 addition & 0 deletions index.js
@@ -0,0 +1 @@
module.exports = { }
57 changes: 57 additions & 0 deletions package.json
@@ -0,0 +1,57 @@
{
"name": "logux-server",
"version": "0.0.0",
"description": "Logux server-side framework",
"keywords": [
"logux",
"server"
],
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
"repository": "logux/logux-server",
"dependencies": {
"logux-core": "logux/logux-core",
"logux-sync": "logux/logux-sync",
"ws": "^1.1.1"
},
"devDependencies": {
"docdash": "^0.4.0",
"eslint": "^3.8.1",
"eslint-config-logux": "^2.0.0",
"eslint-config-standard": "^6.2.1",
"eslint-plugin-promise": "^3.3.0",
"eslint-plugin-standard": "^2.0.1",
"jest": "^16.0.2",
"jsdoc": "^3.4.2",
"lint-staged": "^3.2.0",
"pre-commit": "^1.1.3",
"rimraf": "^2.5.4",
"yaspeller": "^3.0.0"
},
"scripts": {
"lint-staged": "lint-staged",
"spellcheck": "npm run cleandocs && yaspeller *.md docs/*.html",
"cleandocs": "npm run docs && rimraf docs/*.js.html",
"clean": "rimraf docs/ coverage/",
"lint": "eslint *.js test/*.js",
"docs": "jsdoc --configure .jsdocrc *.js",
"test": "jest --coverage && npm run lint && npm run spellcheck"
},
"jest": {
"coverageThreshold": {
"global": {
"statements": 100
}
}
},
"eslintConfig": {
"extends": "eslint-config-logux"
},
"lint-staged": {
"*.md": "yaspeller",
"*.js": "eslint"
},
"pre-commit": [
"lint-staged"
]
}
5 changes: 5 additions & 0 deletions test/index.test.js
@@ -0,0 +1,5 @@
var server = require('../')

it('exports', function () {
expect(typeof server).toEqual('object')
})

0 comments on commit b35e737

Please sign in to comment.