-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.38 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
{
"name": "patagonia-journal",
"version": "1.0.0",
"description": "Paragônia Bike Trip - Journal",
"main": "README.md",
"scripts": {
"start": "typora src/ &",
"dev": "npm run build && http-server dist/",
"dev-mac": "npm run build-mac && http-server dist/",
"jpegoptim": "jpegoptim -m 80",
"copy-assets": "cp -r src/assets dist/assets/",
"markdown-to-html": "cat src/template.html > dist/index.html && cat src/*.md | marked >> dist/index.html && cat src/footer.html >> dist/index.html",
"add-lazy-loading": "sed -i 's/img src/img realsrc/g' dist/index.html",
"add-lazy-loading-mac": "sed -i '' 's/img src/img realsrc/g' dist/index.html",
"add-markdown-css": "cp node_modules/github-markdown-css/github-markdown.css dist/",
"build": "npm run markdown-to-html && npm run add-lazy-loading && npm run add-markdown-css && npm run copy-assets",
"build-mac": "npm run markdown-to-html && npm run add-lazy-loading-mac && npm run add-markdown-css && npm run copy-assets",
"deploy": "git add dist && git commit -m 'deploy' && git subtree push --prefix dist origin gh-pages"
},
"repository": {
"type": "git",
"url": "git+https://github.com/darenhart/patagonia-journal.git"
},
"author": "Daniel Werle Arenhart",
"license": "ISC",
"dependencies": {
"github-markdown-css": "^4.0.0",
"http-server": "^0.12.3",
"marked": "^0.8.0"
}
}