-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.54 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
{
"name": "utility-guards",
"version": "2.2.4",
"description": "Utils for runtime and static type checking in JS and TS",
"homepage": "https://github.com/Resetand/utility-guards",
"author": "Resetand",
"license": "MIT",
"keywords": [
"guard",
"typescript",
"types",
"is",
"ts-guard",
"utility-guards",
"is-what",
"core-util-is",
"lodash",
"type-safe",
"type-check",
"validator",
"type-guards",
"joi",
"schema"
],
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts",
"files": [
"README.md",
"*.{js,mjs,d.ts,d.mts}"
],
"scripts": {
"lint": "eslint --max-warnings=0 --ext=ts,tsx . --fix ",
"build": "tsup",
"test": "vitest run --typecheck",
"test:coverage": "npm run test -- --coverage",
"prepare": "husky install",
"pack": "npm run lint && npm run test && npm run build && node scripts/pack.js",
"prepublish": "npm run pack",
"publish": "npm publish $(ls utility-guards-*.tgz) --access public",
"postpublish": "rm utility-guards-*.tgz"
},
"devDependencies": {
"@babel/preset-typescript": "7.23.3",
"@swc/core": "1.3.96",
"@types/node": "20.9.0",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"@vitest/coverage-v8": "0.34.6",
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",
"glob": "^10.3.10",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"lodash.groupby": "^4.6.0",
"tsup": "7.2.0",
"typescript": "5.2.2",
"vitest": "1.3.1"
}
}