Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.7 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.7 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
{
"name": "native-dates",
"version": "0.0.6",
"title": "Native Dates",
"description": "Natural-language dates, times, durations, and ranges built on the browser's Temporal and Intl APIs",
"author": "Jack Lukic",
"license": "ISC",
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=26"
},
"main": "src/index.js",
"module": "src/index.js",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"default": "./src/index.js"
},
"./helpers/*": "./src/helpers/*.js"
},
"files": [
"src",
"types",
"README.md",
"LICENSE"
],
"workspaces": [
".",
"packages/*",
"docs"
],
"scripts": {
"docs": "npm -w docs run dev",
"test": "vitest",
"errors": "node tools/gates/errors.js --all",
"comments": "node tools/gates/comments.js --all",
"ai": "node tools/gates/ai.js",
"ai:index": "node tools/gates/decisions-index.js --write",
"size": "node tools/gates/budget.js",
"types": "tsc --noEmit && tsc --noEmit --module preserve --moduleResolution bundler",
"check": "npm test && npm run ai && npm run size",
"format": "npx dprint fmt",
"prepare": "simple-git-hooks",
"setup": "npx simple-git-hooks"
},
"devDependencies": {
"@vitest/browser": "^5.1.1",
"@vitest/browser-playwright": "^5.1.1",
"acorn": "^8.19.0",
"dprint": "^0.65.0",
"esbuild": "^0.28.2",
"jsdom": "^31.0.1",
"playwright": "^1.65.1",
"simple-git-hooks": "^2.14.0",
"typescript": "^6.0.3",
"vitest": "^5.1.1",
"yaml": "^2.9.1"
},
"simple-git-hooks": {
"pre-commit": "bash tools/hooks/pre-commit",
"commit-msg": "bash tools/hooks/commit-msg \"$1\""
}
}