aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorJoe Hand <joe@joeahand.com>2017-02-03 13:41:10 -0800
committerGitHub <noreply@github.com>2017-02-03 13:41:10 -0800
commitdfeeb335f801ba0cf99a3463af9be6b009e857dc (patch)
treed5736250249e441b8579e9729de8a6a0966b4dec /package.json
parent55452e22d4bbbb9dd11d296773e5801870b15bf0 (diff)
downloaddat-docs-dfeeb335f801ba0cf99a3463af9be6b009e857dc.tar.gz
dat-docs-dfeeb335f801ba0cf99a3463af9be6b009e857dc.zip
Netlify deployment (#39)
* add netlify * add netlify script * update netlify script * remove travis stuff * add docs on netlify
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 9f37374..7a229f1 100644
--- a/package.json
+++ b/package.json
@@ -4,15 +4,15 @@
"description": "Documentation for Dat and the surrounding ecosystem.",
"main": "index.js",
"scripts": {
- "travis:update": "npm run update:list && cat repos.txt | ecosystem-docs sync -t ${GH_TOKEN} && cat repos.txt | ecosystem-docs read -t ${GH_TOKEN} | node scripts/build.js",
+ "update:token": "npm run update:list && cat repos.txt | ecosystem-docs sync -t ${GH_TOKEN} && cat repos.txt | ecosystem-docs read -t ${GH_TOKEN} | node scripts/build.js",
"update": "npm run update:list && npm run update:build",
"update:list": "curl -Ssl https://raw.githubusercontent.com/datproject/awesome-dat/master/readme.md | grep '📔' | egrep -o 'github.com/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+' | cut -f 2- -d / | uniq > repos.txt",
"update:build": "cat repos.txt | ecosystem-docs sync && cat repos.txt | ecosystem-docs read | node scripts/build.js",
"build:local": "npm run build:css && minidocs docs -c docs/contents.json -i dat -o dist -l ./node_modules/dat-design/public/img/dat-data-logo.svg -t 'Dat Data' -s assets/styles.css --pushstate",
"build:deploy": "npm run build:css && minidocs docs -c docs/contents.json -i dat -o dist -l ./node_modules/dat-design/public/img/dat-data-logo.svg -t 'Dat Data' -s assets/styles.css --full-html",
"build:css": "node-sass --importer node_modules/node-sass-magic-importer assets/styles.scss assets/styles.css",
- "deploy": "npm run build:deploy && echo docs.datproject.org > dist/CNAME && gh-pages -d dist",
"watch:css": "nodemon -e scss -x \"npm run build:local\"",
+ "netlify": "npm run update:token && npm run build:deploy",
"start": "budo --dir dist --pushstate",
"paper": "cd papers && pandoc --variable author=\"Maxwell Ogden, Karissa McKelvey, Mathias Buus\" --variable title=\"Dat - Distributed Dataset Synchronization And Versioning\" --variable date=\"UNFINISHED, November 2016\" --variable classoption=twocolumn --variable papersize=a4paper -s dat-paper.md -o dat-paper.pdf"
},