-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
167 lines (167 loc) · 7.45 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "nuxeo-docs-builder",
"description": "doc.nuxeo.com built using Metalsmith",
"license": "UNLICENSED",
"private": true,
"version": "13.1.5",
"author": {
"name": "Andrew Goodricke",
"email": "[email protected]",
"url": "http://andrewgoodricke.com"
},
"os": [
"!win32"
],
"engines": {
"node": ">=6.5"
},
"dependencies": {
"algoliasearch": "^3.34.0",
"async": "^3.1.0",
"autoprefixer": "^9.6.1",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"bluebird": "^3.5.4",
"bluebird-retry": "^0.11.0",
"cheerio": "^0.22.0",
"clipboard": "^2.0.8",
"co": "^4.6.0",
"debug": "^4.3.1",
"dotenv": "^9.0.2",
"escape-string-regexp": "^4.0.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"font-awesome": "^4.6.1",
"foundation-sites": "^6.4.3",
"gray-matter": "^4.0.3",
"handlebars": "^4.7.7",
"highlight.js": "^9.15.9",
"html-entities": "^1.3.1",
"instantsearch.js": "^3.6.0",
"joi": "^17.4.0",
"jquery": "^3.6.0",
"js-yaml": "^3.14.0",
"lodash.assign": "^4.2.0",
"lodash.chunk": "^4.2.0",
"lodash.clonedeep": "^4.5.0",
"lodash.debounce": "^4.0.8",
"lodash.defaultsdeep": "^4.6.1",
"lodash.flatten": "^4.4.0",
"lodash.get": "^4.4.1",
"lodash.isempty": "^4.3.1",
"lodash.set": "^4.3.1",
"lodash.sortby": "^4.6.1",
"lodash.throttle": "^4.1.1",
"marked": "woodyrew/marked#list-starting-number",
"metalsmith": "^2.2.0",
"metalsmith-default-values": "^3.0.0",
"metalsmith-gzip": "^1.1.0",
"metalsmith-if": "^0.1.1",
"metalsmith-in-place": "^1.4.4",
"metalsmith-layouts": "^1.6.5",
"metalsmith-markdown": "^0.2.1",
"metalsmith-matters": "^1.2.0",
"metalsmith-permalinks": "^2.2.0",
"metalsmith-sitemap": "1.2.2",
"mkdirp": "^1.0.4",
"moment": "^2.29.1",
"motion-ui": "^2.0.3",
"multimatch": "^4.0.0",
"multisort": "^0.5.3",
"node-fetch": "^2.6.1",
"node-sass": "^6.0.1",
"node-yaml-config": "0.0.6",
"nuxeo": "github:nuxeo/nuxeo-js-client#master",
"nuxeo-website-styles": "github:nuxeo/website-styles#v7.0.2",
"pino": "^6.11.3",
"postcss-cli": "^6.1.3",
"prettier": "^2.3.0",
"quotation": "^1.1.1",
"recursive-readdir": "^2.1.0",
"remove-markdown": "^0.3.0",
"request": "^2.81.0",
"rst2mdown": "^0.1.0",
"script-loader": "^0.7.0",
"sitemap": "^3.2.2",
"slug": "^1.1.0",
"stopword": "^1.0.7",
"striptags": "^3.2.0",
"stylelint": "^13.13.1",
"stylelint-config-sass-guidelines": "^8.0.0",
"stylelint-config-standard": "^22.0.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.19.0",
"tap": "^15.0.9",
"thenify": "^3.3.1",
"tree-model": "^1.0.7",
"webpack": "^3.12.0",
"what-input": "^5.2.10"
},
"devDependencies": {
"browser-sync": "^2.26.14",
"nodemon": "^2.0.6"
},
"main": "lib/builder_module.js",
"config": {
"browser": "chromium-browser"
},
"scripts": {
"prestart": "npm run pretest && npm run empty_directories && npm run compile && npm run default_redirects",
"start": "./build.sh",
"poststart": "npm run copy_assets && npm run copy_extras && npm run verify",
"pretest": "npm run yaml_lint config.yml && npm run yaml_lint redirects_default.yml",
"test": "tap -b --reporter=classic --lines=80 --branches=70 --statements=80 --functions=80 test",
"posttest": "npm run lint",
"verify": "tap -b --no-coverage --reporter=terse verify/site",
"verify_assets": "tap -b --no-coverage --reporter=terse verify/built_assets",
"precompile": "npm run test",
"compile": "npm run build_css && npm run build_css_postcss && npm run build_js && npm run copy_asset_stats",
"postcompile": "npm run verify_assets",
"prebuild_js": "rm -rf ./assets/js/*",
"build_js": "webpack --json > webpack.stats.json",
"copy_asset_stats": "./bin/trim-webpack-stats webpack.stats.json > ./lib/webpack.stats.json && cp css.md5 ./lib",
"prebuild_css": "ls ./assets/fonts > /dev/null || mkdir -p ./assets/fonts && rm -rf ./client/css/* ./assets/css/*",
"build_css": "node-sass --source-map true --source-map-contents --include-path ./client/scss/ --include-path ./node_modules/foundation-sites/scss/ --include-path ./node_modules/motion-ui/src --include-path ./node_modules/font-awesome/scss --include-path ./node_modules/nuxeo-website-styles/SMAKK/sass --output-style compressed --output ./client/css/ ./client/scss/",
"postbuild_css": "openssl md5 client/css/* | awk '{print $2}' | sort | openssl md5 | grep -oE '[a-zA-Z0-9]+$' > css.md5",
"copy_fontawesome": "find ./node_modules/font-awesome/fonts/* -maxdepth 0 -type f -exec cp -f \"{}\" ./assets/fonts/ \\;",
"copy_fonts": "cp -r ./assets/fonts ./assets/css/",
"build_css_postcss": "postcss --use autoprefixer -c postcss.json -d assets/css/`cat css.md5` client/css/*.css",
"lint": "eslint --cache --fix .",
"yaml_lint": "js-yaml -t > /dev/null",
"default_redirects": "cp ./redirects_default.yml ./redirects.yml",
"empty_directories": "npm run empty_site && npm run empty_temp && npm run empty_logs",
"empty_site": "rm -rf ./site/*",
"empty_temp": "rm -rf ./temp/*",
"empty_logs": "rm -rf ./logs/* && mkdir -p ./logs",
"precopy_assets": "npm run copy_fontawesome && npm run copy_fonts",
"copy_assets": "rsync -a assets/ site/assets/ && rsync -a nx_assets/ site/nx_assets/ && npm run duplicate_asset_stats && cp editor.json ./site",
"copy_extras": "cp -v google197e4c8435c1cca7.html robots.txt opensearch.xml ./site",
"server": "browser-sync start --server site --browser=$npm_package_config_browser",
"server_reload": "browser-sync reload",
"browser_sync": "echo 'This has been replaced by server. npm run server';",
"browser_sync_reload": "echo 'This has been replaced by server_reload. npm run server_reload';",
"dev": "NODE_ENV=development nodemon --exec 'npm run compile && npm run copy_assets'",
"dev_server": "npm run server & NODE_ENV=development nodemon --watch lib --watch modules --watch layouts --watch client --exec 'npm start && browser-sync reload'",
"dev_assets": "npm run server & NODE_ENV=development nodemon --exec 'npm run update_assets && browser-sync reload'",
"test:dev:server": "browser-sync start --server coverage/lcov-report",
"test:dev": "nodemon --watch test --watch modules --ignore **/build --exec 'npx tap -b --coverage-report=html --no-browser test && npx browser-sync reload && npm run posttest'",
"duplicate_asset_stats": "npm run duplicate_css_stats && npm run duplicate_js_stats",
"duplicate_css_stats": "test -e temp/css.md5 || cp lib/css.md5 temp",
"duplicate_js_stats": "test -e temp/webpack.stats.json || cp lib/webpack.stats.json temp",
"add_css_to_existing_build": "cp -r assets/css/`cat css.md5`/* site/assets/css/`cat temp/css.md5`",
"add_js_to_existing_build": "./bin/add_js_to_existing_build lib/webpack.stats.json temp/webpack.stats.json",
"update_assets": "npm run compile && npm run add_css_to_existing_build && npm run add_js_to_existing_build && browser-sync reload",
"postversion": "git push && git push --tags",
"process_redirects": "bin/redirects-yml2nginx > redirects.txt"
},
"repository": {
"type": "git",
"url": "[email protected]:nuxeo/doc.nuxeo.com.git"
},
"bugs": {
"url": "[email protected]:nuxeo/doc.nuxeo.com.git/issues"
},
"homepage": "http://doc.nuxeo.com"
}