-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
88 lines (88 loc) · 2.74 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
{
"name": "v-code-diff",
"type": "module",
"version": "1.13.1",
"description": "template component for vue-demi, can dev and build",
"license": "MIT",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
}
},
"main": "dist/index.cjs",
"module": "dist/index.es.js",
"types": "./types/index.d.ts",
"files": [
"dist",
"scripts",
"src",
"types"
],
"scripts": {
"build": "npm run clean && run-s build:**",
"build:2": "vue-demi-switch 2 vue2 && pnpm --filter vue2-playground build",
"build:2:umd": "vue-demi-switch 2 vue2 && format=umd pnpm --filter vue2-playground build",
"build:2.7": "vue-demi-switch 2.7 vue2 && pnpm --filter vue2.7-playground build",
"build:2.7:umd": "vue-demi-switch 2.7 vue2 && format=umd pnpm --filter vue2.7-playground build",
"build:3": "vue-demi-switch 3 vue3 && pnpm --filter vue3-playground build",
"build:3:umd": "vue-demi-switch 3 vue3 && format=umd pnpm --filter vue3-playground build",
"clean": "rimraf ./dist",
"deploy:demo": "pnpm --filter demo gh-pages",
"dev:2": "vue-demi-switch 2 vue2 && pnpm --filter vue2-playground dev",
"dev:2.7": "vue-demi-switch 2.7 vue2 && pnpm --filter vue2.7-playground dev",
"dev:3": "vue-demi-switch 3 vue3 && pnpm --filter vue3-playground dev",
"dev:demo": "vue-demi-switch 3 vue3 && pnpm --filter demo dev",
"lint": "eslint .",
"lint:fix": "eslint . --ext .vue,.js,.jsx,.ts,.tsx,json --fix --ignore-path .gitignore",
"postinstall": "node scripts/postinstall.cjs",
"prepublishOnly": "npm run build",
"release": "bumpp --commit --no-push --tag && npm publish"
},
"peerDependencies": {
"@vue/composition-api": "^1.4.9",
"vue": "^2.6.0 || >=3.0.0"
},
"peerDependenciesMeta": {
"@vue/composition-api": {
"optional": true
}
},
"dependencies": {
"diff": "^5.2.0",
"diff-match-patch": "^1.0.5",
"highlight.js": "^11.10.0",
"vue-demi": "^0.14.6"
},
"devDependencies": {
"@antfu/eslint-config": "^2.4.5",
"@types/diff": "^5.2.2",
"@types/diff-match-patch": "^1.0.36",
"@types/node": "^18.11.18",
"@unocss/eslint-plugin": "^0.58.0",
"@vueuse/core": "^10.7.0",
"bumpp": "^8.2.1",
"eslint": "^8.55.0",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"sass": "^1.69.5",
"typescript": "~4.7.4",
"vite": "^5.4.2",
"vite-plugin-css-injected-by-js": "^2.4.0",
"vue": "^3.4.38",
"vue-i18n": "^9.14.0",
"vue-tsc": "^0.40.13",
"vue2": "npm:vue@2",
"vue3": "npm:vue@3"
},
"pnpm": {
"packageExtensions": {
"vue-template-compiler": {
"peerDependencies": {
"vue": "~2.6.14"
}
}
}
}
}