forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 2.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
32
33
34
35
36
37
38
39
40
41
42
{
"name": "fluidframework-docs",
"version": "0.25.0",
"private": true,
"description": "Fluid Framework documentation",
"homepage": "https://fluidframework.com",
"repository": "microsoft/FluidFramework",
"license": "MIT",
"author": "Microsoft",
"scripts": {
"build": "npm run build:md-magic && npm run build:api-documenter && 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:md-magic": "md-magic --path \"**/*.md\" --ignore \"node_modules\"",
"clean": "rimraf public/** content/apis/** static/playground/**",
"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": "run-script-os",
"install:hugo": "hugo-installer --version 0.74.3 --destination bin --extended",
"postinstall:default": "[ ! -f bin/hugo ] && npm run install:hugo ; exit 0",
"postinstall:win32": "if not exist bin/hugo.exe npm run install:hugo",
"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.2",
"@tylerbu/hugo-installer": "^1.1.0",
"concurrently": "^5.2.0",
"copyfiles": "^2.1.0",
"download-cli": "^1.1.1",
"markdown-magic": "^1.0.0",
"markdown-magic-package-scripts": "^1.2.1",
"rimraf": "^2.6.2",
"run-script-os": "^1.0.7"
}
}