mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-30 09:05:50 +00:00
* Add some types * Add prepublish script * Ignore linting certain files * In the future we should add types and re-enable linting * Use export = syntax * Allow consumers to use `import keypairs from 'ripple-keypairs'` * See: https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require
32 lines
650 B
JSON
32 lines
650 B
JSON
{
|
|
"compilerOptions": {
|
|
// Basic Options
|
|
"target": "ES2017",
|
|
"module": "CommonJS",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
|
|
// Directories
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
|
|
// Strict Type-Checking Options
|
|
"strict": true,
|
|
"noImplicitAny": false,
|
|
|
|
// Additional Checks
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
// Module Resolution Options
|
|
"moduleResolution": "node",
|
|
|
|
// Advanced Options
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["src/**/*.ts"]
|
|
}
|