forked from jonnitto/Jonnitto.PhotoSwipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
27 lines (27 loc) · 1.51 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
{
"name": "NeosPhotoSwipe",
"description": "Dependencies for PhotoSwipe",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/jonnitto/Jonnitto.PhotoSwipe.git"
},
"devDependencies": {
"browserify": "16.2.2",
"cssnano-cli": "latest",
"node-sass": "4.9.2",
"photoswipe": "https://github.com/jonnitto/PhotoSwipe.git",
"uglify-js": "^3.4.4",
"uglifyify": "5.0.1"
},
"scripts": {
"build:assets": "rsync -av node_modules/photoswipe/dist/default-skin/* Resources/Public/ --exclude *.css",
"build:js": "browserify Resources/Private/Assets/Main.js | uglifyjs --mangle --compress > Resources/Public/Main.js",
"build:rawjs": "browserify Resources/Private/Javascripts/Main.js -o Resources/Public/Main.js",
"build:dark": "node-sass --include-path node_modules/photoswipe/src/css Resources/Private/Assets/Dark.scss Resources/Public/Dark.css | cssnano Resources/Public/Dark.css Resources/Public/Dark.css --autoprefixer.add true --autoprefixer.browsers: '> 1%' --no-zindex --discardComments.removeAll true",
"build:light": "node-sass --include-path node_modules/photoswipe/src/css Resources/Private/Assets/Light.scss Resources/Public/Light.css | cssnano Resources/Public/Light.css Resources/Public/Light.css --autoprefixer.add true --autoprefixer.browsers: '> 1%' --no-zindex --discardComments.removeAll true",
"build:css": "yarn build:dark && yarn build:light",
"build": "yarn build:assets && yarn build:css && yarn build:js",
"start": "yarn build"
}
}