/
package.json
41 lines (41 loc) · 2.17 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
{
"name": "@dansmith65/website",
"version": "1.0.0",
"description": "build tool for my blog",
"homepage": "http://dansmith65.com",
"repository": "github:dansmith65/dansmith65.github.io",
"license": "MIT",
"config": {
"example": "can be accessed from the environment variable: npm_package_config_example"
},
"scripts": {
"test": "exit 1",
"start": "npm run serve",
"serve": "start bundle exec jekyll serve --drafts --future --incremental --host=0.0.0.0",
"postserve": "start http://localhost:4000",
"serve:dev": "env JEKYLL_ENV=dev npm run serve",
"build": "bundle exec jekyll build --drafts",
"build:dev": "env JEKYLL_ENV=dev bundle exec jekyll build --drafts",
"postbuild": "npm run process-pictures && npm run validate-tags-years && npm run uglify",
"clean": "bundle exec jekyll clean && rm -rf _data/pictures/*/*.json",
"//": "------tasks below this line are sub-tasks to those above------",
"process-pictures": "node _scripts/process-pictures.js",
"validate-tags-years": "node _scripts/validate-tags-years.js",
"photoswipe-update": "node _scripts/photoswipe-update",
"uglify": "npm run uglify:main-defer && npm run uglify:photoswipe && npm run uglify:comment && npm run uglify:search",
"uglify:main-defer": "uglifyjs assets/js/src/subtopic_anchor.js -o assets/js/main.defer.min.js -m -c --source-map \"root='/',url='main.defer.min.js.map'\"",
"uglify:photoswipe": "uglifyjs assets/js/src/photoswipe/photoswipe.js assets/js/src/photoswipe/photoswipe-ui-default.js assets/js/src/photoswipe-init.js -o assets/js/photoswipe.min.js -m -c --comments \"/^!/i\" --source-map \"root='/',url='photoswipe.min.js.map'\"",
"uglify:comment": "uglifyjs assets/js/src/comment.js -o assets/js/comment.min.js -m -c --source-map \"root='/',url='comments.min.js.map'\"",
"uglify:search": "uglifyjs assets/js/src/search.js -o assets/js/search.min.js -m -c --source-map \"root='/',url='search.min.js.map'\""
},
"devDependencies": {
"exif-reader": "^1.0.2",
"fs-compare": "0.0.4",
"fs-extra": "^5.0.0",
"glob": "^7.1.2",
"run-parallel": "^1.1.6",
"sharp": "^0.33.2",
"slug": "^1.1.0",
"uglify-es": "^3.3.9"
}
}