Skip to content

Commit b18b644

Browse files
committed
Initial project setup.
0 parents  commit b18b644

16 files changed

+574
-0
lines changed

.babelrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["env"],
3+
"plugins": ["babel-plugin-add-module-exports"]
4+
}

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = LF
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.eslintrc

+179
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
{
2+
3+
"env": {
4+
"browser": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
9+
"globals": {
10+
"document": false,
11+
"escape": false,
12+
"navigator": false,
13+
"unescape": false,
14+
"window": false,
15+
"describe": true,
16+
"before": true,
17+
"it": true,
18+
"expect": true,
19+
"sinon": true
20+
},
21+
22+
"parser": "babel-eslint",
23+
24+
"plugins": [
25+
26+
],
27+
28+
"rules": {
29+
"block-scoped-var": 2,
30+
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
31+
"camelcase": [2, { "properties": "always" }],
32+
"comma-dangle": [2, "never"],
33+
"comma-spacing": [2, { "before": false, "after": true }],
34+
"comma-style": [2, "last"],
35+
"complexity": 0,
36+
"consistent-return": 2,
37+
"consistent-this": 0,
38+
"curly": [2, "multi-line"],
39+
"default-case": 0,
40+
"dot-location": [2, "property"],
41+
"dot-notation": 0,
42+
"eol-last": 2,
43+
"eqeqeq": [2, "allow-null"],
44+
"func-names": 0,
45+
"func-style": 0,
46+
"generator-star-spacing": [2, "both"],
47+
"guard-for-in": 0,
48+
"handle-callback-err": [2, "^(err|error|anySpecificError)$" ],
49+
"indent": [2, 2, { "SwitchCase": 1 }],
50+
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
51+
"keyword-spacing": [2, {"before": true, "after": true}],
52+
"linebreak-style": 0,
53+
"max-depth": 0,
54+
"max-len": [2, 120, 4],
55+
"max-nested-callbacks": 0,
56+
"max-params": 0,
57+
"max-statements": 0,
58+
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
59+
"newline-after-var": [2, "always"],
60+
"new-parens": 2,
61+
"no-alert": 0,
62+
"no-array-constructor": 2,
63+
"no-bitwise": 0,
64+
"no-caller": 2,
65+
"no-catch-shadow": 0,
66+
"no-cond-assign": 2,
67+
"no-console": 0,
68+
"no-constant-condition": 0,
69+
"no-continue": 0,
70+
"no-control-regex": 2,
71+
"no-debugger": 2,
72+
"no-delete-var": 2,
73+
"no-div-regex": 0,
74+
"no-dupe-args": 2,
75+
"no-dupe-keys": 2,
76+
"no-duplicate-case": 2,
77+
"no-else-return": 2,
78+
"no-empty": 0,
79+
"no-empty-character-class": 2,
80+
"no-eq-null": 0,
81+
"no-eval": 2,
82+
"no-ex-assign": 2,
83+
"no-extend-native": 2,
84+
"no-extra-bind": 2,
85+
"no-extra-boolean-cast": 2,
86+
"no-extra-parens": 0,
87+
"no-extra-semi": 0,
88+
"no-extra-strict": 0,
89+
"no-fallthrough": 2,
90+
"no-floating-decimal": 2,
91+
"no-func-assign": 2,
92+
"no-implied-eval": 2,
93+
"no-inline-comments": 0,
94+
"no-inner-declarations": [2, "functions"],
95+
"no-invalid-regexp": 2,
96+
"no-irregular-whitespace": 2,
97+
"no-iterator": 2,
98+
"no-label-var": 2,
99+
"no-labels": 2,
100+
"no-lone-blocks": 0,
101+
"no-lonely-if": 0,
102+
"no-loop-func": 0,
103+
"no-mixed-requires": 0,
104+
"no-mixed-spaces-and-tabs": [2, false],
105+
"no-multi-spaces": 2,
106+
"no-multi-str": 2,
107+
"no-multiple-empty-lines": [2, { "max": 1 }],
108+
"no-native-reassign": 2,
109+
"no-negated-in-lhs": 2,
110+
"no-nested-ternary": 0,
111+
"no-new": 2,
112+
"no-new-func": 2,
113+
"no-new-object": 2,
114+
"no-new-require": 2,
115+
"no-new-wrappers": 2,
116+
"no-obj-calls": 2,
117+
"no-octal": 2,
118+
"no-octal-escape": 2,
119+
"no-path-concat": 0,
120+
"no-plusplus": 0,
121+
"no-process-env": 0,
122+
"no-process-exit": 0,
123+
"no-proto": 2,
124+
"no-redeclare": 2,
125+
"no-regex-spaces": 2,
126+
"no-reserved-keys": 0,
127+
"no-restricted-modules": 0,
128+
"no-return-assign": 2,
129+
"no-script-url": 0,
130+
"no-self-compare": 2,
131+
"no-sequences": 2,
132+
"no-shadow": 0,
133+
"no-shadow-restricted-names": 2,
134+
"no-spaced-func": 2,
135+
"no-sparse-arrays": 2,
136+
"no-sync": 0,
137+
"no-ternary": 0,
138+
"no-throw-literal": 2,
139+
"no-trailing-spaces": 2,
140+
"no-undef": 2,
141+
"no-undef-init": 2,
142+
"no-undefined": 0,
143+
"no-underscore-dangle": 0,
144+
"no-unneeded-ternary": 2,
145+
"no-unreachable": 2,
146+
"no-unused-expressions": 0,
147+
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
148+
"no-use-before-define": 2,
149+
"no-var": 0,
150+
"no-void": 0,
151+
"no-warning-comments": 0,
152+
"no-with": 2,
153+
"one-var": 0,
154+
"operator-assignment": 0,
155+
"operator-linebreak": [2, "after"],
156+
"padded-blocks": 0,
157+
"quote-props": 0,
158+
"quotes": [2, "single", "avoid-escape"],
159+
"radix": 2,
160+
"semi": [2, "always"],
161+
"semi-spacing": 0,
162+
"sort-vars": 0,
163+
"space-before-blocks": [2, "always"],
164+
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
165+
"space-in-brackets": 0,
166+
"space-in-parens": [2, "never"],
167+
"space-infix-ops": 2,
168+
"space-unary-ops": [2, { "words": true, "nonwords": false }],
169+
"spaced-comment": [2, "always"],
170+
"strict": 0,
171+
"use-isnan": 2,
172+
"valid-jsdoc": 0,
173+
"valid-typeof": 2,
174+
"vars-on-top": 2,
175+
"wrap-iife": [2, "any"],
176+
"wrap-regex": 0,
177+
"yoda": [2, "never"]
178+
}
179+
}

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
pids
6+
*.pid
7+
*.seed
8+
lib-cov
9+
coverage
10+
.grunt
11+
.lock-wscript
12+
build/Release
13+
node_modules
14+
.DS_Store

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v8.9

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2018 Scott Murphy
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Exert
2+
3+
4+
## Installation
5+
6+
```
7+
npm install
8+
```
9+
10+
11+
## Scripts
12+
13+
* `yarn build` or `npm run build` - General lib files.
14+
* `yarn dev` or `npm run dev` - Produce dev version of lib and watch files.
15+
* `yarn test` or `npm run test` - Run tests
16+
* `yarn test:watch` or `npm run test:watch` - Run tests and watch.
17+
18+
19+

0 commit comments

Comments
 (0)