-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.json
69 lines (69 loc) · 1.55 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
{
"name": "pdf-preview",
"version": "0.9.7",
"description": "移动端pdf预览组件,基于pdf.js",
"keywords": [
"pdf-preiview",
"pdf预览",
"vue pdf预览"
],
"author": "Lushenggang <lushg-tcxg@qq.com>",
"repository": {
"type": "git",
"url": "https://github.com/Lushenggang/pdf-preview.git"
},
"private": false,
"files": [
"dist"
],
"main": "dist/pdf-preview.common.js",
"unpkg": "dist/pdf-preview.min.js",
"module": "dist/pdf-preview.esm.js",
"license": "MIT",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"build-bundle": "vue-cli-service build --target lib --name pdf-preview ./src/index.js",
"prepublishOnly": "git push && yarn build-bundle"
},
"dependencies": {
"pdfjs-dist": "^2.0.943",
"vue": "^2.6.6"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.1",
"@vue/cli-plugin-eslint": "^3.0.1",
"@vue/cli-service": "^3.0.1",
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"vue-template-compiler": "^2.5.21"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"rules": {},
"parserOptions": {
"parser": "babel-eslint"
}
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
]
}