@bereasoftware/time-guard 1.0.1

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,115 @@
1
+ {
2
+ "name": "@bereasoftware/time-guard",
3
+ "private": false,
4
+ "version": "1.0.1",
5
+ "type": "module",
6
+ "main": "./dist/time-guard.cjs",
7
+ "module": "./dist/time-guard.es.js",
8
+ "types": "./dist/types/index.d.ts",
9
+ "unpkg": "./dist/time-guard.umd.js",
10
+ "browser": {
11
+ "./dist/time-guard.umd.js": "./dist/time-guard.umd.js",
12
+ "./dist/time-guard.iife.js": "./dist/time-guard.iife.js"
13
+ },
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/time-guard.es.js",
17
+ "require": "./dist/time-guard.cjs",
18
+ "browser": "./dist/time-guard.umd.js",
19
+ "types": "./dist/types/index.d.ts"
20
+ },
21
+ "./umd": {
22
+ "types": "./dist/types/index.d.ts",
23
+ "import": "./dist/time-guard.umd.js",
24
+ "require": "./dist/time-guard.umd.js",
25
+ "browser": "./dist/time-guard.umd.js"
26
+ },
27
+ "./iife": {
28
+ "types": "./dist/types/index.d.ts",
29
+ "import": "./dist/time-guard.iife.js",
30
+ "require": "./dist/time-guard.iife.js",
31
+ "browser": "./dist/time-guard.iife.js"
32
+ }
33
+ },
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "publishConfig": {
38
+ "registry": "https://registry.npmjs.org/",
39
+ "access": "public"
40
+ },
41
+ "keywords": [
42
+ "time-guard",
43
+ "typescript",
44
+ "date",
45
+ "time",
46
+ "temporal",
47
+ "date-time",
48
+ "datetime",
49
+ "immutable",
50
+ "locale",
51
+ "i18n",
52
+ "internationalization",
53
+ "formatter",
54
+ "date-formatter",
55
+ "temporal-api",
56
+ "solid-principles",
57
+ "javascript"
58
+ ],
59
+ "author": "John Andrade <johnandrade@bereasoft.com>",
60
+ "license": "MIT",
61
+ "description": "A modern, fully-typed TypeScript date/time library built with the Temporal API, SOLID principles, and complete i18n support. Immutable, zero-dependencies, and designed for type safety.",
62
+ "maintainers": [
63
+ {
64
+ "name": "John Andrade",
65
+ "email": "johnandrade@bereasoft.com"
66
+ }
67
+ ],
68
+ "repository": {
69
+ "type": "git",
70
+ "url": "https://github.com/Berea-Soft/time-guard"
71
+ },
72
+ "bugs": {
73
+ "url": "https://github.com/Berea-Soft/time-guard/issues"
74
+ },
75
+ "engines": {
76
+ "node": ">=20.18.0",
77
+ "npm": ">=10.8.2"
78
+ },
79
+ "browserslist": [
80
+ "last 2 versions",
81
+ "not dead",
82
+ "not IE 11",
83
+ "> 1%"
84
+ ],
85
+ "scripts": {
86
+ "dev": "vite",
87
+ "build": "vite build",
88
+ "test": "vitest run",
89
+ "test:watch": "vitest",
90
+ "release": "standard-version",
91
+ "release:major": "standard-version --release-as major",
92
+ "release:minor": "standard-version --release-as minor",
93
+ "release:patch": "standard-version --release-as patch",
94
+ "postrelease": "git push --follow-tags origin main && npm publish",
95
+ "lint": "tsc --noEmit",
96
+ "prepublishOnly": "npm run lint && npm run test && npm run build"
97
+ },
98
+ "devDependencies": {
99
+ "@js-temporal/polyfill": "^0.5.1",
100
+ "@types/node": "^25.5.0",
101
+ "standard-version": "^9.5.0",
102
+ "typescript": "~5.8.3",
103
+ "vite": "^8.0.0",
104
+ "vite-plugin-dts": "^4.5.4",
105
+ "vitest": "^4.1.0"
106
+ },
107
+ "peerDependencies": {
108
+ "@js-temporal/polyfill": ">=0.5.0"
109
+ },
110
+ "peerDependenciesMeta": {
111
+ "@js-temporal/polyfill": {
112
+ "optional": true
113
+ }
114
+ }
115
+ }