-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 4.95 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
92
93
94
95
{
"name": "test-web-npm-tasks-automation",
"version": "1.0.0",
"description": "pug, sass, babel automated with npm tasks to make Braun Marketing and Consulting website",
"main": "package.json",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"sass": "node-sass --include-path ./node_modules/ ./src/sass -o ./dev/css",
"babel": "babel ./src/es6/ -d ./dev/js/",
"pug": "pug -P -p ./src/pug/partials/ -O ./src/pug/options.json ./src/pug/templates/ -o ./dev/",
"metalang": "npm run sass && npm run babel && npm run pug",
"statics:dev": "node npm-scripts/statics-dev",
"fonts:dev": "node npm-scripts/fonts-dev",
"image:dev": "node npm-scripts/img-dev",
"dev:media": "npm run statics:dev && npm run fonts:dev && npm run image:dev",
"watch:sass": "node-sass --include-path ./node_modules/ -w ./src/sass -o ./dev/css",
"watch:babel": "babel -w ./src/es6/ -d ./dev/js/",
"watch:pug": "pug -w -P -p ./src/pug/partials/ -O ./src/pug/options.json ./src/pug/templates/ -o ./dev/",
"watch:metalang": "run-p watch:sass watch:pug watch:babel",
"dev:serve": "browser-sync start --server ./dev --port 3456 --startPath / --serverStatic / --files ./dev --reload-delay=300 --reload-debounce=500",
"dev:proxy": "browser-sync start --proxy localhost --directory --startPath / --serverStatic / --files ./dev --reload-delay=300 --reload-debounce=500",
"watch:devserve": "npm run dev:media && npm run metalang && run-p watch:metalang dev:serve",
"watch:proxy": "run-p watch:metalang dev:proxy",
"uncss": "uncss -u uncss.json \"./dev/**/*.+(html|php)\" > ./dist/css/styles.css",
"autoprefixer": "postcss -u autoprefixer --autoprefixer.browsers \"> 5%, ie 10\" -r ./dist/css/styles.css",
"min:css-js": "node npm-scripts/buildify",
"useref": "useref \"./dev/**/*.+(html|php)\" ./dist",
"htmlmin": "html-minifier --file-ext html --html5 --remove-comments --collapse-whitespace --input-dir ./dist/ --output-dir ./dist/",
"statics:dist": "node npm-scripts/statics-dist",
"fonts:dist": "node npm-scripts/fonts-dist",
"imagemin": "imagemin \"./src/img/*.+(jpg|png)\" -o ./dist/img/ -p=pngquant -p=jpeg-recompress",
"webp": "imagemin \"./dist/img/*.jpg\" -o ./dist/img/ -p=webp",
"svgmin": "imagemin \"./src/img/*.svg\" -o ./dist/img/ -p=svgo",
"gifmin": "imagemin \"./src/img/*.gif\" -o ./dist/img/ -p=gifsicle",
"jpgresize": "magick mogrify -resize \"1400 >\" ./dist/img/*.jpg",
"pngresize": "magick mogrify -resize \"1400 >\" ./dist/img/*.png",
"clean": "rimraf ./dist/*",
"build:folders": "mkdirp ./dist/css ./dist/js ./dist/img ./dist/fonts",
"build:frontend:w/uncss": "npm run uncss && npm run autoprefixer && npm run min:css-js && npm run useref && npm run htmlmin",
"build:frontend": "npm run min:css-js && npm run useref && npm run htmlmin",
"build:media": "npm run statics:dist && npm run fonts:dist && npm run imagemin && npm run webp && npm run svgmin && npm run gifmin",
"build:media:w/mogrify": "npm run statics:dist && npm run fonts:dist && npm run jpgresize && npm run pngresize && npm run imagemin && npm run webp && npm run svgmin && npm run gifmin",
"build:replace": "replace '/src/' './' ./dist -r --preview",
"build:dist": "npm run clean && npm run metalang && npm run build:folders && npm run build:frontend && npm run build:media",
"serve": "browser-sync start --server ./dist --port 3567 --directory --startPath / --serverStatic / --files ./dist --reload-delay=300 --reload-debounce=500",
"proxy": "browser-sync start --proxy localhost --directory --startPath / --serveStatic / --files dist --reload-delay=300 --reload-debounce=500"
},
"author": "Alejandro Morente <morente5@hotmail.es>",
"license": "MIT",
"devDependencies": {
"autoprefixer": "^7.1.4",
"babel-cli": "^6.26.0",
"babel-preset-latest": "^6.24.1",
"browser-sync": "^2.18.13",
"buildify": "^0.4.0",
"copy": "^0.3.1",
"html-minifier": "^3.5.5",
"imagemin": "^5.3.1",
"imagemin-cli": "^3.0.0",
"imagemin-gifsicle": "^5.2.0",
"imagemin-jpeg-recompress": "^5.1.0",
"imagemin-pngquant": "^5.0.1",
"imagemin-svgo": "^5.2.2",
"imagemin-webp": "^4.0.0",
"mkdirp": "^0.5.1",
"node-sass": "^4.5.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1",
"pug": "^2.0.0-rc.4",
"pug-cli": "github:pugjs/pug-cli#21bab2e",
"replace": "^0.3.0",
"rimraf": "^2.6.2",
"uncss": "^0.15.0",
"useref": "^1.2.0",
"useref-cli": "^1.0.0"
},
"dependencies": {
"animate.css": "^3.5.2",
"balloon-css": "^0.5.0",
"bootstrap": "^4.0.0-alpha.6",
"bulma": "^0.6.1",
"font-awesome": "^4.7.0",
"jquery": "^3.2.1",
"owl.carousel": "^2.2.0",
"sticky-kit": "^1.1.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Morente5/braun-marketing.git"
},
"bugs": {
"url": "https://github.com/Morente5/braun-marketing/issues"
},
"homepage": "https://github.com/Morente5/braun-marketing#readme"
}