-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
83 lines (83 loc) · 2.49 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.1",
"type": "module",
"description": "A Template library for creating UI components in Vue and React.",
"author": {
"name": "Ebraheem Alhetari",
"email": "hetari4all@gmail.com",
"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": {
"types": "./src/vue/types/index.d.ts",
"import": "./src/vue/index.js",
"require": "./src/vue/index.cjs.js",
"default": "./src/vue/index.umd.js"
},
"./react": {
"types": "./src/react/types/index.d.ts",
"import": "./src/react/index.js",
"require": "./src/react/index.cjs.js",
"default": "./src/react/index.umd.js"
}
},
"files": [
"dist",
"README.md",
"src/types/*.ts"
],
"typesVersions": {
"*": {
"vue": [
"./src/vue/index.d.ts"
],
"react": [
"./src/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": "generate-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": "generate-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": "generate-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.10.1",
"@types/react": "^19.0.1",
"@vitejs/plugin-react": "^4.3.4",
"@vitejs/plugin-vue": "^5.2.1",
"generate-changelog": "^1.8.0",
"typescript": "~5.7.2",
"vite": "^6.0.3",
"vite-plugin-dts": "^4.3.0"
},
"dependencies": {
"react": "^19.0.0",
"vue": "^3.5.13"
},
"publishConfig": {
"access": "public"
}
}