-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
91 lines (91 loc) · 2.62 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
88
89
90
91
{
"name": "photoviewer",
"version": "3.10.3",
"description": "A JS plugin to view images just like in Windows.",
"main": "src/js/photoviewer.js",
"types": "types/index.d.ts",
"files": [
"dist",
"src",
"types",
"_index.scss"
],
"keywords": [
"photoviewer",
"lightbox",
"image-gallery",
"image-viewer",
"responsive",
"modal",
"draggable",
"resizable",
"movable",
"zoomable",
"rotatable",
"mousewheel",
"fullscreen",
"hotkeys"
],
"directories": {
"doc": "docs",
"example": "examples"
},
"author": "nzbin",
"license": "MIT",
"homepage": "https://nzbin.github.io/photoviewer/",
"repository": {
"type": "git",
"url": "git+https://github.com/nzbin/photoviewer.git"
},
"bugs": {
"url": "https://github.com/nzbin/photoviewer/issues"
},
"scripts": {
"sass": "sass --style=expanded src/scss/photoviewer.scss dist/photoviewer.css",
"sassmin": "sass --style=compressed src/scss/photoviewer.scss dist/photoviewer.min.css",
"postcss": "postcss -r dist/*.css",
"build": "run-s build:css build:js",
"build:css": "run-s sass",
"build:js": "rollup -c",
"compress": "run-s compress:css compress:js",
"compress:css": "run-s sassmin",
"compress:js": "uglifyjs dist/photoviewer.js -o dist/photoviewer.min.js -c -m --comments /^!/",
"copy": "run-s copy:css copy:js",
"copy:css": "cp dist/photoviewer.css docs/css",
"copy:js": "cp dist/photoviewer.js docs/js",
"release": "run-s clean build compress postcss 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 \"src/**/*.scss\" --fix",
"lint:js": "eslint src/js --fix",
"clean": "rimraf dist",
"watch": "onchange src -- run-p build:js build:css",
"prepublishOnly": "npm run release"
},
"dependencies": {
"domq.js": "^0.7.0"
},
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.22.9",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"autoprefixer": "^10.4.14",
"eslint": "^8.45.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.4.27",
"postcss-cli": "^10.1.0",
"postcss-header": "^3.0.3",
"rimraf": "^5.0.0",
"rollup": "^2.73.0",
"sass": "^1.64.0",
"stylelint": "^14.16.0",
"stylelint-config-recommended-scss": "^8.0.0",
"stylelint-config-standard": "^29.0.0",
"uglify-js": "^3.17.4"
}
}