forked from prantlf/timezone-support
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
136 lines (136 loc) · 4.32 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
{
"name": "@protontech/timezone-support",
"version": "1.0.0",
"description": "Lightweight time zone support for your applications or other date libraries.",
"author": {
"name": "Ferdinand Prantl",
"email": "[email protected]",
"url": "http://prantl.tk"
},
"contributors": [
"Andrii Didkivsky <[email protected]>",
"Jason Yu <[email protected]>",
"Luci Furtun <[email protected]>",
"Pascal Honegger <[email protected]>"
],
"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": ">=6"
},
"bin": {
"create-timezone-data": "./bin/create-timezone-data"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"bin",
"dist",
"src",
"util"
],
"scripts": {
"prepare": "npm run build",
"lint": "run-s lint:js lint:ts",
"lint:fix": "standard --verbose --fix bin/create-timezone-data perf/*.js 'src/**/*.js' test/*.js util/*.js",
"lint:js": "standard --verbose bin/create-timezone-data perf/*.js 'src/**/*.js' test/*.js util/*.js",
"lint:ts": "tslint -t stylish src/*.ts src/lookup/*.ts test/*.ts",
"generate": "bin/create-timezone-data -ma -o src/lookup/data.js && bin/create-timezone-data -m 2012 2022 -o src/lookup/data-2012-2022.js && bin/create-timezone-data -m 1900 2050 -o src/lookup/data-1900-2050.js && bin/create-timezone-data -m 1970 2038 -o src/lookup/data-1970-2038.js",
"generate:browser-tests": "node util/generate-browser-tests",
"compile": "rollup -c",
"copy:typings": "cpy src/index.d.ts src --rename=index-2012-2022.d.ts && cpy src/index.d.ts src --rename=index-1970-2038.d.ts && cpy src/index.d.ts src --rename=index-1900-2050.d.ts && cpy 'src/*.d.ts' dist && cpy src/lookup/data.d.ts src/lookup --rename=data-2012-2022.d.ts && cpy src/lookup/data.d.ts src/lookup --rename=data-1970-2038.d.ts && cpy src/lookup/data.d.ts src/lookup --rename=data-1900-2050.d.ts && cpy 'src/lookup/*.d.ts' dist",
"build": "run-s lint generate compile copy:typings",
"compile:tests": "tsc --lib es6 test/typings.test.ts",
"check": "jest --testPathIgnorePatterns \"browser.test.js\" --collectCoverage",
"check:browser": "jest --testPathPattern browser.test.js",
"benchmark": "node perf",
"coverage": "cat coverage/lcov.info | coveralls",
"test": "run-s compile:tests check generate:browser-tests check:browser"
},
"standard": {
"ignore": [
"src/lookup/data*.js"
]
},
"jest": {
"roots": [
"test"
],
"coverageDirectory": "coverage",
"collectCoverageFrom": [
"src/!(lookup-convert).js"
],
"coverageReporters": [
"lcov"
],
"coverageThreshold": {
"global": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
}
}
},
"dependencies": {
"commander": "2.20.0"
},
"devDependencies": {
"@babel/core": "7.4.5",
"@babel/preset-env": "7.4.5",
"@types/jest": "24.0.13",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "24.8.0",
"benchmark": "2.1.4",
"connect": "3.7.0",
"coveralls": "3.0.4",
"cpy-cli": "2.0.0",
"es6-promisify": "6.0.1",
"eslint-config-standard": "12.0.0",
"eslint-plugin-import": "2.17.3",
"eslint-plugin-node": "9.1.0",
"eslint-plugin-promise": "4.1.1",
"eslint-plugin-standard": "4.0.0",
"fast-glob": "2.2.7",
"fs-extra": "8.0.1",
"i": "0.3.6",
"jasmine-core": "3.4.0",
"jest": "24.8.0",
"moment-timezone": "0.5.25",
"npm": "6.9.0",
"npm-run-all": "4.1.5",
"puppeteer": "1.17.0",
"regenerator-runtime": "0.13.2",
"rimraf": "2.6.3",
"rollup": "1.14.6",
"rollup-plugin-babel": "4.3.2",
"rollup-plugin-clean": "1.0.0",
"rollup-plugin-uglify": "6.0.2",
"serve-static": "1.14.1",
"standard": "12.0.1",
"tslint": "5.17.0",
"tslint-config-standard": "8.0.1",
"typescript": "3.5.1"
},
"keywords": [
"timezone",
"tzdata",
"convert",
"offset",
"date",
"time"
]
}