forked from MarcelRaschke/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 3 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
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "fluidframework-docs",
"version": "0.25.0",
"private": true,
"description": "Fluid Framework documentation",
"homepage": "https://fluidframework.com",
"repository": "https://github.com/microsoft/FluidFramework",
"license": "MIT",
"author": "Microsoft",
"scripts": {
"build": "npm run build:md-magic && npm run build:api-documenter && npm run build:diagrams && npm run hugo",
"build:api-documenter": "run-script-os",
"build:api-documenter:default": "[ -e ../_api-extractor-temp/doc-models ] && api-documenter generate --config api-documenter.json --input-folder ../_api-extractor-temp/doc-models/ --output-folder content/apis/ ; exit 0",
"build:api-documenter:win32": "if exist ../_api-extractor-temp/doc-models api-documenter generate --config api-documenter.json --input-folder ../_api-extractor-temp/doc-models/ --output-folder content/apis/",
"build:diagrams": "node ditaa.js content/**/*.ditaa",
"build:md-magic": "md-magic --path \"**/*.md\" --ignore \"node_modules\"",
"clean": "rimraf public/** content/apis/** static/playground/**",
"ditaa": "run-script-os",
"ditaa:default": "\"./bin/ditaa\"",
"ditaa:win32": "call \"bin/ditaa.exe\"",
"download": "concurrently \"npm run download:api\" \"npm run download:playground\" && npm run build:api-documenter",
"download:api": "download --extract --out ../_api-extractor-temp/doc-models/ https://fluidframework.blob.core.windows.net/api-extractor-json/latest.tar.gz",
"download:playground": "download --extract --out static/playground/ https://fluidframework.blob.core.windows.net/storybook/latest.tar.gz && copyfiles static/playground/playground.html layouts/page/ -f -V && git update-index --assume-unchanged layouts/page/playground.html",
"hugo": "run-script-os",
"hugo:default": "\"./bin/hugo\"",
"hugo:win32": "call \"bin/hugo.exe\"",
"postinstall": "npm run install:ditaa && npm run install:hugo",
"install:ditaa": "run-script-os",
"install:ditaa:default": "[ ! -f bin/ditaa ] && npm run install:ditaa:force ; exit 0",
"install:ditaa:force": "binstall install -n ditaa -d bin",
"install:ditaa:win32": "if not exist bin/ditaa.exe npm run install:ditaa:force",
"install:hugo": "run-script-os",
"install:hugo:default": "[ ! -f bin/hugo ] && npm run install:hugo:force ; exit 0",
"install:hugo:force": "binstall install -n hugo -d bin",
"install:hugo:win32": "if not exist bin/hugo.exe npm run install:hugo:force",
"start": "npm run build:md-magic && run-script-os",
"start:default": "\"./bin/hugo\" server",
"start:win32": "call \"bin/hugo.exe\" server"
},
"dependencies": {
"@mattetti/custom-api-documenter": "^0.3.3",
"@tylerbu/bin-installer": "^0.0.2",
"@tylerbu/hugo-installer": "^1.1.0",
"concurrently": "^5.2.0",
"copyfiles": "^2.1.0",
"download-cli": "^1.1.1",
"glob": "^7.1.6",
"markdown-magic": "^1.0.0",
"markdown-magic-package-scripts": "^1.2.1",
"rimraf": "^2.6.2",
"run-script-os": "^1.1.5",
"shelljs": "^0.8.4"
}
}