Skip to content

Commit

Permalink
fix(): build and package
Browse files Browse the repository at this point in the history
  • Loading branch information
nckhell committed Dec 30, 2024
1 parent 0d0fb5a commit abb3dbd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/src/
/.vscode/
/.yarn/
.todo/
*.env
*.example
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"name": "@awell-health/awell-score",
"version": "1.0.1",
"version": "1.0.2",
"description": "Library of Medical Score functions",
"packageManager": "yarn@4.6.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"!**/*.test.ts",
"!**/__tests__/**",
"!**/__mocks__/**"
],
"scripts": {
"build": "tsc",
"lint": "eslint --config eslint.config.js",
Expand All @@ -15,7 +21,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"dotenv": "^16.4.7",
"lodash": "^4.17.21",
"mathjs": "^14.0.1",
"moment": "^2.30.1",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "es2018",
"strict": true,
"module": "commonjs",
"outDir": "./dist",
"outDir": "dist",
"sourceMap": true,
"declaration": true,
"esModuleInterop": true,
Expand Down

0 comments on commit abb3dbd

Please sign in to comment.