-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.66 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.66 KB
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
{
"name": "duri",
"version": "1.1.0",
"description": "A tiny library for working with durations.",
"keywords": [],
"license": "MIT",
"type": "module",
"main": "./dist/commonjs/index.js",
"types": "./dist/commonjs/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"tshy": {
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tshy",
"clean": "rimraf dist",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run ./src --coverage",
"test:watch": "vitest",
"lint": "eslint .",
"lint:fix": "eslint ./src --fix",
"format": "prettier . -w",
"format:check": "prettier . -c",
"attw": "attw --pack .",
"ci": "npm run lint && npm run typecheck && npm run test && npm run format:check && npm run attw",
"prepublishOnly": "npm run ci && npm run build"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eslint/js": "^9.38.0",
"@types/node": "^24.9.1",
"@vitest/coverage-v8": "^4.0.1",
"eslint": "^9.38.0",
"eslint-plugin-perfectionist": "^4.15.1",
"eslint-plugin-unicorn": "^61.0.2",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"tshy": "^3.0.3",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.2",
"vitest": "^4.0.1"
},
"module": "./dist/esm/index.js"
}