forked from Hetari/vue-and-react-library-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.47 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
{
"name": "Library-Name",
"private": false,
"version": "0.0.0",
"type": "module",
"description": "A Template library for creating UI components in Vue and React.",
"author": {
"name": "Ebraheem Alhetari",
"email": "[email protected]",
"url": "https://github.com/hetari"
},
"license": "MIT",
"repository": {
"type": "git",
"url": ""
},
"homepage": "",
"bugs": {
"url": "https://github.com/hetari/vue-and-react-library-template/issues"
},
"keywords": [
"vue",
"react",
"library",
"template"
],
"exports": {
"./vue": {
"import": "./dist/vue/index.js",
"require": "./dist/vue/index.cjs.js",
"types": "./dist/vue/types/index.d.ts",
"default": "./dist/vue/index.umd.js"
},
"./react": {
"import": "./dist/react/index.js",
"require": "./dist/react/index.cjs.js",
"types": "./dist/react/types/index.d.ts",
"default": "./dist/react/index.umd.js"
}
},
"files": [
"dist",
"README.md",
"src/types/*.ts"
],
"typesVersions": {
"*": {
"vue": [
"./dist/vue/index.d.ts"
],
"react": [
"./dist/react/index.d.ts"
]
}
},
"scripts": {
"dev": "vite",
"preview": "vite preview",
"build:vue": "vite build --mode vue",
"build:react": "vite build --mode react",
"build": "npm run build:vue && npm run build:react",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags && sh -c 'gh release create $(git describe --tags) --generate-notes'",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags && sh -c 'gh release create $(git describe --tags) --generate-notes'",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags && sh -c 'gh release create $(git describe --tags) --generate-notes'"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@vitejs/plugin-react": "^4.3.3",
"@vitejs/plugin-vue": "^5.1.4",
"generate-changelog": "^1.8.0",
"typescript": "~5.6.2",
"vite": "^5.4.10",
"vite-plugin-dts": "^4.3.0"
},
"dependencies": {
"react": "^18.3.1",
"vue": "^3.5.12"
},
"publishConfig": {
"access": "public"
}
}