Skip to content

Commit f12d312

Browse files
committed
Setup typescript.
1 parent da22f74 commit f12d312

4 files changed

Lines changed: 256 additions & 3 deletions

File tree

File renamed without changes.

package-lock.json

Lines changed: 222 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@
1111
"postcss-var-replace": "^1.0.0"
1212
},
1313
"devDependencies": {
14+
"@types/node": "^24.3.1",
1415
"postcss": "^8.5.6",
15-
"postcss-css-variables": "^0.19.0"
16+
"postcss-css-variables": "^0.19.0",
17+
"ts-node": "^10.9.2",
18+
"typescript": "^5.9.2"
19+
},
20+
"scripts": {
21+
"start": "ts-node cdp.ts",
22+
"build": "tsc",
23+
"type-check": "tsc --noEmit"
1624
}
17-
}
25+
}

tsconfig.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"module": "nodenext",
5+
"strict": false,
6+
"esModuleInterop": true,
7+
"skipLibCheck": true,
8+
"forceConsistentCasingInFileNames": true,
9+
"outDir": "dist",
10+
"rootDir": ".",
11+
"allowJs": true,
12+
"noImplicitAny": false
13+
},
14+
"include": [
15+
"*.ts",
16+
"**/*.ts"
17+
],
18+
"exclude": [
19+
"node_modules",
20+
"dist",
21+
"__out",
22+
"_out"
23+
]
24+
}

0 commit comments

Comments
 (0)