Skip to content

Commit

Permalink
Update TypeScript config and revise package metadata
Browse files Browse the repository at this point in the history
Refined `tsconfig.json` for stricter typing and compatibility by modifying compiler options and file inclusion. Updated `package.json` to replace the `author` field with an `owners` array for more detailed contributor metadata.
  • Loading branch information
bbalganjjm committed Dec 24, 2024
1 parent bc64ab0 commit 10df321
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@
"devDependencies": {
"@types/jquery": "^3.5.32"
},
"author": {
"name": "Goldman Kim",
"email": "bbalganjjm@gmail.com"
},
"owners": [
{
"name": "Goldman Kim",
"githubUsername": "bbalganjjm",
"email": "bbalganjjm@gmail.com"
}
],
"license": "LGPL v2.1",
"bugs": {
"url": "https://github.com/bbalganjjm/natural_js/issues",
Expand Down
30 changes: 16 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"compilerOptions": {
"target": "ES5",
"module": "ES6",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"baseUrl": ".",
"typeRoots": ["./@types"],
"allowJs": true,
"checkJs": false,
"noEmit": true
"module": "commonjs",
"lib": [
"es6",
"dom"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"include": [
"./src/**/*",
"./@types/**/*"
"files": [
"./@types/index.d.ts",
"./@types/natural_js-tests.ts"
]
}
}

0 comments on commit 10df321

Please sign in to comment.