-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
117 lines (117 loc) · 3.16 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
117
{
"name": "vue-default-page",
"version": "1.1.0",
"description": "A Vue 3.0 custom directives plugin",
"keywords": [
"vue",
"directives",
"v-loading",
"requests"
],
"author": "Zerone",
"license": "MIT",
"bugs": {
"url": "https://github.com/zero-one-code/vue-default-page/issues"
},
"homepage": "https://github.com/zero-one-code/vue-default-page#readme",
"repository": {
"type": "git",
"url": "https://github.com/zero-one-code/vue-default-page.git"
},
"type": "module",
"files": [
"dist",
"web-components"
],
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"style": "dist/index.css",
"exports": {
"./web-components": {
"import": "./dist/web-components/index.js",
"require": "./dist/web-components/index.cjs",
"types": "./dist/web-components/index.d.ts"
},
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./index.css": "./dist/index.css"
},
"sideEffects": [
"**/*.css"
],
"scripts": {
"dev": "vite -c=./config/vite.config.base.ts",
"build": "run-s build:core build:ce type-check",
"test": "cypress run --component && vitest run",
"test:snap": "vitest",
"test:dev": "cypress open --component",
"build:core": "vite build -c=./config/vite.config.core.ts",
"build:ce": "vite build -c=./config/vite.config.ce.ts",
"type-check": "vue-tsc -p tsconfig.build.json",
"lint": "eslint \"**/*.{js,ts,jsx,tsx,vue}\" --fix",
"format": "prettier \"**/*.{js,ts,jsx,tsx,vue,css,less}\" --write",
"lint:css": "stylelint \"**/*.{vue,css,less}\" --fix",
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"eslint",
"prettier --check"
],
"*.vue": [
"eslint",
"prettier --check",
"stylelint"
],
"*.{css,less}": [
"prettier --check",
"stylelint"
]
},
"packageManager": "[email protected]",
"peerDependencies": {
"vue": "*"
},
"dependencies": {
"lodash": "^4.17.21"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@rushstack/eslint-patch": "^1.3.3",
"@tsconfig/node18": "^18.2.2",
"@types/jsdom": "^21.1.6",
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.3",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^12.0.0",
"@vue/test-utils": "^2.4.3",
"@vue/tsconfig": "^0.5.0",
"cypress": "^13.6.1",
"eslint": "^8.56.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-vue": "^9.17.0",
"husky": "^9.0.10",
"jsdom": "^24.1.0",
"less": "^4.2.0",
"lint-staged": "^15.2.2",
"npm-run-all2": "^6.1.1",
"postcss-html": "^1.6.0",
"prettier": "^3.0.3",
"stylelint": "^16.2.1",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-less": "^3.0.1",
"typescript": "~5.3.0",
"vite": "^5.0.10",
"vite-plugin-lib-inject-css": "^2.1.1",
"vitest": "^1.6.0",
"vue": "^3.3.0",
"vue-tsc": "^1.8.25"
}
}