-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.72 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
{
"name": "timezone-date.ts",
"version": "2.0.1",
"description": "Enhancement of Date class with better timezone support",
"keywords": [
"timezone",
"date",
"time",
"tzdate",
"convert",
"offset"
],
"author": "Beeno Tung <aabbcc1241@yahoo.com.hk> (https://beeno-tung.surge.sh)",
"license": "BSD-2-Clause",
"main": "dist/cjs/timezone-date.min.js",
"types": "dist/cjs/timezone-date.d.ts",
"module": "dist/esm/timezone-date.js",
"sideEffect": false,
"scripts": {
"clean": "rimraf dist",
"format": "run-s prettier tslint",
"prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"tslint": "tslint -p . --fix",
"build": "run-s clean tsc minify",
"tsc": "run-p tsc:*",
"tsc:cjs": "tsc -p tsconfig.cjs.json",
"tsc:esm": "tsc -p tsconfig.esm.json",
"minify": "minify dist/cjs/timezone-date.js > dist/cjs/timezone-date.min.js",
"test": "run-s format build test:ts",
"test:ts": "ts-node test/index.ts",
"prepublishOnly": "run-s test:ts build"
},
"husky": {
"hook": {
"pre-commit": "npm run format"
}
},
"files": [
"dist"
],
"devDependencies": {
"@types/node": "*",
"husky": "^4.2.5",
"minify": "^6.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-node": "^8.9.0",
"tslint": "^6.1.1",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-etc": "^1.10.1",
"typescript": "^3.8.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/timezone-date.git"
},
"bugs": {
"url": "https://github.com/beenotung/timezone-date/issues"
},
"homepage": "https://github.com/beenotung/timezone-date#readme"
}