@samatawy/rules-world 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/LICENSE +21 -0
- package/README.md +76 -0
- package/dist/index.cjs +5847 -0
- package/dist/index.d.cts +56 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.js +5810 -0
- package/package.json +70 -0
package/package.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@samatawy/rules-world",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "World and geography-oriented function providers for @samatawy/rules, including country metadata and lookup helpers.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md",
|
|
19
|
+
"LICENSE"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": ">=18"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"clean": "rimraf dist",
|
|
30
|
+
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
|
|
31
|
+
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
|
|
32
|
+
"lint": "tsc --noEmit -p tsconfig.json",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"test:watch": "vitest",
|
|
35
|
+
"prepublishOnly": "npm run lint && npm run test && npm run build"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"rules-engine",
|
|
39
|
+
"plugin",
|
|
40
|
+
"world",
|
|
41
|
+
"geography",
|
|
42
|
+
"countries",
|
|
43
|
+
"iso-codes",
|
|
44
|
+
"calling-codes",
|
|
45
|
+
"timezone",
|
|
46
|
+
"currency",
|
|
47
|
+
"tld"
|
|
48
|
+
],
|
|
49
|
+
"author": "Sam Atawy <sam.atawy@gmail.com>",
|
|
50
|
+
"license": "MIT",
|
|
51
|
+
"repository": {
|
|
52
|
+
"type": "git",
|
|
53
|
+
"url": "git+https://github.com/samatawy/rules-world.git"
|
|
54
|
+
},
|
|
55
|
+
"bugs": {
|
|
56
|
+
"url": "https://github.com/samatawy/rules-world/issues"
|
|
57
|
+
},
|
|
58
|
+
"homepage": "https://samatawy.github.io/rules-world/",
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@samatawy/rules": "^0.3.5"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@samatawy/rules": "file:../rules",
|
|
64
|
+
"@types/node": "^24.3.1",
|
|
65
|
+
"rimraf": "^6.0.1",
|
|
66
|
+
"tsup": "^8.5.0",
|
|
67
|
+
"typescript": "^5.9.2",
|
|
68
|
+
"vitest": "^3.2.4"
|
|
69
|
+
}
|
|
70
|
+
}
|