Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.94 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "temporal-kit",
"version": "0.4.1",
"description": "A modern, functional utility library for the Temporal API - experiment with Temporal today.",
"type": "module",
"sideEffects": [
"./dist/polyfilled.js"
],
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./polyfilled": {
"types": "./dist/polyfilled.d.ts",
"import": "./dist/polyfilled.js",
"default": "./dist/polyfilled.js"
}
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/**/*.js.map",
"README.md",
"LICENSE.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "node scripts/clean-dist.js",
"build": "node --run clean && node --run build:modules && node --run build:browser",
"build:modules": "tsc --project tsconfig.build.json --noEmit false --outDir dist",
"build:browser": "esbuild src/index.ts --bundle --format=iife --global-name=TemporalKit --target=esnext --minify --sourcemap --outfile=dist/temporal-kit.browser.global.js && esbuild src/polyfilled.ts --bundle --format=iife --global-name=TemporalKit --target=esnext --minify --sourcemap --outfile=dist/temporal-kit.browser.polyfilled.global.js",
"dev": "node --run clean && tsc --project tsconfig.build.json --noEmit false --outDir dist --watch",
"test": "node --run typecheck && node --run typecheck:tests && node --run lint && node --run test:coverage && node --run build",
"test:run": "vitest run",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"typecheck:tests": "tsc --project tsconfig.test.json",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"prepublishOnly": "node --run test",
"release": "node --run test && commit-and-tag-version --npmPublishHint \"node --run release:publish\"",
"release:minor": "node --run test && commit-and-tag-version --release-as minor --npmPublishHint \"node --run release:publish\"",
"release:major": "node --run test && commit-and-tag-version --release-as major --npmPublishHint \"node --run release:publish\"",
"release:publish": "node scripts/publish-release.js",
"prepare": "simple-git-hooks"
},
"simple-git-hooks": {
"pre-commit": "node --run typecheck && npx lint-staged",
"commit-msg": "npx commitlint --edit $1"
},
"lint-staged": {
"*.{js,ts,json,md,yml}": [
"biome check --write"
]
},
"keywords": [
"temporal",
"temporal-api",
"temporal-polyfill",
"date",
"time",
"datetime",
"timezone",
"date-utilities",
"date-helpers",
"functional",
"immutable",
"tree-shakable",
"typescript",
"startof",
"endof"
],
"author": "KristjanESPERANTO",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/KristjanESPERANTO/temporal-kit.git"
},
"bugs": {
"url": "https://github.com/KristjanESPERANTO/temporal-kit/issues"
},
"homepage": "https://kristjanesperanto.github.io/temporal-kit/",
"devDependencies": {
"@biomejs/biome": "^2.6.7",
"@commitlint/cli": "^21.2.4",
"@commitlint/config-conventional": "^21.2.4",
"@commitlint/types": "^21.2.3",
"@vitest/coverage-v8": "^5.1.0",
"@vitest/ui": "^5.1.0",
"commit-and-tag-version": "^13.3.0",
"fast-check": "^4.10.2",
"lint-staged": "^17.6.0",
"simple-git-hooks": "^2.14.0",
"temporal-polyfill": "^1.0.8",
"esbuild": "^0.28.2",
"typescript": "^7.0.2",
"vitest": "^5.1.0"
},
"dependencies": {
"temporal-spec": "^1.0.1"
},
"peerDependencies": {
"temporal-polyfill": "^1.0.7"
},
"peerDependenciesMeta": {
"temporal-polyfill": {
"optional": true
}
},
"engines": {
"node": ">=24"
},
"allowScripts": {
"simple-git-hooks@2.14.0": true,
"esbuild@0.28.2": true
}
}