generated from sachinraja/ts-lib-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
116 lines (116 loc) · 2.9 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
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "slimeform",
"type": "module",
"version": "0.10.0",
"packageManager": "[email protected]",
"description": "Form state management and validation for Vue3",
"author": {
"name": "Ayaka Rizumu",
"url": "https://github.com/LittleSound"
},
"keywords": [
"vue3",
"form",
"utilities-library",
"vue3-typescript"
],
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
},
"./resolvers": {
"types": "./dist/resolvers.d.ts",
"import": "./dist/resolvers.js",
"default": "./dist/resolvers.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"resolvers.d.ts"
],
"scripts": {
"dev": "run-p dev:*",
"dev:tsup": "tsup --watch",
"dev:example": "vite example",
"build": "run-p build:tsup && run-p build:example",
"build:tsup": "tsup",
"build:example": "vite build example",
"preview": "vite preview example --port 8080",
"format": "eslint . --fix",
"lint": "run-p lint:*",
"lint:example": "eslint ./example",
"lint:format": "eslint .",
"lint:types": "run-p typecheck",
"lint:markdown": "markdownlint -c .markdownlint.jsonc **/*.md",
"typecheck": "tsc",
"prepare": "husky install",
"prepublishOnly": "pnpm build",
"clear": "rm -rf dist example/dist",
"test": "vitest"
},
"peerDependencies": {
"vue": ">=3"
},
"devDependencies": {
"@antfu/eslint-config": "^2.6.4",
"@iconify-json/carbon": "^1.1.29",
"@iconify-json/noto-v1": "^1.1.11",
"@types/jsdom": "^16.2.15",
"@types/node": "20.11.19",
"@unocss/eslint-plugin": "^0.58.5",
"@unocss/reset": "^0.34.1",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/test-utils": "2.4.4",
"@vue/tsconfig": "^0.5.1",
"@vueuse/core": "^10.7.2",
"@vueuse/shared": "^10.7.2",
"eslint": "8.56.0",
"husky": "7.0.4",
"jsdom": "^19.0.0",
"markdownlint-cli": "^0.31.1",
"nano-staged": "0.8.0",
"npm-run-all": "4.1.5",
"pnpm": "^8.15.3",
"tsup": "8.0.2",
"typescript": "5.3.3",
"unocss": "^0.58.5",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.1.3",
"vite-plugin-pages": "^0.32.0",
"vitest": "^1.3.0",
"vue": "^3.4.19",
"vue-tsc": "^1.8.27",
"yup": "^1.3.3"
},
"eslintConfig": {
"extends": "@antfu"
},
"nano-staged": {
"*.{js,ts,md,json,yaml}": "eslint . --fix",
"*.{md}": "markdownlint -c .markdownlint.jsonc **/*.md"
},
"tsup": {
"entry": {
"index": "src/index.ts",
"resolvers": "packages/resolvers/index.ts"
},
"format": [
"esm",
"cjs"
],
"dts": {
"resolve": true
},
"splitting": true,
"clean": true
}
}