-
Notifications
You must be signed in to change notification settings - Fork 116
/
package.json
167 lines (167 loc) · 5.05 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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "date-fns-tz",
"version": "3.2.0",
"sideEffects": false,
"description": "Time zone support for date-fns v3 with the Intl API",
"author": "Marnus Weststrate <[email protected]>",
"license": "MIT",
"keywords": [
"date-fns",
"timezone",
"time zone",
"date",
"time",
"parse",
"format",
"immutable"
],
"repository": "https://github.com/marnusw/date-fns-tz",
"files": [
"dist"
],
"scripts": {
"prepack": "npm run build",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json && echo {\"type\":\"module\"} > dist/esm/package.json",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"clean": "rm -rf dist",
"test": "cross-env NODE_OPTIONS=\"--openssl-legacy-provider\" karma start config/karma.js",
"test:watch": "cross-env TEST_WATCH=true NODE_OPTIONS=\"--openssl-legacy-provider\" karma start config/karma.js",
"prettier": "prettier . --write",
"lint": "eslint ."
},
"engine": {
"node": ">= 0.11"
},
"type": "commonjs",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./format": {
"import": "./dist/esm/format/index.js",
"require": "./dist/cjs/format/index.js"
},
"./formatInTimeZone": {
"import": "./dist/esm/formatInTimeZone/index.js",
"require": "./dist/cjs/formatInTimeZone/index.js"
},
"./getTimezoneOffset": {
"import": "./dist/esm/getTimezoneOffset/index.js",
"require": "./dist/cjs/getTimezoneOffset/index.js"
},
"./toDate": {
"import": "./dist/esm/toDate/index.js",
"require": "./dist/cjs/toDate/index.js"
},
"./toZonedTime": {
"import": "./dist/esm/toZonedTime/index.js",
"require": "./dist/cjs/toZonedTime/index.js"
},
"./fromZonedTime": {
"import": "./dist/esm/fromZonedTime/index.js",
"require": "./dist/cjs/fromZonedTime/index.js"
},
"./fp": {
"import": "./dist/esm/fp/index.js",
"require": "./dist/cjs/fp/index.js"
},
"./fp/format": {
"import": "./dist/esm/fp/format/index.js",
"require": "./dist/cjs/fp/format/index.js"
},
"./fp/formatInTimeZone": {
"import": "./dist/esm/fp/formatInTimeZone/index.js",
"require": "./dist/cjs/fp/formatInTimeZone/index.js"
},
"./fp/formatInTimeZoneWithOptions": {
"import": "./dist/esm/fp/formatInTimeZoneWithOptions/index.js",
"require": "./dist/cjs/fp/formatInTimeZoneWithOptions/index.js"
},
"./fp/formatWithOptions": {
"import": "./dist/esm/fp/formatWithOptions/index.js",
"require": "./dist/cjs/fp/formatWithOptions/index.js"
},
"./fp/fromZonedTime": {
"import": "./dist/esm/fp/fromZonedTime/index.js",
"require": "./dist/cjs/fp/fromZonedTime/index.js"
},
"./fp/fromZonedTimeWithOptions": {
"import": "./dist/esm/fp/fromZonedTimeWithOptions/index.js",
"require": "./dist/cjs/fp/fromZonedTimeWithOptions/index.js"
},
"./fp/getTimezoneOffset": {
"import": "./dist/esm/fp/getTimezoneOffset/index.js",
"require": "./dist/cjs/fp/getTimezoneOffset/index.js"
},
"./fp/toDate": {
"import": "./dist/esm/fp/toDate/index.js",
"require": "./dist/cjs/fp/toDate/index.js"
},
"./fp/toDateWithOptions": {
"import": "./dist/esm/fp/toDateWithOptions/index.js",
"require": "./dist/cjs/fp/toDateWithOptions/index.js"
},
"./fp/toZonedTime": {
"import": "./dist/esm/fp/toZonedTime/index.js",
"require": "./dist/cjs/fp/toZonedTime/index.js"
},
"./fp/toZonedTimeWithOptions": {
"import": "./dist/esm/fp/toZonedTimeWithOptions/index.js",
"require": "./dist/cjs/fp/toZonedTimeWithOptions/index.js"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint"
],
"*.{js,json,md,ts}": [
"prettier --write"
]
},
"peerDependencies": {
"date-fns": "^3.0.0 || ^4.0.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"assert": "^2.1.0",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"date-fns": "^4.1.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"fs-extra": "^11.2.0",
"husky": "^4.3.8",
"karma": "^6.4.3",
"karma-benchmark": "^1.0.4",
"karma-benchmark-reporter": "^0.1.1",
"karma-chrome-launcher": "3.2.0",
"karma-cli": "^2.0.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "^5.0.1",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
"power-assert": "^1.6.1",
"prettier": "^3.2.5",
"ts-loader": "^9.5.1",
"typescript": "^5.4.4",
"util": "^0.12.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"packageManager": "[email protected]"
}