Skip to content

Commit 36a5624

Browse files
authored
chore: setup tooling (#20)
1 parent 292ee00 commit 36a5624

File tree

6 files changed

+6539
-0
lines changed

6 files changed

+6539
-0
lines changed

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# dependencies
2+
/node_modules
3+
4+
# misc
5+
.DS_Store
6+
.env.local
7+
.env.development.local
8+
.env.test.local
9+
.env.production.local
10+
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
15+
# intelliJ workspace folder
16+
.idea

babel.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
presets: [
3+
['@babel/preset-env', { targets: { node: 'current' } }],
4+
'@babel/preset-typescript'
5+
]
6+
};
7+

jest.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import type { Config } from "@jest/types";
2+
// Sync object
3+
const config: Config.InitialOptions = {
4+
verbose: true,
5+
transform: {
6+
"^.+\\.tsx?$": "ts-jest",
7+
},
8+
};
9+
export default config;

0 commit comments

Comments
 (0)