-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.27 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
{
"name": "v-keep-scroll",
"description": "Keep the scroll position for elements under keep-alive between activated and deactivated",
"repository": "https://github.com/ehehaye/v-keep-scroll.git",
"homepage": "https://codepen.io/ehehaye/pen/oNRNMzR",
"keywords": [
"vue",
"directive",
"keep-alive"
],
"author": "hongxin.tang@hotmail.com",
"license": "MIT",
"version": "0.0.15",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"browser": "./dist/index.iife.js",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"./dist/": {
"import": "./dist/",
"require": "./dist/"
},
"./types": {
"require": "./dist/global.d.ts",
"import": "./dist/global.d.ts"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"dev": "vite --host",
"build": "rimraf build/**/* && tsc && vite build && pnpm dts && pnpm copy",
"dts": "dts-bundle-generator --config ./dts.config.ts && copyfiles --up 1 ./types/global.d.ts build/dist",
"copy": "copyfiles ./package.json *.md build",
"test": "vitest",
"test:coverage": "vitest --coverage",
"lint": "eslint . --ext .ts,.vue",
"uninstall-husky": "pnpm uninstall husky --no-save && git config --unset core.hooksPath && pnpx rimraf .husky",
"pub": "pnpm build && cd build && pnpm publish",
"push": "git push && git push --tags && pnpm pub"
},
"dependencies": {
"@vueuse/core": "^10.9.0"
},
"peerDependencies": {
"@vue/composition-api": "^1.0.0-rc.1",
"vue": "^3.0.0"
},
"devDependencies": {
"@types/jsdom": "^21.1.6",
"@types/node": "^20.11.5",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vitest/coverage-v8": "^1.2.1",
"@vue/composition-api": "^1.7.2",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"copyfiles": "^2.4.1",
"dts-bundle-generator": "^9.2.4",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.25.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vitest": "^1.2.1",
"vue": "^3.0.0"
}
}