Skip to content

Commit

Permalink
Merge 17b5258 into bf289ee
Browse files Browse the repository at this point in the history
  • Loading branch information
pasupulaphani committed Feb 6, 2021
2 parents bf289ee + 17b5258 commit 03b5127
Show file tree
Hide file tree
Showing 42 changed files with 10,771 additions and 7,778 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

47 changes: 0 additions & 47 deletions .eslintrc

This file was deleted.

29 changes: 29 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,29 @@
module.exports = {
env: {
browser: false,
node: true
},
extends: [
'airbnb-typescript/base',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier',
'prettier/@typescript-eslint'
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module'
},
plugins: ['@typescript-eslint'],
rules: {
'no-underscore-dangle': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-return': 'off'
}
}
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -37,3 +37,8 @@ jspm_packages
.node_repl_history

coverage
.idea
.DS_Store

dist
docs
37 changes: 0 additions & 37 deletions .jsdoc.json

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierrc
@@ -0,0 +1,7 @@
{
"trailingComma": "none",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"arrowParens": "avoid"
}
26 changes: 16 additions & 10 deletions .travis.yml
@@ -1,17 +1,23 @@
language: node_js
node_js:
- '4'
- '5'
- '6'
- 'node'
before_install:
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
install: yarn
- '10'

services:
- redis-server

after_success:
- npm run lint
- npm run coveralls

deploy:
provider: pages
local_dir: docs
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
on:
branch: master

cache:
directories:
- node_modules
18 changes: 0 additions & 18 deletions Dockerfile

This file was deleted.

8 changes: 8 additions & 0 deletions Dockerfile.test
@@ -0,0 +1,8 @@
FROM node:alpine

WORKDIR /app

ADD . /app
RUN npm install

CMD ["npm", "test"]
16 changes: 7 additions & 9 deletions LICENSE
@@ -1,13 +1,11 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
# Released under MIT License

Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Copyright (c) 2013 Mark Otto.

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
Copyright (c) 2017 Andrew Fong.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
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:

0. You just DO WHAT THE FUCK YOU WANT TO.
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.
10 changes: 5 additions & 5 deletions test/docker-compose.test.yml → docker-compose.test.yml
@@ -1,15 +1,15 @@
version: '2'
version: '3'
services:
sut:
environment:
NODE_ENV: development
DEBUG: lib.*
DEBUG: src.*
REDIS_HOST: redis
build:
context: ../
dockerfile: ./test/Dockerfile.test
context: .
dockerfile: ./Dockerfile.test
command: 'npm test'
links:
- redis
redis:
image: redis:3.0-alpine
image: redis:6.0-alpine

0 comments on commit 03b5127

Please sign in to comment.