refactor(common): Introduceer common package
This commit is contained in:
parent
da2729eeca
commit
8bf927d1c9
4 changed files with 36 additions and 5 deletions
12
common/package.json
Normal file
12
common/package.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "dwengo-1-common",
|
||||
"version": "0.1.1",
|
||||
"description": "Common types and utilities for Dwengo-1",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"format": "prettier --write src/",
|
||||
"format-check": "prettier --check src/",
|
||||
"lint": "eslint . --fix"
|
||||
}
|
||||
}
|
9
common/tsconfig.json
Normal file
9
common/tsconfig.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"include": ["src/**/*.ts"],
|
||||
"compilerOptions": {
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
"resolveJsonModule": true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue