-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 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
{
"name": "development-pattern-library",
"version": "0.1.0",
"dependencies": {
"@frctl/fractal": "^1.1.7",
"@frctl/mandelbrot": "^1.2.0",
"browserify": "^14.4.0",
"cross-env": "^5.2.0",
"lg-video.js": "^1.0.0",
"lightgallery.js": "^1.0.2",
"onchange": "^5.1.1",
"parallelshell": "^3.0.2",
"rellax": "^1.7.1"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babelify": "^8.0.0",
"clean-css-cli": "^4.1.10",
"modern-normalize": "^0.4.0",
"node-sass": "^4.5.3",
"nodemon": "^1.12.1"
},
"fractal": {
"main": "fractal.js"
},
"scripts": {
"css:build": "node-sass --include-path scss ./assets/styles/styles.scss ./public/css/styles.css",
"css:clean": "cleancss -o ./public/css/styles.min.css ./public/css/styles.css",
"css": "npm run css:build && npm run css:clean",
"css:watch": "onchange \"./assets/styles/**/*.*\" -v -- npm run css",
"images": "xcopy .\\assets\\images .\\public\\pattern-library\\images /s/e/h/i/y/k/f/c",
"images:unix": "cp -R ./assets/images/ ./public/pattern-library/images/",
"images:watch": "onchange \"./assets/images/**/*.*\" -v -- npm run images",
"fonts": "xcopy .\\assets\\fonts .\\public\\fonts /s/e/h/i/y/k/f/c",
"fonts:unix": "cp -R ./assets/fonts/ ./public/fonts/",
"fonts:watch": "onchange \"./assets/fonts/**/*.*\" -v -- npm run fonts",
"js:build": "cross-env NODE_PATH=./node_modules/lightgallery.js/src/js:./node_modules/lg-video.js/dist browserify ./assets/scripts/gallery.js ./assets/scripts/parallax.js > public/scripts/bundle.js -t [babelify --presets [es2015] ]",
"js:unix": "npm run js:build && cp -R ./assets/scripts/plugins/ ./public/scripts/",
"js": "npm run js:build && xcopy .\\assets\\scripts\\plugins .\\public\\scripts /s/e/h/i/y/k/f/c",
"js:watch": "onchange \"./assets/scripts/**/*.*\" -v -- npm run js",
"develop": "npm install && npm run css && npm run js && npm run images && npm run fonts && parallelshell \"npm run css:watch\" \"npm run images:watch\" \"npm run fonts:watch\" \"npm run js:watch\" \"start fractal.cmd start --sync\"",
"develop:unix": "npm install && npm run css && npm run js:unix && npm run images:unix && npm run fonts:unix && parallelshell \"npm run css:watch\" \"npm run images:watch\" \"npm run fonts:watch\" \"npm run js:watch\" \"fractal start --sync\"",
"build": "fractal.cmd build",
"build:unix": "fractal build",
"dist": "npm install && npm run css:build && npm run build",
"dist:unix": "npm install && npm run css:build && npm run images && npm run fonts && npm run js && npm run build:unix"
}
}