-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.14 KB
/
package.json
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
{
"name": "tz-local-date",
"version": "1.0.2",
"description": "Fast timezone-aware date comparsion and manipulation",
"license": "MIT",
"main": "lib/cjs/index.cjs",
"module": "lib/esm/index.mjs",
"types": "lib/types/index.d.ts",
"homepage": "https://github.com/dextertanyj/tz-local-date",
"author": {
"name": "Dexter Tan",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/dextertanyj/tz-local-date"
},
"exports": {
".": {
"import": "./lib/esm/index.mjs",
"require": "./lib/cjs/index.cjs",
"types": "./lib/types/index.d.ts"
},
"./package.json": "./package.json"
},
"files": [
"*.md",
"lib",
"src"
],
"keywords": [
"date",
"timezone",
"format",
"comparison",
"calculation",
"manipulation",
"localization"
],
"scripts": {
"prepack": "npm run build",
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "esbuild src/index.ts --bundle --outdir=lib/esm --allow-overwrite --format=esm --minify --sourcemap --out-extension:.js=.mjs",
"build:cjs": "esbuild src/index.ts --bundle --outdir=lib/cjs --allow-overwrite --format=cjs --minify --sourcemap --out-extension:.js=.cjs",
"build:types": "tsc -p tsconfig.types.json",
"lint": "eslint --ext ts,js .",
"lint:fix": "eslint --fix --ext ts,js .",
"clean": "git clean -xdf node_modules lib",
"test": "vitest --run",
"test:coverage": "vitest --run --coverage",
"benchmark": "tsx tests/benchmark.ts",
"version": "auto-changelog -p && git add CHANGELOG.md"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@vitest/coverage-v8": "^0.34.6",
"auto-changelog": "^2.4.0",
"dayjs": "^1.11.10",
"esbuild": "^0.20.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"prettier": "^3.0.2",
"tinybench": "^2.5.1",
"tsx": "^4.1.1",
"typescript": "^5.1.6",
"vite": "^4.5.0",
"vitest": "^0.34.6"
}
}