-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
/
package.json
66 lines (66 loc) · 1.94 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
{
"name": "photoswipe",
"version": "5.2.0-beta.5",
"main": "dist/photoswipe.esm.js",
"style": "dist/photoswipe.css",
"type": "module",
"exports": {
".": "./dist/photoswipe.esm.js",
"./lightbox": "./dist/photoswipe-lightbox.esm.js"
},
"files": [
"dist",
"src",
"README.md"
],
"engines": {
"node": ">= 0.12.0"
},
"scripts": {
"build": "npm run build-and-minify-js && npm run build-css && npm run copy-to-dist",
"watch": "concurrently \"npm:watch-js\" \"npm:watch-css\" \"npm:watch-docs\"",
"build-and-minify-js": "rollup --config build/rollup.config.js",
"watch-js": "rollup --config build/rollup.config.watch.js --watch",
"build-css": "copyfiles -f src/*.css dist/ && copyfiles -f src/*.css demo-docs-website/static/photoswipe/",
"watch-css": "chokidar \"src/*.css\" --command \"npm run build-css\"",
"watch-docs": "cd demo-docs-website/ && npm start",
"copy-to-dist": "copyfiles -f demo-docs-website/static/photoswipe/* dist/",
"lint": "eslint src/js/**/*.js",
"lint-auto-fix": "eslint src/js/**/*.js --fix",
"test": "npm run lint"
},
"devDependencies": {
"@babel/core": "^7.13.16",
"@babel/eslint-parser": "^7.13.14",
"chokidar-cli": "^3.0.0",
"concurrently": "^6.0.2",
"copyfiles": "^2.4.1",
"eslint": "^7.25.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-import": "^2.22.1",
"rollup": "^2.46.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-terser": "^7.0.2"
},
"repository": {
"type": "git",
"url": "git://github.com/dimsemenov/Photoswipe.git"
},
"description": "JavaScript gallery",
"bugs": {
"url": "https://github.com/dimsemenov/Photoswipe/issues"
},
"homepage": "https://photoswipe.com",
"keywords": [
"gallery",
"lightbox",
"photo",
"image",
"touch",
"swipe",
"zoom"
],
"author": "Dmytro Semenov (https://dimsemenov.com)",
"license": "MIT",
"dependencies": {}
}