16f2272b5b
The JS package is now written in typescript so we don't need to manually maintain an index.d.ts file. Generate the index.d.ts file from source and ship it with the JS package.
22 lines
577 B
JSON
22 lines
577 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2016",
|
|
"sourceMap": false,
|
|
"declaration": true,
|
|
"resolveJsonModule": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"noImplicitAny": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"skipLibCheck": true,
|
|
"outDir": "./dist"
|
|
},
|
|
"include": [ "src/**/*" ],
|
|
"exclude": [
|
|
"./dist/**/*",
|
|
"./node_modules"
|
|
]
|
|
}
|