-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.79 KB
/
Copy pathpackage.json
File metadata and controls
125 lines (125 loc) · 3.79 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "diffstudio",
"version": "1.0.0",
"description": "Generador de la web de DIFF Estudio Creativo.",
"main": "index.js",
"scripts": {
"clean": "rm -rf ./build/* && mkdir ./build/css ./build/js ./build/images",
"replace": "node ./scripts/replace.js",
"minify-css": "minify build/css/styles.css",
"compile-js": "babel --presets es2015,stage-0 src/js/main.js --out-file build/js/scripts.js",
"parse-img": "node ./scripts/parse-img.js",
"parse-html": "node ./scripts/parse-html.js",
"watch-sass": "node-sass -w -r --source-map true src/sass/main.sass build/css/styles.css && browser-sync reload",
"watch-js": "nodemon --watch src/js -e js -x \"npm run compile-js && npm run replace && browser-sync reload\"",
"watch-img": "nodemon --watch src/images -e png,gif,svg,jpg,jpeg -x \"npm run parse-img && browser-sync reload\"",
"watch-html": "nodemon --watch src/pages --watch src/components -e ejs,txt,php,xml,pdf -x \"npm run parse-html && npm run replace && browser-sync reload\"",
"browser-sync": "browser-sync start -s 'build' -f 'build'",
"watch": "npm run browser-sync & npm run watch-js & npm run watch-sass & npm run watch-img & npm run watch-html",
"build": "clean run clean && npm run compile-js && npm run minify-js && npm run compile-sass && npm run minify-css && npm run minify-img && npm run minify-html && npm run replace"
},
"author": "Andrés Bayón",
"license": "GPL-3.0",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"browser-sync": "^2.18.12",
"ejs": "^2.5.6",
"gm": "^1.23.0",
"htmlmin": "0.0.7",
"imagemin-cli": "^3.0.0",
"imagemin-gifsicle": "^5.1.0",
"imagemin-jpegtran": "^5.0.2",
"imagemin-pngquant": "^5.0.1",
"imagemin-svgo": "^5.2.2",
"install": "^0.10.1",
"minifier": "^0.8.1",
"mkdirp": "^0.5.1",
"node-sass": "^4.5.3",
"nodemon": "^1.11.0",
"npm": "^5.0.3",
"replace": "^0.3.0",
"walk": "^2.3.9"
},
"config": {
"baseUrl": "http://localhost:3000",
"url": {
"dev": "http://localhost:3000",
"pro": "https://www.diffestudio.com"
},
"images": [{
"postfix": "_768",
"width": 768
}, {
"postfix": "_1148",
"width": 1148
}, {
"postfix": "_1280",
"width": 1280
}, {
"postfix": "_1920",
"width": 1920
}],
"breakpoints": [{
"type": "full-viewport",
"versions": [{
"query": "(max-width: 1920px)",
"postfix": "_1920"
}, {
"query": "(max-width: 1280px)",
"postfix": "_1280"
}, {
"query": "(max-width: 768px)",
"postfix": "_768"
}]
}, {
"type": "half-viewport",
"versions": [{
"query": "(max-width: 1920px)",
"postfix": "_960"
}, {
"query": "(max-width: 1280px)",
"postfix": "_640"
}, {
"query": "(max-width: 768px)",
"postfix": "_384"
}]
}, {
"type": "full-content",
"versions": [{
"query": "(max-width: 1920px)",
"postfix": "_1920"
}, {
"query": "(max-width: 1280px)",
"postfix": "_1148"
}, {
"query": "(max-width: 800px)",
"postfix": "_768"
}]
}, {
"type": "half-content",
"versions": [{
"query": "(max-width: 800px)",
"postfix": "_384"
}, {
"query": "(max-width: 1280px)",
"postfix": "_1148"
}, {
"query": "(max-width: 1920px)",
"postfix": "_1920"
}]
}, {
"type": "third-content",
"versions": [{
"query": "(max-width: 800px)",
"postfix": "_384"
}, {
"query": "(max-width: 1280px)",
"postfix": "_1148"
}, {
"query": "(max-width: 1920px)",
"postfix": "_1920"
}]
}]
}
}