/
package.json
103 lines (103 loc) · 2.7 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
103
{
"name": "lib-boilerplate",
"version": "0.0.2",
"type": "module",
"description": "A simple library boilerplate.",
"repository": "git+https://github.com/un-ts/lib-boilerplate.git",
"author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
"funding": "https://opencollective.com/unts",
"license": "MIT",
"packageManager": "pnpm@7.11.0",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
},
"exports": "./src/index.ts",
"files": [
"lib",
"!**/*.tsbuildinfo"
],
"scripts": {
"build": "run-p build:*",
"build:r": "r -f cjs",
"build:tsc": "tsc -p src",
"codesandbox:install": "yarn",
"dev": "vitest",
"docs:build": "w -e docs -p --publicPath /",
"docs:dev": "w -e docs",
"lint": "run-p lint:*",
"lint:es": "eslint . --cache -f friendly --max-warnings 10",
"lint:style": "stylelint . --cache",
"lint:tsc": "tsc --noEmit",
"postversion": "pnpm i --no-frozen-lockfile",
"prepare": "simple-git-hooks",
"prerelease": "pnpm build",
"release": "changeset publish",
"serve": "sirv dist -s",
"test": "vitest run --coverage",
"typecov": "type-coverage",
"vercel-build": "pnpm docs:build",
"version": "changeset version"
},
"dependencies": {
"tslib": "^2.4.0"
},
"devDependencies": {
"@1stg/app-config": "^7.2.1",
"@1stg/lib-config": "^10.2.1",
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.4",
"@pkgr/webpack": "^3.4.0",
"@pkgr/webpack-mdx": "^2.2.0",
"@size-limit/preset-small-lib": "^8.1.0",
"@types/mdx": "^2.0.2",
"@types/node": "^18.7.16",
"@types/react": "^18.0.19",
"@types/react-dom": "^18.0.6",
"@types/web": "^0.0.72",
"@vitest/coverage-istanbul": "^0.23.2",
"github-markdown-css": "^5.1.0",
"lib-boilerplate": "link:.",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"sirv-cli": "^2.0.2",
"size-limit": "^8.1.0",
"type-coverage": "^2.22.0",
"typescript": "~4.7.4",
"unplugin-auto-import": "^0.11.2",
"vitest": "^0.23.2"
},
"resolutions": {
"typescript": "~4.7.4"
},
"publishConfig": {
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"exports": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib/index.cjs"
},
"types": "./lib/index.d.ts"
},
"pnpm": {
"overrides": {
"typescript": "~4.7.4"
}
},
"size-limit": [
{
"path": "lib/index.js"
}
],
"typeCoverage": {
"atLeast": 100,
"cache": true,
"detail": true,
"ignoreAsAssertion": true,
"ignoreNonNullAssertion": true,
"showRelativePath": true,
"strict": true,
"update": true
}
}