Skip to content

Commit

Permalink
fix: Upgrade dependencies and fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
prototypicalpro committed Aug 19, 2020
1 parent d23eebc commit c8a485f
Show file tree
Hide file tree
Showing 10 changed files with 2,924 additions and 4,327 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"project": "./tsconfig.json"
"project": "./tsconfig.eslint.json"
},
"rules": {
"eslint-comments/no-use": "off",
Expand Down Expand Up @@ -51,4 +51,4 @@
"es6": true,
"jest/globals": true
}
}
}
12 changes: 9 additions & 3 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion dist/sourcemap-register.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ module.exports =
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ var threw = true;
/******/ try {
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ threw = false;
/******/ } finally {
/******/ if(threw) delete installedModules[moduleId];
/******/ }
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
Expand Down
17 changes: 15 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,18 @@ module.exports = {
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}
verbose: true,
coverageDirectory: './coverage/',
collectCoverage: true,
collectCoverageFrom: [
'src/*.{js,jsx,ts,tsx}',
'!src/entry.ts',
'!**/node_modules/**',
'!**/dist/**',
'!**/coverage/**',
'!**/typings/**'
],
coverageReporters: ['lcov', 'text'],
reporters: ['default'],
testPathIgnorePatterns: ['<rootDir>/dist/', '<rootDir>/node_modules/']
}
Loading

0 comments on commit c8a485f

Please sign in to comment.