aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
blob: 7a229f1bab1e83e064ca7f8b24fc1a94f38ff199 (plain)
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
{
  "name": "dat-docs",
  "version": "1.0.0",
  "description": "Documentation for Dat and the surrounding ecosystem.",
  "main": "index.js",
  "scripts": {
    "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",
    "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"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/datproject/docs.git"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/datproject/docs/issues"
  },
  "homepage": "https://github.com/datproject/docs#readme",
  "dependencies": {
    "dat-design": "^1.2.11",
    "gh-pages": "^0.11.0",
    "minidocs": "^4.0.5",
    "split2": "^2.1.0"
  },
  "devDependencies": {
    "budo": "^8.3.0",
    "ecosystem-docs": "^1.1.1",
    "ndjson": "^1.4.3",
    "node-sass": "^3.8.0",
    "node-sass-magic-importer": "^0.1.4",
    "nodemon": "^1.10.0"
  }
}