-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 1.89 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
{
"name": "true-ms",
"version": "1.0.0",
"private": false,
"description": "A Millisecond conversion utility with true precision",
"keywords": [
"ms",
"milliseconds",
"conversion",
"time",
"duration",
"utility"
],
"homepage": "https://github.com/shahradelahi/true-ms",
"repository": "github:shahradelahi/true-ms",
"license": "MIT",
"author": "Shahrad Elahi <shahrad@litehex.com> (https://github.com/shahradelahi)",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"types": "dist",
"files": [
"dist",
"!dist/*.d.cts"
],
"scripts": {
"build": "tsup --clean --dts --format cjs,esm src/index.ts",
"clean": "git clean -xdf node_modules",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint && pnpm typecheck",
"prepublishOnly": "pnpm build && pnpm lint && pnpm test && pnpm format:check",
"test": "pnpm test-nodejs && pnpm test-edge",
"test-edge": "jest --env @edge-runtime/jest-environment",
"test-nodejs": "jest --env node",
"typecheck": "tsc --noEmit"
},
"prettier": "@shahrad/prettier-config",
"jest": {
"moduleNameMapper": {
"@/(.*)": "<rootDir>/src/$1"
},
"preset": "ts-jest",
"testEnvironment": "node"
},
"dependencies": {
"luxon": "^3.5.0"
},
"devDependencies": {
"@edge-runtime/jest-environment": "4.0.0",
"@shahrad/eslint-config": "1.0.0",
"@shahrad/prettier-config": "1.1.0",
"@sindresorhus/tsconfig": "^7.0.0",
"@types/jest": "29.5.14",
"@types/luxon": "^3.4.2",
"eslint": "^9.17.0",
"jest": "29.7.0",
"prettier": "3.4.2",
"ts-jest": "29.2.5",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"packageManager": "pnpm@9.14.4",
"publishConfig": {
"access": "public",
"provenance": true
}
}