forked from dimsemenov/PhotoSwipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.72 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
{
"name": "photoswipe",
"version": "5.2.8",
"main": "dist/photoswipe.esm.js",
"style": "dist/photoswipe.css",
"type": "module",
"types": "./dist/types/photoswipe.d.ts",
"exports": {
".": {
"types": "./dist/types/photoswipe.d.ts",
"import": "./dist/photoswipe.esm.js"
},
"./lightbox": {
"types": "./dist/types/lightbox/lightbox.d.ts",
"import": "./dist/photoswipe-lightbox.esm.js"
},
"./dist/photoswipe.css": "./dist/photoswipe.css",
"./photoswipe.css": "./dist/photoswipe.css",
"./style.css": "./dist/photoswipe.css"
},
"typesVersions": {
"<4.7": {
"lightbox": [
"dist/types/lightbox/lightbox.d.ts"
]
}
},
"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\"",
"watch-local": "concurrently \"npm:watch-js\" \"npm:watch-css\" \"npm:watch-docs-local\"",
"build-and-minify-js": "rollup --config build/rollup.config.js && npm run tsc",
"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",
"watch-docs-local": "cd demo-docs-website/ && npm start -- --host 192.168.1.120",
"copy-to-dist": "copyfiles -f demo-docs-website/static/photoswipe/* dist/ && copyfiles -f demo-docs-website/static/photoswipe/umd/* dist/umd/",
"lint": "eslint src/js/**/*.js",
"lint-auto-fix": "eslint src/js/**/*.js --fix",
"test": "npm run lint",
"tsc": "tsc"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-syntax-class-properties": "^7.12.13",
"chokidar-cli": "^3.0.0",
"concurrently": "^6.0.2",
"copyfiles": "^2.4.1",
"eslint": "^8.16.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"rollup": "^2.46.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.7.3"
},
"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"
}