-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.02 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.02 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
66
67
68
69
70
71
72
73
74
{
"name": "@fewbadboy/validator",
"version": "1.0.8",
"description": "A library of data validators",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "./types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./types/index.d.ts"
}
},
"files": [
"dist",
"types"
],
"scripts": {
"prepare": "husky",
"build": "npm run build:esm && tsc-alias -p tsconfig.esm.json && npm run build:cjs && tsc-alias -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"clean": "rimraf dist types && tsc --build --clean",
"test": "jest",
"eslint": "eslint --fix **/*.{js,ts}",
"prettier": "prettier --write --ignore-unknown **/*.{js,ts}"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fewbadboy/validator.git"
},
"keywords": [
"validators",
"typescript"
],
"author": "fewbadboy <renekton.king@qq.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/fewbadboy/validator/issues",
"email": "renekton.king@qq.com"
},
"homepage": "https://github.com/fewbadboy/validator",
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.3",
"@babel/preset-env": "^7.28.3",
"@babel/preset-typescript": "^7.27.1",
"@babel/register": "^7.28.3",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@commitlint/prompt-cli": "^19.8.1",
"@eslint/js": "^9.34.0",
"@jest/globals": "^30.1.2",
"@types/jest": "^30.0.0",
"babel-jest": "^30.1.2",
"eslint": "^9.34.0",
"eslint-config-prettier": "^10.1.8",
"globals": "^16.3.0",
"husky": "^9.1.7",
"jest": "^30.1.2",
"lint-staged": "^16.1.5",
"prettier": "3.6.2",
"rimraf": "^6.0.1",
"tsc-alias": "^1.8.16",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0"
},
"engines": {
"node": ">=22.17.0"
},
"overrides": {}
}