aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
blob: 0eef074a3f8ccf2f4e6e9d3ee573077eaeb788a8 (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
45
{
  "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 -o dist  -l ./node_modules/dat-design/public/img/dat-hexagon.svg -t 'Dat Documentation' -s assets/styles.css --assets assets --pushstate",
    "build:deploy": "npm run build:css && minidocs docs -c docs/contents.json -o dist -l ./node_modules/dat-design/public/img/dat-hexagon.svg -t 'Dat Documentation' -s assets/styles.css --assets assets --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": "npm run latex && cd papers && pandoc --filter pandoc-citeproc --bibliography=dat-paper.bib --variable classoption=twocolumn --variable papersize=a4paper -s dat-paper.md -o dat-paper.pdf",
    "latex": "cd papers && pandoc --filter pandoc-citeproc --bibliography=dat-paper.bib --variable classoption=twocolumn --variable papersize=a4paper -s dat-paper.md -t latex -o dat-paper.txt"
  },
  "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": "github:datproject/minidocs#dat-tachyons",
    "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"
  }
}