-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
98 lines (98 loc) · 2.61 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
{
"name": "lazy-js-utils",
"version": "0.1.26",
"packageManager": "[email protected]",
"description": "A collection of lazy-loaded JavaScript utilities for efficient development",
"author": "Simon He",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Simon-He95/lazy-js-utils.git"
},
"bugs": {
"url": "https://github.com/Simon-He95/lazy-js-utils/issues"
},
"keywords": [
"lazy-js-utils",
"utils",
"javascript",
"lazy-loading",
"development-tools",
"js-utilities",
"performance"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./dist/node": {
"import": "./dist/node/index.mjs",
"require": "./dist/node/index.js"
},
"./dist/vite": {
"import": "./dist/vite/index.mjs",
"require": "./dist/vite/index.js"
},
"./dist/webComponents": {
"import": "./dist/webComponents/index.mjs",
"require": "./dist/webComponents/index.js"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"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"
},
"dependencies": {
"htmlparser2": "^8.0.2",
"lazy-js-utils": "workspace:^",
"qrcode": "^1.5.4",
"spark-md5": "^3.0.2"
},
"devDependencies": {
"@antfu/eslint-config": "^2.27.3",
"@types/node": "^17.0.45",
"@types/qrcode": "^1.5.5",
"@types/spark-md5": "^3.0.5",
"@vitejs/plugin-vue": "^2.3.4",
"bumpp": "^8.2.1",
"eslint": "9.1.1",
"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"
}
}