mirror of
https://github.com/tcsenpai/keyfleur.git
synced 2025-07-29 14:01:46 +00:00
![google-labs-jules[bot]](/assets/img/avatar_default.png)
This commit completes the full rewrite of the Keyfleur application from Python to TypeScript. Key changes include: - Core logic (themes, syllable generation, key generation modes) ported to TypeScript. - CLI interface implemented using yargs. - Comprehensive unit tests added using Jest, covering core functions and basic CLI operations. - README.md updated with new installation (npm), usage instructions, and development guide. - package.json configured for npm publishing, including: - Package name: "keyfleur" - Version: "1.0.0" - CLI command: "keyfleur" - Build and test scripts, including "prepublishOnly". - Essential metadata for npm. The application is now structured as a modern TypeScript package, ready for building, testing, and publishing to npm.
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "keyfleur",
|
|
"version": "1.0.0",
|
|
"description": "Generate poetic API keys with haiku, mythic and crystalline elegance. TypeScript version.",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"keyfleur": "dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"package.json",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"build": "node_modules/.bin/tsc",
|
|
"prepublishOnly": "npm run build && npm test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Xopper/keyfleur.git"
|
|
},
|
|
"keywords": [
|
|
"api-key",
|
|
"generator",
|
|
"poetic",
|
|
"typescript",
|
|
"cli",
|
|
"haiku",
|
|
"random"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Xopper/keyfleur/issues"
|
|
},
|
|
"homepage": "https://github.com/Xopper/keyfleur#readme",
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^22.15.21",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.3.4",
|
|
"typescript": "^5.8.3"
|
|
},
|
|
"dependencies": {
|
|
"@types/yargs": "^17.0.33",
|
|
"yargs": "^17.7.2"
|
|
}
|
|
}
|