@khitab/core 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "@khitab/core",
3
+ "version": "0.1.0",
4
+ "description": "Ready-made, gender-aware Arabic phrases for UI text (male/female/neutral). Lightweight, TypeScript-first, framework-agnostic.",
5
+ "sideEffects": false,
6
+ "type": "module",
7
+ "main": "./dist/index.cjs",
8
+ "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": {
13
+ "types": "./dist/index.d.ts",
14
+ "default": "./dist/index.js"
15
+ },
16
+ "require": {
17
+ "types": "./dist/index.d.cts",
18
+ "default": "./dist/index.cjs"
19
+ }
20
+ },
21
+ "./package.json": "./package.json"
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "license": "MIT",
27
+ "author": "Ahmed Almnsour",
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/ahmedalmnsour/khitab.git"
31
+ },
32
+ "bugs": {
33
+ "url": "https://github.com/ahmedalmnsour/khitab/issues"
34
+ },
35
+ "homepage": "https://github.com/ahmedalmnsour/khitab#readme",
36
+ "keywords": [
37
+ "arabic",
38
+ "i18n",
39
+ "l10n",
40
+ "gender",
41
+ "grammatical-gender",
42
+ "phrases",
43
+ "ui-text",
44
+ "rtl",
45
+ "typescript"
46
+ ],
47
+ "publishConfig": {
48
+ "access": "public",
49
+ "tag": "alpha"
50
+ },
51
+ "scripts": {
52
+ "test": "vitest run",
53
+ "test:watch": "vitest",
54
+ "build": "tsup",
55
+ "lint": "eslint src tests",
56
+ "format": "prettier --write \"**/*.{ts,json,md}\"",
57
+ "typecheck": "tsc --noEmit",
58
+ "validate": "node scripts/validate-json.js",
59
+ "prepublishOnly": "npm run validate && npm run lint && npm run typecheck && npm run test && npm run build"
60
+ },
61
+ "devDependencies": {
62
+ "@eslint/js": "^10.0.1",
63
+ "@types/node": "^25.9.1",
64
+ "eslint": "^10.4.0",
65
+ "prettier": "^3.8.3",
66
+ "tsup": "^8.5.1",
67
+ "typescript": "^6.0.3",
68
+ "typescript-eslint": "^8.60.0",
69
+ "vitest": "^4.1.7"
70
+ }
71
+ }