-
Notifications
You must be signed in to change notification settings - Fork 124
/
package.json
70 lines (70 loc) · 2.25 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
{
"name": "spotlight.js",
"version": "0.7.8",
"description": "Modern HTML5 Image Gallery",
"homepage": "https://github.com/nextapps-de/spotlight/",
"author": "Thomas Wilkerling",
"copyright": "Nextapps GmbH",
"license": "Apache-2.0",
"keywords": [
"gallery",
"lightbox",
"photo-gallery",
"javascript-library",
"image-viewer",
"image-gallery",
"lightbox-gallery-plugin",
"gallery-plugin",
"gallery-extension",
"gallery-widget",
"lightbox-gallery",
"gallery-template",
"gallery-viewer",
"gallery-simple",
"lightbox-plugin"
],
"bugs": {
"url": "https://github.com/nextapps-de/spotlight/issues",
"email": "[email protected]"
},
"main": "src/js/spotlight.js",
"browser": "dist/spotlight.bundle.js",
"preferGlobal": false,
"repository": {
"type": "git",
"url": "https://github.com/nextapps-de/spotlight.git"
},
"scripts": {
"copy": "cpx \"src/img/*.*\" dist/img/",
"clean": "if exist dist rmdir dist /s /q && mkdir dist && if exist dist rmdir tmp /s /q && mkdir tmp",
"build:css": "lessc src/css/spotlight.less src/css/spotlight.css",
"build:css:bundle": "node task/bundle --image && lessc --autoprefix=\">=1%\" --csswring=\"--sourcemap --preserve-hacks\" --clean-css=\"--s1 --advanced --rebase\" tmp/bundle.less dist/css/spotlight.min.css && csso dist/css/spotlight.min.css --output dist/css/spotlight.min.css",
"build:js": "node task/build",
"build:bundle": "node task/build --bundle",
"build:svg": "node task/svgo",
"build": "npm run clean && npm run copy && npm run build:svg && npm run build:css && npm run build:css:bundle && node task/bundle --style && npm run build:js && npm run build:bundle && echo Build Complete. && exit 0",
"server": "node task/server.js"
},
"files": [
"dist/",
"src/",
"task/",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"readme": "README.md",
"devDependencies": {
"base64-img": "^1.0.4",
"cpx": "^1.5.0",
"csso": "^4.2.0",
"csso-cli": "^3.0.0",
"google-closure-compiler": "^20210406.0.0",
"less": "^4.1.1",
"less-plugin-autoprefix": "^2.0.0",
"less-plugin-clean-css": "^1.5.1",
"less-plugin-csswring": "^0.0.1",
"svgo": "^2.3.0",
"web-servo": "^0.5.1"
}
}