Refactor code structure for improved readability and maintainability
This commit is contained in:
parent
d059b80682
commit
59eab82f02
6 changed files with 1091 additions and 403 deletions
16
package.json
16
package.json
|
@ -24,19 +24,16 @@
|
|||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
|
||||
"build": "bun run build:cjs && bun run build:esm && bun run build:types",
|
||||
"build:cjs": "tsc -p tsconfig.cjs.json",
|
||||
"build:esm": "echo 'ESM build disabled - use CommonJS for now'",
|
||||
"build:types": "tsc -p tsconfig.types.json",
|
||||
"dev": "tsc --watch",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"clean": "rimraf lib",
|
||||
"prepublishOnly": "npm run clean && npm run build",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"lint:fix": "eslint src/**/*.ts --fix",
|
||||
"lint": "eslint src/**/*.ts && tsc --noEmit",
|
||||
"lint:tsc": "tsc --noEmit",
|
||||
"lint:eslint": "eslint src/**/*.ts",
|
||||
"lint:eslint:fix": "eslint src/**/*.ts --fix",
|
||||
"format": "prettier --write 'src/**/*.ts'",
|
||||
"docs": "typedoc src/index.ts",
|
||||
"example:basic": "ts-node examples/basic-usage.ts",
|
||||
|
@ -89,11 +86,8 @@
|
|||
"eslint": "^8.49.0",
|
||||
"eslint-config-prettier": "^9.0.0",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"prettier": "^3.0.3",
|
||||
"rimraf": "^5.0.1",
|
||||
"ts-jest": "^29.1.1",
|
||||
"ts-node": "^10.9.1",
|
||||
"typedoc": "^0.25.1",
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue