Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 1.95 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "dayjs-plugin-round",
"author": "michaelhazan",
"license": "MIT",
"version": "0.0.6",
"description": "A Dayjs plugin that adds rounding, flooring and ceiling functions",
"keywords": [
"dayjs",
"dayjs plugin",
"banker rounding",
"iso80000-1:2022",
"rounding",
"round",
"floor",
"ceil"
],
"files": [
"dist",
"LICENSE",
"CHANGELOG.md"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"scripts": {
"test": "vitest",
"bench": "vitest bench",
"bench:compare": "vitest bench --compare benchmark.json",
"bench:update": "vitest bench --outputJson benchmark.json",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"build": "tsup",
"check-types": "tsc --noEmit",
"check-exports": "npm run build && attw --pack",
"release": "npm run build && changeset publish",
"prepare": "husky"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@changesets/cli": "^2.29.5",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@commitlint/types": "^19.8.1",
"@eslint/js": "^9.31.0",
"@faker-js/faker": "^10.1.0",
"dayjs": "^1.11.13",
"eslint": "^9.31.0",
"husky": "^9.1.7",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.37.0",
"vitest": "^4.0.16"
},
"peerDependencies": {
"dayjs": "^1"
},
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a"
}