-
Notifications
You must be signed in to change notification settings - Fork 168
/
package.json
100 lines (100 loc) · 2.59 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
99
100
{
"name": "jquery-viewer",
"description": "A jQuery plugin wrapper for Viewer.js.",
"version": "1.0.1",
"main": "dist/jquery-viewer.common.js",
"module": "dist/jquery-viewer.esm.js",
"browser": "dist/jquery-viewer.js",
"files": [
"src",
"dist"
],
"scripts": {
"build": "rollup -c",
"clear": "del-cli dist",
"codecov": "cat coverage/lcov.info | codecov",
"compress": "uglifyjs dist/jquery-viewer.js -o dist/jquery-viewer.min.js -c -m --comments /^!/",
"lint": "eslint src test *.js --fix",
"release": "npm run clear && npm run lint && npm run build && npm run compress && npm test",
"start": "rollup -c -m -w",
"test": "karma start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fengyuanchen/jquery-viewer.git"
},
"keywords": [
"image",
"viewer",
"jquery",
"jquery-plugin"
],
"author": {
"name": "Chen Fengyuan",
"url": "https://chenfengyuan.com/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/fengyuanchen/jquery-viewer/issues"
},
"homepage": "https://fengyuanchen.github.io/jquery-viewer",
"devDependencies": {
"@babel/core": "^7.7.5",
"@babel/preset-env": "^7.7.6",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"babel-plugin-istanbul": "^5.2.0",
"chai": "^4.2.0",
"codecov": "^3.6.1",
"create-banner": "^1.0.0",
"viewerjs": "^1.4.0",
"del-cli": "^3.0.0",
"eslint": "^6.7.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.19.1",
"husky": "^3.1.0",
"jquery": "^3.4.1",
"lint-staged": "^9.5.0",
"karma": "^4.4.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup-preprocessor": "^7.0.2",
"mocha": "^6.2.2",
"puppeteer": "^2.0.0",
"rollup": "^1.27.12",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"uglify-js": "^3.7.2"
},
"peerDependencies": {
"viewerjs": ">=1.5.0",
"jquery": ">=1.9.1"
},
"browserslist": [
"last 2 versions",
"> 1%",
"not ie <= 8"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,test}/**/*.js|*.conf*.js": [
"eslint --fix",
"git add"
]
}
}