-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
87 lines (87 loc) · 2.33 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
{
"name": "image-viewer-vue2",
"version": "0.1.3",
"description": "移动端大图预览插件-Vue版",
"author": "WenQizuo",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/qqw78901/image-viewer-vue2.git"
},
"keywords": [
"vue",
"sfc",
"component"
],
"files": [
"src",
"dist",
"yarn.lock"
],
"main": "dist/image-viewer-vue2.umd.js",
"module": "dist/image-viewer-vue2.esm.js",
"unpkg": "dist/image-viewer-vue2.min.js",
"browser": {
"./sfc": "src/image-viewer-vue2.vue"
},
"scripts": {
"dev": "vue-styleguidist server",
"doc": "vue-styleguidist build",
"test": "exit 0",
"build": "npm run build:unpkg & npm run build:es & npm run build:umd & npm run doc",
"build:umd": "rollup --config build/rollup.config.js --format umd --file dist/image-viewer-vue2.umd.js",
"build:es": "rollup --config build/rollup.config.js --format es --file dist/image-viewer-vue2.esm.js",
"build:unpkg": "rollup --config build/rollup.config.js --format iife --file dist/image-viewer-vue2.min.js",
"precommit": "pretty-quick --staged"
},
"dependencies": {
"photoswipe": "^4.1.3"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@vue/test-utils": "^1.0.0-beta.16",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.5",
"file-loader": "^4.2.0",
"glob": "^7.1.3",
"husky": "^0.14.3",
"jest": "^23.1.0",
"minimist": "^1.2.0",
"prettier": "1.12.1",
"pretty-quick": "^1.4.1",
"rollup": "^1.9.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-vue": "^4.7.2",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"url-loader": "^2.1.0",
"vue": "^2.5.16",
"vue-jest": "^3.0.4",
"vue-loader": "^15.7.0",
"vue-styleguidist": "3.11.4",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.29.6"
},
"publishConfig": {
"access": "public"
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"transform": {
"^.+\\.js$": "./node_modules/babel-jest",
"^.+\\.vue$": "./node_modules/vue-jest"
}
},
"vue-sfc-cli": "1.4.0",
"engines": {
"node": ">= 4.0.0",
"npm": ">= 3.0.0"
}
}