-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
package.json
74 lines (74 loc) · 2.44 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
{
"name": "jquery.magnify",
"version": "1.6.3",
"description": "A jQuery plugin to view images just like in Windows",
"main": "dist/jquery.magnify.js",
"files": [
"dist",
"src"
],
"homepage": "https://github.com/nzbin/magnify#readme",
"author": "nzbin",
"license": "MIT",
"directories": {
"doc": "docs",
"example": "examples"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nzbin/magnify.git"
},
"keywords": [
"magnify",
"lightbox",
"responsive",
"jquery",
"modal",
"draggable",
"resizable",
"zoomable",
"image-gallery",
"photoviewer"
],
"bugs": {
"url": "https://github.com/nzbin/magnify/issues"
},
"scripts": {
"sass": "node-sass --output-style expanded src/sass/magnify.scss dist/jquery.magnify.css",
"sassmin": "node-sass --output-style compressed src/sass/magnify.scss dist/jquery.magnify.min.css",
"autoprefixer": "postcss -u autoprefixer --no-map --autoprefixer.browsers \"last 1 versions\" -r dist/*.css",
"build": "run-s build:css build:js",
"build:css": "run-s sass",
"build:js": "concat -o dist/jquery.magnify.js src/js/intro.js src/js/utilities.js src/js/core.js src/js/draggable.js src/js/movable.js src/js/resizable.js src/js/outro.js src/js/rotate.js",
"compress": "run-s compress:css compress:js",
"compress:css": "run-s sassmin",
"compress:js": "uglifyjs dist/jquery.magnify.js -o dist/jquery.magnify.min.js -c -m --comments /^!/",
"copy": "run-s copy:css copy:js",
"copy:css": "cp dist/jquery.magnify.css docs/css",
"copy:js": "cp dist/jquery.magnify.js docs/js",
"release": "run-s clean build compress autoprefixer copy",
"release:css": "run-s build:css compress:css",
"release:js": "run-s build:js compress:js",
"lint": "run-s lint:css lint:js",
"lint:css": "stylelint --syntax scss \"src/**/*.scss\" --fix",
"lint:js": "eslint src/js --fix",
"clean": "rimraf dist",
"watch": "onchange src -- run-p build:js build:css"
},
"devDependencies": {
"autoprefixer": "^10.4.2",
"concat": "^1.0.3",
"eslint": "^8.6.0",
"node-sass": "^7.0.1",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.4.5",
"postcss-cli": "^9.1.0",
"rimraf": "^3.0.2",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.3.0",
"stylelint-config-standard": "^21.0.0",
"stylelint-scss": "^3.21.0",
"uglify-js": "^3.14.5"
}
}