/
package.json
79 lines (79 loc) · 2.1 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
{
"name": "lazy-js-utils",
"version": "0.0.92",
"packageManager": "pnpm@7.33.7",
"description": "js-tool",
"author": "Simon He",
"license": "MIT",
"repository": {
"type": "git",
"url": "git + git@github.com:Simon-He95/lazy-js-utils.git"
},
"bugs": {
"url": "https://github.com/Simon-He95/lazy-js-utils/issues"
},
"keywords": [
"lazy-js-utils",
"utils"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup ./src/*.ts ./src/worker/*.ts --clean",
"build-fast": "npm run build -- --no-dts",
"dev": "npm run build-fast -- --watch",
"play": "pnpm run -C playground dev",
"play:build": "pnpm run -C playground build",
"preview": "pnpm run -C playground preview",
"serve": "pnpm run -C playground serve",
"format": "prettier --write --cache .",
"lint": "eslint . --cache",
"lint:fix": "pnpm run lint --fix",
"typecheck": "vue-tsc --noEmit",
"test": "vitest -u",
"test:e2e": "cypress open",
"prepublishOnly": "nr build",
"release": "bumpp --commit --tag --push && pnpm publish"
},
"peerDependencies": {
"vue": "^3.2.41"
},
"dependencies": {
"htmlparser2": "^8.0.2",
"lazy-js-utils": "workspace:^",
"qrcode": "^1.5.3",
"spark-md5": "^3.0.2"
},
"devDependencies": {
"@antfu/eslint-config": "^2.15.0",
"@types/node": "^17.0.45",
"@types/qrcode": "^1.5.5",
"@types/spark-md5": "^3.0.4",
"@vitejs/plugin-vue": "^2.3.4",
"bumpp": "^8.2.1",
"eslint": "9.1.1",
"happy-dom": "^8.9.0",
"lint-staged": "^13.3.0",
"p-limit": "^4.0.0",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.11.1",
"tsup": "^6.7.0",
"tsx": "^3.14.0",
"typescript": "^4.9.5",
"vitest": "^0.28.5"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged --concurrent false",
"commit-msg": "pnpm exec tsx scripts/verifyCommit.ts $1"
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
],
"*.{vue,js,ts,jsx,tsx,md,json}": "eslint --fix"
}
}