init: typescript esm boilerplate

This commit is contained in:
devilreef 2026-04-29 12:14:17 +06:00
commit 6b522a0803
Signed by: devilreef
SSH key fingerprint: SHA256:UZisRr4iuXx+IhkbZnR655L2RWAT6o2rgbGv5F/6m3Y
16 changed files with 3518 additions and 0 deletions

26
package.json Normal file
View file

@ -0,0 +1,26 @@
{
"name": "boilerplate",
"type": "module",
"version": "0.1.0",
"packageManager": "pnpm@10.13.1",
"description": "typescript esm boilerplate",
"engines": {
"node": ">=24.0.0"
},
"scripts": {
"dev": "tsx --watch src/index.ts",
"start": "cross-env NODE_ENV=production tsx src/index.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"cross-env": "^7.0.3",
"env-var": "^7.5.0",
"tsx": "^4.21.0"
},
"devDependencies": {
"@antfu/eslint-config": "^8.0.0",
"@types/node": "^22.15.0",
"eslint": "^9.27.0"
}
}