This repository has been archived by the owner on Oct 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 3.47 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
{
"name": "gug-web-public",
"version": "1.0.0",
"description": "Frontend for new GUG.cz web",
"main": "app/app.js",
"scripts": {
"css:scss": "node-sass --output-style compressed -o public/css app/assets/scss",
"css:autoprefixer": "postcss -u autoprefixer -r ./public/css/*",
"build:css": "npm run css:scss",
"watch:css": "onchange 'app/assets/scss' -- npm run build:css",
"js:eslint": "eslint app/assets/js",
"js:uglify": "mkdir -p ./public/js && uglifyjs node_modules/jquery/dist/jquery.min.js node_modules/@fancyapps/fancybox/dist/jquery.fancybox.js node_modules/materialize-css/dist/js/materialize.js app/assets/js/*.js -m -c -o public/js/app.min.js && ls public/js",
"build:js": "npm run js:eslint && npm run js:uglify",
"build:views": "mkdir -p functions/views && cp -v -r app/views functions/",
"watch:js": "onchange 'app/assets/js' -- npm run build:js",
"images:logos-png": "mkdir -p public/images/logos && cp -v -R app/assets/images/logos public/images/",
"images:favicons-png": "mkdir -p public/images/favicons && cp -v -R app/assets/images/favicons/*.png public/images/favicons/",
"images:other": "mkdir -p public/images/other && cp -v -R app/assets/images/other public/images/",
"build:images": "npm run images:logos-png && npm run images:favicons-png && npm run images:other",
"watch:images": "onchange 'app/assets/images/**/*' -- npm run build:images",
"fonts:font-awesome": "mkdir -p public/fonts && cp -v -R node_modules/font-awesome/fonts/* public/fonts/",
"build:fonts": "npm run fonts:font-awesome",
"predevel": "npm install",
"start": "npm run start:prod",
"start:dev": "NODE_ENV=development nodemon app/app.js --watch 'app/' --ignore 'app/assets'",
"start:prod": "npm run build && NODE_ENV=production node app/app.js",
"watch": "npm run build && npm-run-all --parallel watch:* start:dev",
"build": "npm-run-all build:*",
"test": "jasmine",
"deploy": "gcloud app deploy --project gug-web-public --version 1",
"firebase-build": "babel app -d functions/ && npm run build && NODE_ENV=production",
"firebase-deploy": "npm run firebase-build && firebase deploy --non-interactive"
},
"engines": {
"node": ">=8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gugcz/web-frontend.git"
},
"keywords": [
"gug.cz",
"web",
"frontend"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/gugcz/web-frontend/issues"
},
"homepage": "https://github.com/gugcz/web-frontend#readme",
"dependencies": {
"babel-runtime": "^6.23.0",
"express": "^4.15.3",
"moment": "^2.22.2",
"node-fetch": "^1.7.1",
"pug": "^2.0.0-rc.2"
},
"devDependencies": {
"@fancyapps/fancybox": "^3.1.20",
"autoprefixer": "^7.1.1",
"babel-cli": "^6.26.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"browser-sync": "^2.18.12",
"connect-browser-sync": "^2.1.0",
"eslint": "^4.1.1",
"eslint-config-google": "^0.8.0",
"express": "^4.15.3",
"firebase-tools": "^7.0.2",
"font-awesome": "^4.7.0",
"jasmine": "^2.7.0",
"jquery": "^3.5.0",
"materialize-css": "^1.0.0-rc.2",
"node-fetch": "^1.7.1",
"node-sass": "^4.5.3",
"node-vibrant": "^3.0.0-alpha.2",
"nodemon": "^1.11.0",
"npm-run-all": "^4.0.2",
"onchange": "^6.0.0",
"postcss": "^6.0.4",
"svgo": "^1.2.2",
"uglify-js": "^3.0.23"
}
}