forked from kthackse/international
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 3.37 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
{
"name": "hackupc-frontend",
"version": "1.0.0",
"description": "HackUPC static landing and live web pages",
"main": "dist/index.html",
"scripts": {
"dist": "npm-run-all -p dist:*",
"watch": "npm-run-all --parallel serve dist watch:*",
"serve": "http-server dist",
"test": "npm run -s lint",
"predist": "npm run clean",
"notify-update": "notify -t 'Hackupc' -m 'Dist updated' -s",
"dist:fonts": "cp -R src/fonts dist/assets/",
"dist:data": "cp -R src/data dist/assets/",
"dist:docs": "cp -R src/docs dist/",
"dist:styles": "mkdir dist/assets/css && npm-run-all -p scss:* && postcss -u autoprefixer -r dist/assets/css/*",
"dist:scripts": "npm-run-all -p minjs:*",
"dist:images": "cp -R src/images/ dist/assets/ && rm -Rf dist/assets/img && mv dist/assets/images dist/assets/img",
"dist:html": "cp src/*.html dist",
"dist:favicon": "cp src/*.ico dist",
"postdist": "npm-run-all -p nocache:*",
"nocache:index": "node node_modules/asset-cache-bust/bin/asset-cache-bust --asset-root dist dist/index.html",
"scss:main": "node-sass --output-style compressed src/styles/main.2018f.scss dist/assets/css/main.2018f.min.css",
"scss:live": "node-sass --output-style compressed src/styles/app.scss dist/assets/css/app.min.css",
"scss:template": "node-sass --output-style compressed src/styles/template.scss dist/assets/css/template.min.css",
"minjs:chroma": "cp node_modules/chroma-js/chroma.min.js dist/assets/js/chroma.min.js",
"minjs:live": "uglifyjs src/scripts/config.live.js src/scripts/util.live.js src/scripts/live.js -m -c -o dist/assets/js/app.min.js",
"watch:js": "onchange \"src/scripts\" -- npm-run-all dist:scripts notify-update",
"watch:css": "onchange \"src/styles\" -- npm-run-all dist:styles notify-update",
"watch:fonts": "onchange \"src/fonts\" -- npm-run-all dist:fonts notify-update",
"watch:data": "onchange \"src/data\" -- npm-run-all dist:data notify-update",
"watch:docs": "onchange \"docs\" -- npm-run-all dist:docs notify-update",
"watch:images": "onchange \"src/images\" -- npm-run-all dist:images notify-update",
"watch:html": "onchange \"src/*.html\" -- npm-run-all dist:html notify-update",
"watch:favicon": "onchange \"src/*.ico\" -- npm-run-all dist:html notify-update",
"clean": "rm -Rf dist/assets/js dist/assets/css dist/index.html dist/live.html && mkdirp dist/assets/js dist/assets/fonts",
"lint": "npm-run-all --silent --parallel -c lint:*",
"lint:html": "htmllint dist/*.html",
"lint:sass": "sass-lint -v -q -c .sass-lint.yml 'src/styles/*.scss'",
"lint:js": "eslint src/scripts/*.js"
},
"author": "HackUPC Dev Team",
"license": "MIT",
"dependencies": {
"asset-cache-bust": "^2.2.0",
"autoprefixer": "^6.7.3",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^4.2.2",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"htmllint": "^0.6.0",
"htmllint-cli": "0.0.6",
"http-server": "^0.11.1",
"imagemin-newer": "^1.0.2",
"mkdirp": "^0.5.1",
"node-notifier-cli": "^1.0.1",
"node-sass": "^4.5.0",
"npm-run-all": "^4.0.1",
"onchange": "^3.2.1",
"postcss-cli": "^2.6.0",
"sass-lint": "^1.10.2",
"standard": "^8.0.0",
"typescript": "^2.0.3",
"uglify-js": "^2.7.5",
"chroma-js": "^1.3.7"
}
}