Skip to content

Commit e6b8c59

Browse files
committed
Initial commit
0 parents  commit e6b8c59

17 files changed

+9250
-0
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

.eslintrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"extends": [
3+
"airbnb-base",
4+
"plugin:node/recommended-module",
5+
"plugin:promise/recommended",
6+
"plugin:jest-formatting/recommended",
7+
"plugin:prettier/recommended"
8+
],
9+
"plugins": ["import"],
10+
"env": {
11+
"jest": true
12+
},
13+
"rules": {
14+
"no-console": 0
15+
}
16+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.jshintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"esversion": 8,
3+
"laxbreak": true
4+
}

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"tabWidth": 2,
3+
"semi": true,
4+
"singleQuote": true,
5+
"trailingComma": "all"
6+
}

.tsconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"esModuleInterop": true
3+
}

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [{
4+
"type": "node",
5+
"request": "launch",
6+
"name": "server.js",
7+
"skipFiles": [
8+
"<node_internals>/**",
9+
"${workspaceFolder}/node_modules/**"
10+
],
11+
"runtimeArgs": ["-r", "sucrase/register"],
12+
"cwd": "${workspaceFolder}",
13+
"program": "${workspaceFolder}/src/index.js"
14+
}]
15+
}

.vscode/settings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"[javascript]": {
4+
"editor.formatOnSave": false
5+
},
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll": true
8+
},
9+
"prettier.disableLanguages": ["javascript"],
10+
"[json]": {
11+
"editor.defaultFormatter": "esbenp.prettier-vscode"
12+
},
13+
"javascript.implicitProjectConfig.checkJs": true
14+
}

.vscode/tasks.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [{
4+
"type": "npm",
5+
"script": "build",
6+
"problemMatcher": [
7+
"$eslint-compact"
8+
],
9+
"group": {
10+
"kind": "build",
11+
"isDefault": true
12+
},
13+
"label": "npm: build",
14+
"detail": "pkg . --out-path dist"
15+
},
16+
{
17+
"type": "npm",
18+
"script": "install",
19+
"problemMatcher": [],
20+
"label": "npm: install",
21+
"detail": "install dependencies from package",
22+
"group": "build"
23+
}
24+
]
25+
}

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright (c) 2020 Lianna Eeftinck <[email protected]>
2+
3+
Permission to use, copy, modify, and distribute this software for any
4+
purpose with or without fee is hereby granted, provided that the above
5+
copyright notice and this permission notice appear in all copies.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

0 commit comments

Comments
 (0)