Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit a5deae3

Browse files
committed
feat: initial CLI implementation
1 parent 0bcae94 commit a5deae3

File tree

13 files changed

+14367
-0
lines changed

13 files changed

+14367
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*.sqlite3
2+
/coverage
3+
/dist
4+
/docs
5+
/node_modules

.vscode/launch.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Jest All",
8+
"program": "${workspaceFolder}/node_modules/.bin/jest",
9+
"args": [
10+
"--runInBand"
11+
],
12+
"console": "integratedTerminal",
13+
"internalConsoleOptions": "neverOpen",
14+
"windows": {
15+
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
16+
}
17+
},
18+
{
19+
"type": "node",
20+
"request": "launch",
21+
"name": "Jest Current File",
22+
"program": "${workspaceFolder}/node_modules/.bin/jest",
23+
"args": [
24+
"${relativeFile}"
25+
],
26+
"console": "integratedTerminal",
27+
"internalConsoleOptions": "neverOpen",
28+
"windows": {
29+
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
30+
}
31+
}
32+
]
33+
}
34+

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
all: setup lint test build docs
2+
3+
setup:
4+
npm install
5+
6+
lint:
7+
npm run lint
8+
9+
test:
10+
npm test
11+
12+
cover:
13+
npm run cover
14+
15+
build:
16+
npm run build
17+
.PHONY: build
18+
19+
docs:
20+
npm run docs
21+
.PHONY: docs

jest.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
testMatch: [
5+
"**/tests/**/*.test.ts"
6+
],
7+
coveragePathIgnorePatterns: [
8+
]
9+
}

0 commit comments

Comments
 (0)