Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
447 changes: 290 additions & 157 deletions .circleci/config.yml

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# EditorConfig defines and maintains consistent coding styles between different
# editors and IDEs: http://EditorConfig.org/

# Top-most EditorConfig file
root = true

// All files
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
max_line_length = 120
indent_size = 2
indent_style = space

[{*.js,*.ts,package.json,*.yml,*.cjson}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
"extends": "standard"
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ jspm_packages

#package-lock.json
.history


# testing
junit.xml
21 changes: 21 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
'use strict'
module.exports = {
verbose: true,
// preset: 'jest',
testEnvironment: 'node',
collectCoverage: true,
collectCoverageFrom: ['./src/**/*.js'],
coverageReporters: ['json', 'lcov', 'text'],
clearMocks: true,
coverageThreshold: {
global: {
// Still in snapshot status!
// this needs improving
statements: 56,
functions: 6,
branches: 25,
lines: 56
}
},
reporters: ['jest-junit', 'default']
}
Loading