-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
55 lines (55 loc) · 2.16 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
{
"name": "jquery-images-compare",
"version": "0.2.5",
"description": "A jquery plugin for comparing two images",
"keywords": [
"jquery",
"plugin",
"image",
"compare",
"comparison",
"before",
"after"
],
"main": "build/jquery.images-compare.js",
"repository": {
"type": "git",
"url": "git+https://github.com/sylvaincombes/jquery-images-compare.git"
},
"bugs": {
"url": "https://github.com/sylvaincombes/jquery-images-compare/issues"
},
"dependencies": {
"hammerjs": "^2.0.8",
"jquery": "^3.3.1"
},
"devDependencies": {
"copy-cli": "^1.2.1",
"csslint": "^1.0.5",
"jshint": "^2.9.7",
"node-qunit-phantomjs": "^2.1.0",
"qunit": "^2.8.0",
"uglify-js": "^3.4.9"
},
"scripts": {
"lint:js": "jshint src/assets/js/*.js",
"copy:js": "copy ./src/assets/js/jquery.images-compare.js > ./build/jquery.images-compare.js",
"copy:hammerjs": "copy node_modules/hammerjs/hammer.min.js > build/hammer.min.js; copy node_modules/hammerjs/hammer.min.js.map > build/hammer.min.js.map; copy node_modules/hammerjs/hammer.js > build/hammer.js",
"minify:js": "uglifyjs ./src/assets/js/jquery.images-compare.js --compress --mangle --source-map \"filename='./build/jquery.images-compare.min.map'\" -o ./build/jquery.images-compare.min.js",
"lint:css": "csslint src/assets/css/*.css",
"copy:css": "copy ./src/assets/css/images-compare.css > ./build/images-compare.css",
"minify:css": "copy --minify=css ./src/assets/css/images-compare.css > ./build/images-compare.min.css",
"build": "npm run lint && npm run copy && npm run minify",
"lint": "npm run lint:js && npm run lint:css",
"copy": "npm run copy:js && npm run copy:css",
"minify": "npm run minify:js && npm run minify:css",
"test": "node_modules/node-qunit-phantomjs/bin/node-qunit-phantomjs ./src/tests/test.html"
},
"author": "Sylvain Combes <[email protected]> (http://www.sylvaincombes.com)",
"contributors": [
"Audrey Soulagnet <[email protected]> (http://drey.io)",
"Céline Skowron <[email protected]> (http://celine-skowron.fr)",
"Iván Pérez (https://github.com/Ivan-Perez)"
],
"license": "MIT"
}