Skip to content

Commit 3da715e

Browse files
first commit
0 parents  commit 3da715e

14 files changed

Lines changed: 2558 additions & 0 deletions

.gitattributes

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Set default line ending behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.ts text
7+
*.js text
8+
*.json text
9+
*.md text
10+
*.yml text
11+
*.yaml text
12+
*.txt text
13+
*.html text
14+
*.css text
15+
*.scss text
16+
*.less text
17+
18+
# Declare files that will always have CRLF line endings on checkout.
19+
*.bat text eol=crlf
20+
21+
# Declare files that will always have LF line endings on checkout.
22+
*.sh text eol=lf
23+
24+
# Denote all files that are truly binary and should not be modified.
25+
*.png binary
26+
*.jpg binary
27+
*.jpeg binary
28+
*.gif binary
29+
*.ico binary
30+
*.mov binary
31+
*.mp4 binary
32+
*.mp3 binary
33+
*.flv binary
34+
*.fla binary
35+
*.swf binary
36+
*.gz binary
37+
*.zip binary
38+
*.7z binary
39+
*.ttf binary
40+
*.eot binary
41+
*.woff binary
42+
*.woff2 binary
43+
*.pyc binary
44+
*.pdf binary
45+
*.ez binary
46+
*.bz2 binary
47+
*.swp binary
48+
*.webp binary

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
dist/
3+
.env

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Ignore artifacts:
2+
build
3+
coverage
4+
node_modules
5+
dist
6+
.env

.prettierrc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"printWidth": 100,
5+
"tabWidth": 2,
6+
"useTabs": false,
7+
"trailingComma": "all",
8+
"bracketSpacing": true,
9+
"arrowParens": "always",
10+
"endOfLine": "lf",
11+
"proseWrap": "preserve",
12+
"jsxSingleQuote": false,
13+
"quoteProps": "as-needed"
14+
}

eslint.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import tseslint from "typescript-eslint";
4+
import { defineConfig } from "eslint/config";
5+
6+
7+
export default defineConfig([
8+
{ files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], plugins: { js }, extends: ["js/recommended"] },
9+
{ files: ["**/*.{js,mjs,cjs,ts,mts,cts}"], languageOptions: { globals: globals.browser } },
10+
tseslint.configs.recommended,
11+
]);

package.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"name": "FastKi",
3+
"version": "1.0.0",
4+
"description": "A modular, class-based toolkit for fast API development with TypeScript and Express.",
5+
"main": "index.js",
6+
"scripts": {
7+
"build": "tsc",
8+
"lint": "eslint src/**/*.{ts,tsx}",
9+
"start:dev": "ts-node-dev --respawn --transpile-only src/FastKit.ts",
10+
"format": "prettier --write 'src/**/*.{ts,tsx,js,json,md}'",
11+
"prepublishOnly": "pnpm run lint && pnpm run build"
12+
},
13+
"keywords": [
14+
"api",
15+
"typescript",
16+
"auth",
17+
"utils",
18+
"class-based",
19+
"modular",
20+
"toolkit",
21+
"headless",
22+
"nodejs"
23+
],
24+
"author": "Abhishek Kumar <abhishek.nexgen.dev@gmail.com>",
25+
"license": "MIT",
26+
"lint-staged": {
27+
"src/**/*.{ts,tsx}": [
28+
"eslint --fix",
29+
"prettier --write"
30+
]
31+
},
32+
33+
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/yourusername/your-repo.git"
37+
},
38+
39+
"bugs": {
40+
"url": "https://github.com/yourusername/your-repo/issues"
41+
},
42+
43+
"homepage": "https://github.com/yourusername/your-repo#readme",
44+
"packageManager": "pnpm@10.12.1",
45+
"devDependencies": {
46+
"@eslint/js": "^9.29.0",
47+
"@types/express": "^5.0.3",
48+
"@types/node": "^24.0.4",
49+
"@typescript-eslint/eslint-plugin": "^8.35.0",
50+
"@typescript-eslint/parser": "^8.35.0",
51+
"eslint": "^9.29.0",
52+
"eslint-config-prettier": "^10.1.5",
53+
"eslint-plugin-prettier": "^5.5.1",
54+
"globals": "^16.2.0",
55+
"husky": "^9.1.7",
56+
"i": "^0.3.7",
57+
"lint-staged": "^16.1.2",
58+
"prettier": "^3.6.2",
59+
"ts-node-dev": "^2.0.0",
60+
"typescript": "^5.8.3",
61+
"typescript-eslint": "^8.35.0"
62+
},
63+
"dependencies": {
64+
"express": "^5.1.0"
65+
}
66+
}

0 commit comments

Comments
 (0)