generated from un-ts/lib-boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 2.79 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "x-fetch",
"version": "0.2.3",
"type": "module",
"description": "A simple but elegant `fetch` API wrapper, use `fetch` like a charm",
"repository": "git+https://github.com/un-ts/x-fetch.git",
"author": "JounQin (https://www.1stG.me) <[email protected]>",
"funding": "https://opencollective.com/unts",
"license": "MIT",
"packageManager": "[email protected]",
"engines": {
"node": ">=14.0.0"
},
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"exports": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
},
"types": "./lib/index.d.ts",
"files": [
"lib",
"!**/*.tsbuildinfo"
],
"scripts": {
"build": "yarn test && concurrently -r 'yarn:build:*'",
"build:r": "r -f cjs",
"build:tsc": "tsc -p src",
"dev": "vitest",
"docs:build": "vite build docs --emptyOutDir",
"docs:dev": "vite docs",
"lint": "concurrently -r 'yarn:lint:*'",
"lint:es": "eslint . --cache -f friendly --max-warnings 10",
"lint:style": "stylelint . --cache",
"lint:tsc": "tsc --noEmit",
"prepare": "simple-git-hooks",
"release": "yarn build && yarn changeset publish",
"serve": "vite preview docs",
"test": "vitest run --coverage",
"typecov": "type-coverage",
"vercel-build": "yarn docs:build"
},
"dependencies": {
"tslib": "^2.6.2"
},
"devDependencies": {
"@1stg/app-config": "^10.0.1",
"@1stg/lib-config": "^13.0.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^18.4.4",
"@edge-runtime/vm": "^3.1.7",
"@mdx-js/rollup": "^3.0.0",
"@pkgr/rollup": "^5.0.0",
"@size-limit/preset-small-lib": "^11.0.2",
"@types/mdx": "^2.0.10",
"@types/node": "^20.11.5",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/web": "^0.0.135",
"@vitejs/plugin-react-swc": "^3.5.0",
"@vitest/coverage-istanbul": "^1.2.1",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"github-markdown-css": "^5.5.0",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.2",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.0",
"simple-git-hooks": "^2.9.0",
"size-limit": "^11.0.2",
"stylelint": "^16.1.0",
"type-coverage": "^2.27.1",
"typescript": "^5.3.3",
"unplugin-auto-import": "^0.17.3",
"vite": "^5.0.11",
"vitest": "^1.2.1"
},
"resolutions": {
"prettier": "^3.2.4"
},
"size-limit": [
{
"path": "lib/index.js",
"limit": "1KB"
}
],
"typeCoverage": {
"atLeast": 100,
"cache": true,
"detail": true,
"ignoreAsAssertion": true,
"ignoreNonNullAssertion": true,
"showRelativePath": true,
"strict": true,
"update": true
}
}