Feat: Support macOS and Windows, migrate JavaScript to TypeScript (#32)

- Support macOS and Windows (Close #24 )
- Refactoring
  - Error handling
  - TypeScript
- Prettier (Close #29 )
- GHA: Add upload-artifact step for test coverage
- deps: Install husky
This commit is contained in:
Shohei Ueda
2019-09-21 10:41:21 +09:00
committed by GitHub
parent 4d54b90c0e
commit dc8541739a
24 changed files with 924 additions and 168 deletions

11
jest.config.js Normal file
View File

@@ -0,0 +1,11 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}