-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
96 lines (96 loc) · 3.18 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
96
{
"name": "brandnewweddings",
"version": "1.2.64",
"description": "Website for brandnewweddings.co.uk",
"homepage": "https://github.com/tableflip/brandnewweddings#readme",
"author": "TABLEFLIP",
"license": "AGPL-3.0",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/tableflip/brandnewweddings.git"
},
"bugs": {
"url": "https://github.com/tableflip/brandnewweddings/issues"
},
"config": {
"deploy": {
"next": "brandnewweddings.surge.oi",
"prod": "brandnewweddings.co.uk"
}
},
"pre-commit": [
"test"
],
"scripts": {
"test": "standard",
"start": "npm-run-all build watch",
"build": "npm-run-all --parallel build:* --serial minify",
"minify": "npm-run-all --parallel minify:*",
"watch": "npm-run-all --parallel watch:*",
"clean": "rm -rf ./dist/*;",
"build:static": "rsync -a public/ dist",
"build:svg": "svgshelf 'svg/*' dist/bundle.svg",
"build:css": "node build/sass.js | postcss --local-plugins --use autoprefixer --output dist/bundle.css",
"build:html": "node build/jade.js",
"build:js": "browserify -t jadeify pages/main.js -o dist/bundle.js",
"minify:js": "uglifyjs dist/bundle.js -o dist/bundle.js",
"minify:css": "postcss -u cssnano -i dist/bundle.css -o dist/bundle.css",
"minify:svg": "svgo --disable=cleanupIDs --disable=removeHiddenElems dist/bundle.svg",
"watch:static": "nodemon -w public -e 'gif,png,webm,jpg' -x npm run build:static",
"watch:css": "nodemon -w facts.json -w pages -e scss -x npm run build:css",
"watch:html": "nodemon -w facts.json -w pages -e jade,json -x npm run build:html",
"watch:js": "watchify -t jadeify pages/main.js -o dist/bundle.js",
"watch:serve": "browser-sync start --files 'dist/bundle.*' --files 'dist/*.html' --server dist",
"deploy:next": "npm-run-all clean build && surge -p ./dist -d $npm_package_config_deploy_next",
"deploy:prod": "npm-run-all clean build && surge -p ./dist -d $npm_package_config_deploy_prod"
},
"dependencies": {
"autoprefixer": "^6.0.3",
"bootstrap": "4.0.0-alpha.2",
"browserify": "^13.0.0",
"cssnano": "^3.5.2",
"extend": "^3.0.0",
"find": "^0.2.4",
"jade": "1.11.0",
"jadeify": "^4.6.0",
"jquery": "^2.2.1",
"markdown-it": "^6.0.0",
"markdown-it-container": "^2.0.0",
"moment": "^2.12.0",
"path-exists": "^2.1.0",
"plural": "^0.2.0",
"postcss": "^5.0.9",
"postcss-cli": "^2.5.1",
"postcss-import": "^8.1.0",
"require-dir": "^0.3.2",
"slug": "^0.9.1",
"svg4everybody": "^2.0.3",
"tether": "^1.2.0",
"uglify-js": "^2.6.2"
},
"devDependencies": {
"amdefine": "^1.0.1",
"browser-sync": "^2.11.1",
"node-sass": "^3.13.1",
"npm-run-all": "^1.8.0",
"pre-commit": "^1.1.2",
"require-directory": "^2.1.1",
"require-main-filename": "^1.0.1",
"standard": "^6.0.7",
"svgo": "^0.6.2",
"svgshelf": "^1.0.3",
"watchify": "^3.7.0",
"which-module": "^2.0.0",
"wrap-ansi": "^2.1.0",
"y18n": "^3.2.1",
"yargs-parser": "^7.0.0"
},
"subPages": {
"portfolio": {
"field": "weddings",
"slugFrom": "name",
"template": "wedding"
}
}
}