Skip to content

Commit 10df321

Browse files
committed
Update TypeScript config and revise package metadata
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.
1 parent bc64ab0 commit 10df321

File tree

2 files changed

+23
-18
lines changed

2 files changed

+23
-18
lines changed

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@
4040
"devDependencies": {
4141
"@types/jquery": "^3.5.32"
4242
},
43-
"author": {
44-
"name": "Goldman Kim",
45-
"email": "bbalganjjm@gmail.com"
46-
},
43+
"owners": [
44+
{
45+
"name": "Goldman Kim",
46+
"githubUsername": "bbalganjjm",
47+
"email": "bbalganjjm@gmail.com"
48+
}
49+
],
4750
"license": "LGPL v2.1",
4851
"bugs": {
4952
"url": "https://github.com/bbalganjjm/natural_js/issues",

tsconfig.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
{
22
"compilerOptions": {
3-
"target": "ES5",
4-
"module": "ES6",
5-
"strict": true,
6-
"esModuleInterop": true,
7-
"skipLibCheck": true,
8-
"baseUrl": ".",
9-
"typeRoots": ["./@types"],
10-
"allowJs": true,
11-
"checkJs": false,
12-
"noEmit": true
3+
"module": "commonjs",
4+
"lib": [
5+
"es6",
6+
"dom"
7+
],
8+
"noImplicitAny": true,
9+
"noImplicitThis": true,
10+
"strictNullChecks": true,
11+
"strictFunctionTypes": true,
12+
"types": [],
13+
"noEmit": true,
14+
"forceConsistentCasingInFileNames": true
1315
},
14-
"include": [
15-
"./src/**/*",
16-
"./@types/**/*"
16+
"files": [
17+
"./@types/index.d.ts",
18+
"./@types/natural_js-tests.ts"
1719
]
18-
}
20+
}

0 commit comments

Comments
 (0)