Skip to content

Commit

Permalink
TSConfig udpates (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
ragnarpa authored Feb 27, 2021
1 parent 6703563 commit 015a9e5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.github/
.vscode/
8 changes: 1 addition & 7 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ragnarpa/quantity",
"version": "0.1.0",
"version": "0.2.0",
"description": "A lib to convert quantities to real numbers",
"repository": {
"type": "git",
Expand All @@ -11,7 +11,7 @@
"lint": "eslint src test --ext .ts",
"test": "npm run lint && npm run test:run",
"test:run": "jest",
"build": "tsc --build && tsc --declaration --declarationMap",
"build": "tsc --build",
"clean": "tsc --build --clean"
},
"keywords": [
Expand All @@ -29,7 +29,6 @@
},
"license": "MIT",
"devDependencies": {
"@tsconfig/recommended": "^1.0.1",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
Expand Down
16 changes: 12 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
{
"extends": "@tsconfig/recommended/tsconfig.json",
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"],
"exclude": ["node_modules", "**/*.spec.ts", "dist"],
"compilerOptions": {
"rootDir": "src",
"outDir": "dist",
"sourceMap": true
}
"declaration": true,
"sourceMap": true,
"target": "ES2015",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"$schema": "https://json.schemastore.org/tsconfig"
}

0 comments on commit 015a9e5

Please sign in to comment.