-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathpackage.json
59 lines (59 loc) · 2.28 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
55
56
57
58
59
{
"name": "Nuxeo-documentation-content",
"description": "doc.nuxeo.com Content",
"license": "CC",
"private": true,
"version": "0.0.1",
"author": {
"name": "Andrew Goodricke",
"email": "[email protected]",
"url": "http://andrewgoodricke.com"
},
"dependencies": {
"co": "^4.6.0",
"dotenv": "^8.2.0",
"lodash.defaultsdeep": "^4.6.1",
"node-yaml-config": "0.0.6",
"nuxeo-docs-builder": "nuxeo/doc.nuxeo.com",
"thenify": "^3.3.1"
},
"devDependencies": {
"browser-sync": "^2.26.12",
"bs-fullscreen-message": "^1.1.0",
"eslint": "^7.8.1",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-prettier": "^3.1.4",
"prettier": "^2.1.1",
"tap": "^14.10.8"
},
"main": "build.js",
"config": {
"browser": "chromium-browser"
},
"scripts": {
"pretest": "npm run yaml_lint config.yml",
"verify": "tap verify",
"start": "npm run metalsmith",
"poststart": "npm run copy_assets && npm run verify",
"predev": "npm install",
"dev": "node dev-server",
"dev:no-clean": "node dev-server --no-clean",
"copy_assets": "npm run copy_assets:default && npm run copy_assets:module",
"copy_assets:default": "mkdir -p ./site/assets/`./node_modules/nuxeo-docs-builder/bin/version-path` && cp -r ./assets/* ./site/assets/`./node_modules/nuxeo-docs-builder/bin/version-path` && ln -sfn `pwd`/nx_assets/ `pwd`/site/nx_assets",
"copy_assets:module": "cp -r ./node_modules/nuxeo-docs-builder/assets/* ./site/assets/ && cp -r ./node_modules/nuxeo-docs-builder/assets/fonts ./site/assets/css/",
"metalsmith": "node .",
"server": "browser-sync start --server site --browser=$npm_package_config_browser",
"server_reload": "browser-sync reload",
"yaml_lint": "js-yaml -t > /dev/null",
"docker": "docker build -t doc.nuxeo.content/node-web-app . && docker run --rm -v $(pwd):/node-web-app -p 3000:3000 -ti -e DEBUG -e LIMIT -e FILTER -e NODE_ENV=development -e DISABLE -e ENABLE doc.nuxeo.content/node-web-app",
"remove_history": "./node_modules/nuxeo-docs-builder/bin/remove-history"
},
"repository": {
"type": "git",
"url": "[email protected]:nuxeo/doc.nuxeo.com-content.git"
},
"bugs": {
"url": "[email protected]:nuxeo/doc.nuxeo.com-content.git/issues"
},
"homepage": "http://doc.nuxeo.com"
}