-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
39 lines (39 loc) · 1.67 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
{
"name": "service-unavailable",
"version": "1.0.0",
"description": "A static page to display when everything goes wrong",
"main": "index.js",
"watch": {
"build": {
"patterns": "src",
"extensions": "js,html,css,scss"
}
},
"scripts": {
"watch": "npm-watch",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rm -rf build && mkdir build/ && npm run copyall --silent",
"copyall": "npm run copyhtml && npm run buildstyles && npm run copystyles && npm run copyassets && timestamp=$(date \"+%H:%M:%S\"); echo [$timestamp] Build complete 🎈",
"copyhtml": "cp ./src/index.html ./build/index.html",
"copystyles": "cp ./node_modules/kungbib-styles/dist/css/kb-style.css ./build/css/kb-style.css",
"buildstyles": "mkdir build/css && npm-sass ./src/styles/style.scss > ./build/css/custom.css",
"copyassets": "mkdir build/assets && cp ./node_modules/kungbib-styles/dist/assets/kb_logo_black.svg ./build/assets/kb_logo_black.svg && npm run copyicons",
"copyicons": "cp ./node_modules/@fortawesome/fontawesome-free/css/all.css ./build/css/icons.css && mkdir build/webfonts && cp -rf ./node_modules/@fortawesome/fontawesome-free/webfonts ./build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Kungbib/service-unavailable.git"
},
"author": "Ola Blissing <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Kungbib/service-unavailable/issues"
},
"homepage": "https://github.com/Kungbib/service-unavailable#readme",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.1.0",
"kungbib-styles": "^1.2.4",
"npm-sass": "^3.1.0",
"npm-watch": "^0.12.0"
}
}