-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.67 KB
/
package.json
File metadata and controls
74 lines (74 loc) · 1.67 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": "fetch-fun",
"version": "0.4.0",
"description": "fetch functions",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
}
},
"sideEffects": false,
"scripts": {
"commit": "lint-staged && git-cz -n",
"build": "vite build && npm run build:types",
"build:types": "tsc -p tsconfig.build.json",
"dev": "vite",
"preview": "vite preview",
"coverage": "vitest run --coverage --coverage.reporter=lcov",
"lint": "eslint --fix src test",
"test": "vitest",
"start": "vitest watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wmzy/fetch-fun.git"
},
"keywords": [
"fetch",
"http"
],
"author": "wmzy",
"license": "MIT",
"bugs": {
"url": "https://github.com/wmzy/fetch-fun/issues"
},
"homepage": "https://github.com/wmzy/fetch-fun#readme",
"files": [
"dist",
"src"
],
"lint-staged": {
"*.js": [
"cross-env NODE_ENV=production eslint --fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@vitest/coverage-v8": "^4.0.18",
"commitizen": "^4.3.1",
"cross-env": "^10.1.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^10.0.3",
"husky": "^9.1.7",
"lint-staged": "^16.3.2",
"tools-config": "^0.2.3",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vitest": "^4.0.18"
}
}