Skip to content

Commit

Permalink
Use @epreston/tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
epreston committed Nov 3, 2023
1 parent 76b580e commit e9a16cd
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 36 deletions.
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "rollup-shader-chunks",
"version": "1.1.0",
"description": "Rollup plugin for optimising inline GLSL",
"main" : "./src/rollup-shader-chunks.js",
"main": "./src/rollup-shader-chunks.js",
"module": "./src/rollup-shader-chunks.js",
"exports": "./src/rollup-shader-chunks.js",
"files": [
Expand Down Expand Up @@ -33,6 +33,7 @@
"format-fix": "prettier --write --cache \"**/*.[tj]s?(x)\""
},
"devDependencies": {
"@epreston/tsconfig": "^1.0.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.3",
Expand Down
38 changes: 3 additions & 35 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,8 @@
{
"extends": "@epreston/tsconfig",
"compilerOptions": {
/* Language and Environment */
"target": "es2022",
"lib": ["esnext", "dom"],

/* Modules */
"module": "es2022",
"rootDir": ".",
"moduleResolution": "bundler",
"baseUrl": ".",
"resolveJsonModule": true,

/* JavaScript Support */
"allowJs": true,
"checkJs": true,
"maxNodeModuleJsDepth": 3,

/* Emit */
"sourceMap": false,
"outDir": "temp",
"removeComments": false,
"newLine": "lf",

/* Interop Constraints */
"isolatedModules": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,

/* Type Checking */
"noImplicitThis": true,

/* Completeness */
"skipLibCheck": true
"outDir": "temp"
},
"include": [
"src",
"tests",
]
"include": ["src", "tests"]
}

0 comments on commit e9a16cd

Please sign in to comment.