-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
111 lines (111 loc) · 2.82 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
{
"name": "simple-worker-timer",
"version": "1.0.8",
"sideEffects": false,
"description": "一个基于web worker的翻牌计时器",
"engines": {
"node": ">=22.0.0",
"pnpm": ">=9.0.0"
},
"keywords": [
"worker",
"timer",
"typescript",
"vue3",
"vite",
"tsx"
],
"homepage": "https://github.com/Ten-K/simple-worker-timer/tree/main/#readme",
"bugs": {
"url": "https://github.com/Ten-K/simple-worker-timer/issues"
},
"license": "MIT",
"author": "Ten-K",
"repository": {
"type": "git",
"url": "https://github.com/Ten-K/simple-worker-timer"
},
"main": "dist/index.umd.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"unpkg": "dist/index.umd.js",
"jsdelivr": "dist/index.umd.js",
"exports": {
".": {
"require": "./dist/index.umd.js",
"import": "./dist/index.es.js"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"web-norm": "web-norm",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"prepare": "husky install",
"pre-commit": "lint-staged",
"postinstallmac": "git config core.hooksPath .husky && chmod 700 .husky/*",
"eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,js,tsx}\" --fix",
"commit": "pnpm test && git add . && git-cz",
"test": "vitest"
},
"dependencies": {
"vue": "^3.4.27"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-angular": "^17.8.1",
"@commitlint/cz-commitlint": "^17.8.1",
"@rollup/plugin-terser": "^0.1.0",
"@types/node": "^18.19.33",
"@typescript-eslint/parser": "^5.62.0",
"@vitejs/plugin-vue": "^4.6.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/test-utils": "^2.4.6",
"autoprefixer": "^10.4.19",
"commitizen": "^4.3.0",
"cssnano": "^5.1.15",
"cz-customizable": "^6.9.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.10.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.26.0",
"husky": "^8.0.3",
"inquirer": "^8.2.6",
"jsdom": "^20.0.3",
"lint-staged": "^12.5.0",
"postcss": "^8.4.38",
"prettier": "^2.8.8",
"resize-observer-polyfill": "^1.5.1",
"typescript": "^4.9.5",
"vite": "^5.2.12",
"vite-plugin-dts": "^1.7.3",
"vite-plugin-libfile": "^1.0.2",
"vitest": "^0.25.8",
"vue-tsc": "^0.39.5",
"web-norm": "^1.1.8"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"rollup",
"webpack"
]
}
},
"lint-staged": {
"*.{js,ts,vue,jsx,tsx}": [
"npm run eslint"
],
"*.{js,jsx,ts,tsx,md,html,css,lees,scss,sass}": "prettier --write"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
}
}