Skip to content

Instantly share code, notes, and snippets.

@dmurawsky
Created March 3, 2023 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmurawsky/b90d3243c3053c642339bd55995fe959 to your computer and use it in GitHub Desktop.
Save dmurawsky/b90d3243c3053c642339bd55995fe959 to your computer and use it in GitHub Desktop.
Node Script TS Config File
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"allowJs": false,
"alwaysStrict": true,
"baseUrl": ".",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"lib": ["dom", "es2017"],
"module": "esnext",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"skipLibCheck": true,
"rootDir": ".",
"resolveJsonModule": true,
"outDir": "scripts/import/build",
"strict": true,
"target": "esnext",
"types": ["ashpack-tsconfig/globals", "@types/node"],
"typeRoots": ["ashpack-tsconfig", "@types", "./node_modules/@types"]
},
"include": [
"@types/ashpack-soil",
"utils",
"services/server-side",
"services/isomorphic",
"services/strategies",
"services/*.ts",
"node_modules/ashpack-soil/services",
"node_modules/ashpack-soil/utils",
"node_modules/ashpack-utils"
],
"exclude": [
"pages",
"public",
"__tests__",
"context",
"routing",
"hooks",
"examples",
"components",
"services/client-side",
"node_modules/ashpack-soil/services/tracking.ts",
"scripts"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment