-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.05 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
{
"name": "vue-component-package-example",
"version": "1.0.10W",
"dependencies": {
"vue": "^3.2.45"
},
"type": "module",
"description": "An example of a vue component as an npm package",
"files": [
"dist"
],
"main": "./dist/my-component.umd.cjs",
"module": "./dist/my-component.js",
"exports": {
".": {
"import": "./dist/my-component.js",
"require": "./dist/my-component.umd.js"
},
"./dist/style.css": "./dist/style.css"
},
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"devDependencies": {
"vue": "^3.0.0",
"@rushstack/eslint-patch": "^1.1.4",
"@vitejs/plugin-vue": "^4.0.0",
"@vitejs/plugin-vue-jsx": "^3.0.0",
"@vue/eslint-config-prettier": "^7.0.0",
"eslint": "^8.22.0",
"eslint-plugin-vue": "^9.3.0",
"prettier": "^2.7.1",
"vite": "^4.0.0"
},
"author": "Ingrid-Regina Vähi",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/IngridRegina/vue-component-package-example.git"
}
}