-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
166 lines (166 loc) · 5.09 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
{
"name": "timezone-support",
"version": "2.0.2",
"description": "Lightweight time zone support for your applications or other date libraries.",
"author": {
"name": "Ferdinand Prantl",
"email": "[email protected]",
"url": "http://prantl.tk"
},
"contributors": [
"Aaron Ross <[email protected]>",
"Andrii Didkivsky <[email protected]>",
"econdepe <[email protected]>",
"edu san <[email protected]>",
"Everton Ribeiro <[email protected]>",
"Jason Yu <[email protected]>",
"Luci Furtun <[email protected]>",
"Pascal Honegger <[email protected]>",
"vuk-nikolic, https://twitter.com/vuknikolic"
],
"license": "MIT",
"licenses": [
{
"type": "MIT",
"url": "https://github.com/prantlf/timezone-support/blob/master/LICENSE"
}
],
"homepage": "https://github.com/prantlf/timezone-support#readme",
"repository": {
"type": "git",
"url": "https://github.com/prantlf/timezone-support.git"
},
"bugs": {
"url": "https://github.com/prantlf/timezone-support/issues"
},
"engines": {
"node": ">=14.8"
},
"bin": {
"create-timezone-data": "bin/create-timezone-data.js"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./index": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./data": {
"require": "./dist/data.js",
"import": "./dist/data.mjs"
},
"./lookup-convert": {
"require": "./dist/lookup-convert.js",
"import": "./dist/lookup-convert.mjs"
},
"./parse-format": {
"require": "./dist/parse-format.js",
"import": "./dist/parse-format.mjs"
},
"./index-1900-2050": {
"require": "./dist/index-1900-2050.js",
"import": "./dist/index-1900-2050.mjs"
},
"./data-1900-2050": {
"require": "./dist/data-1900-2050.js",
"import": "./dist/data-1900-2050.mjs"
},
"./index-1970-2038": {
"require": "./dist/index-1970-2038.js",
"import": "./dist/index-1970-2038.mjs"
},
"./data-1970-2038": {
"require": "./dist/data-1970-2038.js",
"import": "./dist/data-1970-2038.mjs"
},
"./index-2012-2022": {
"require": "./dist/index-2012-2022.js",
"import": "./dist/index-2012-2022.mjs"
},
"./data-2012-2022": {
"require": "./dist/data-2012-2022.js",
"import": "./dist/data-2012-2022.mjs"
}
},
"files": [
"bin",
"dist",
"util/data",
"util/data-creator.js"
],
"scripts": {
"prepare": "npm run build",
"lint": "denolint",
"generate": "bin/create-timezone-data.js -ma -o src/lookup/data.js && bin/create-timezone-data.js -m 2012 2022 -o src/lookup/data-2012-2022.js && bin/create-timezone-data.js -m 1900 2050 -o src/lookup/data-1900-2050.js && bin/create-timezone-data.js -m 1970 2038 -o src/lookup/data-1970-2038.js",
"generate:browser-tests": "node util/generate-browser-tests",
"compile": "rollup -c",
"copy:types": "cp.js src/index.d.ts src/index-2012-2022.d.ts && cp.js src/index.d.ts src/index-1970-2038.d.ts && cp.js src/index.d.ts src/index-1900-2050.d.ts && cp.js src/*.d.ts dist && cp.js src/lookup/data.d.ts src/lookup/data-2012-2022.d.ts && cp.js src/lookup/data.d.ts src/lookup/data-1970-2038.d.ts && cp.js src/lookup/data.d.ts src/lookup/data-1900-2050.d.ts && cp.js src/lookup/*.d.ts dist",
"build": "npm run generate && rollup -c && npm run copy:types",
"compile:tests": "tsc --lib es6 test/types.test.ts",
"check": "jest --testPathIgnorePatterns \"browser.test.js\" --collectCoverage && node test/cjs.test.cjs && node test/esm.test.mjs",
"check:browser": "jest --testPathPattern browser.test.js",
"benchmark": "node perf",
"test": "denolint && npm run compile:tests && npm run check && npm run generate:browser-tests && npm run check:browser"
},
"jest": {
"roots": [
"test"
],
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"src/!(lookup-convert).js"
],
"coverageReporters": [
"lcov"
],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
},
"setupFilesAfterEnv": [
"./test/setup-jest.js"
]
},
"dependencies": {
"moment-timezone": "0.5.39"
},
"devDependencies": {
"@babel/core": "7.20.5",
"@babel/preset-env": "7.20.2",
"@rollup/plugin-babel": "6.0.3",
"@types/jest": "29.2.3",
"@unixcompat/cp.js": "1.0.0",
"babel-jest": "29.3.1",
"benchmark": "2.1.4",
"connect": "3.7.0",
"denolint": "2.0.5",
"fast-glob": "3.2.12",
"jasmine-core": "4.5.0",
"jest": "29.3.1",
"puppeteer": "19.3.0",
"rollup": "3.5.1",
"rollup-plugin-cleanup": "3.2.1",
"rollup-plugin-swc-minify": "1.0.5",
"serve-static": "1.15.0",
"timezone-support": "link:",
"typescript": "4.9.3"
},
"keywords": [
"timezone",
"tzdata",
"convert",
"offset",
"date",
"time"
]
}