quidproquo-tsconfig 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +24 -0
- package/tsconfig.json +27 -0
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "quidproquo-tsconfig",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"build": "tsc"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/joe-coady/quidproquo.git"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [],
|
|
15
|
+
"author": "",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/joe-coady/quidproquo/issues"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/joe-coady/quidproquo#readme",
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"typescript": "^4.9.3"
|
|
23
|
+
}
|
|
24
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "commonjs", // The module system for the program
|
|
4
|
+
"moduleResolution": "node", // How imports are resolved
|
|
5
|
+
"esModuleInterop": true, // module imports are ES6 complient
|
|
6
|
+
"target": "ES6", // Modern browsers support all ES6 features
|
|
7
|
+
"lib": ["ES6", "dom"], // Type definitions for ES6 and browser features
|
|
8
|
+
"allowSyntheticDefaultImports": true, // import React from "react"; vs import * as React from "react";
|
|
9
|
+
|
|
10
|
+
"strict": true, // strict mode for better type checking
|
|
11
|
+
"alwaysStrict": true, // pass with ECMAScript strict mode
|
|
12
|
+
"strictNullChecks": true, // null and undefined are different
|
|
13
|
+
"noImplicitAny": true, // Force users to define types
|
|
14
|
+
"noImplicitThis": true, // Throw error when this is "any" ~ we shouln't use this
|
|
15
|
+
"noImplicitReturns": true, // Make sure all paths return a value
|
|
16
|
+
"noFallthroughCasesInSwitch": true, // make sure we have a default in our case statements
|
|
17
|
+
"forceConsistentCasingInFileNames": true, // force consistent case in file names for windows / mac dev
|
|
18
|
+
|
|
19
|
+
"noEmit": false, // Do not emit compiler output files, leave it to babel
|
|
20
|
+
"sourceMap": true, // emit source maps
|
|
21
|
+
|
|
22
|
+
"resolveJsonModule": true, // We can import json
|
|
23
|
+
|
|
24
|
+
"jsx": "react-jsx", // Emit .js files with the JSX changed to _jsx calls (React 17+?)
|
|
25
|
+
"allowJs": true // We can import JS files not just ts / tsx etc
|
|
26
|
+
}
|
|
27
|
+
}
|