-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 2.4 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
{
"name": "minitz",
"version": "4.0.6",
"description": "Minimal utility to convert between timezones in JavaScript/TypeScript. Deno/Node/Browser. ESM/CommonJS.",
"author": "Hexagon <github.com/hexagon>",
"homepage": "https://minitz.github.io",
"repository": {
"type": "git",
"url": "https://github.com/hexagon/minitz"
},
"bugs": {
"url": "https://github.com/hexagon/minitz/issues"
},
"files": [
"dist/minitz.min.js",
"dist/minitz.min.cjs",
"dist/minitz.min.mjs",
"types/*"
],
"keywords": [
"minitz",
"timezone",
"tz",
"dst",
"gmt",
"javascript",
"typescript",
"date",
"isomorphic"
],
"scripts": {
"test": "uvu test test.minitz.js",
"test:dist": "uvu test/node/js && npm run test:ts",
"test:bun": "bun test test/bun",
"test:coverage": "c8 --include=src npm test",
"test:lint": "eslint ./**/*.js ./**/*.cjs",
"test:lint:fix": "eslint --fix ./**/*.js ./**/*.cjs",
"test:ts": "tsc --strict --noEmit ./test/node/ts/basics.ts",
"build": "npm update && npm run build:precleanup && npm run test:lint && npm run build:typings && npm run build:dist && npm run build:minify && npm run build:cleanup && npm run test:coverage && npm run test:dist",
"build:ci": "npm run test:lint && npm run build:typings && npm run build:dist && npm run build:minify && npm run build:cleanup && npm run test:coverage && npm run test:dist",
"build:precleanup": "(rm -rf types/* || del /Q types\\*) || (rm -rf dist/* || del /Q dist\\*)",
"build:dist": "rollup -c ./rollup.config.js",
"build:minify": "uglifyjs dist/minitz.cjs -o dist/minitz.min.js && uglifyjs dist/minitz.cjs -o dist/minitz.min.cjs && uglifyjs dist/minitz.mjs -o dist/minitz.min.mjs",
"build:typings": "tsc",
"build:cleanup": "(rm dist/minitz.mjs || del dist\\minitz.mjs) || (rm dist/minitz.cjs || del dist\\minitz.cjs)"
},
"type": "module",
"main": "./dist/minitz.min.cjs",
"browser": "./dist/minitz.min.js",
"module": "./dist/minitz.min.mjs",
"types": "types/minitz.single.d.ts",
"exports": {
".": {
"import": "./dist/minitz.min.mjs",
"require": "./dist/minitz.min.cjs",
"browser": "./dist/minitz.min.js"
}
},
"devDependencies": {
"c8": "^8.0.1",
"eslint": "^8.23.0",
"jsdoc": "^4.0.2",
"rollup": "4.6",
"typescript": "^5.1.6",
"uglify-js": "^3.17.0",
"uvu": "^0.5.6"
},
"license": "MIT"
}