generated from unjs/template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
90 lines (90 loc) · 2.21 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
{
"name": "sfc-composer",
"version": "0.8.2",
"description": "",
"repository": "tahul/sfc-composer",
"license": "MIT",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./vue": {
"types": "./vue.d.ts",
"import": "./dist/vue.mjs",
"require": "./dist/vue.cjs"
},
"./svelte": {
"types": "./svelte.d.ts",
"import": "./dist/svelte.mjs",
"require": "./dist/svelte.cjs"
},
"./astro": {
"types": "./astro.d.ts",
"import": "./dist/astro.mjs",
"require": "./dist/astro.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"vue.d.ts",
"svelte.d.ts",
"astro.d.ts"
],
"scripts": {
"build": "unbuild -c build.config.ts",
"stub": "unbuild -c build.config.ts --stub",
"play": "pnpm build && pnpm -r --filter=./playground run dev",
"play:build": "pnpm build && pnpm -r --filter=./playground run build",
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . --quiet",
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --fix --quiet",
"prepack": "pnpm run build",
"release": "release-it",
"test": "pnpm lint && vitest run --coverage",
"test:ui": "vitest --ui --open=false"
},
"dependencies": {
"magic-string": "^0.30.3"
},
"devDependencies": {
"@antfu/eslint-config": "^0.43.1",
"@astrojs/compiler": "^2.1.0",
"@vitest/coverage-c8": "^0.33.0",
"@vitest/coverage-v8": "^0.34.5",
"@vitest/ui": "^0.34.5",
"changelogen": "^0.5.5",
"eslint": "^8.50.0",
"release-it": "^16.2.1",
"svelte": "^4.2.1",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vite": "^4.4.9",
"vitest": "^0.34.5",
"vue": "^3.3.4"
},
"packageManager": "[email protected]",
"release-it": {
"hooks": {
"before:init": [
"pnpm build",
"pnpm test"
]
},
"npm": {
"access": "public"
},
"git": {
"commitMessage": "chore(release): release v${version}"
},
"github": {
"release": true,
"releaseName": "v${version}"
}
}
}