-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.43 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.43 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
{
"name": "photography.ericirish.com",
"version": "0.0.01",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"serve": "browser-sync start --server \"dist\" --extensions \"html\" --serveStatic dist --logLevel \"silent\" --files dist --reload-delay 1000 --no-open --no-ghost-mode --no-notify --reload-debounce",
"clean:site": "rm -rf dist && mkdir dist",
"pug:lint": "pug-lint frontend",
"build:images": "cp -p -a frontend/images/. dist/images",
"build:pug": "pug --out dist --pretty -b frontend frontend",
"build:pug-prod": "pug --out dist --doctype html --pretty -b frontend/templates frontend/templates",
"build": "yarn clean:site && yarn build:pug && yarn build:images ",
"watch:pug": "pug --out dist --pretty --doctype html --watch -b frontend/templates frontend/templates",
"watch": "yarn build && concurrently -k -p \"[{name}]\" -n \"SERVER,PUG\" -c \"bgBlue.bold,bgMagenta.bold\" \"yarn serve \" \"yarn watch:pug \"",
"prod": "yarn clean:site && yarn build:images && yarn build:pug-prod"
},
"repository": "",
"author": "Eric Irish",
"devDependencies": {
"browser-sync": "^2.26.7",
"concurrently": "^4.1.1",
"path": "^0.12.7",
"psi": "^3.0.0",
"pug-lint": "^2.6.0",
"pug-lint-config-ctrl": "^1.3.0"
},
"dependencies": {
"chokidar": "^3.0.2",
"chokidar-cli": "^2.0.0",
"pug": "^2.0.4",
"pug-cli": "^1.0.0-alpha6"
}
}