package.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. {
  2. "name": "wiki",
  3. "version": "2.0.0",
  4. "releaseDate": "2019-01-01T01:01:01.000Z",
  5. "description": "A modern, lightweight and powerful wiki app built on NodeJS, Git and Markdown",
  6. "main": "wiki.js",
  7. "dev": true,
  8. "scripts": {
  9. "start": "node server",
  10. "dev": "NODE_OPTIONS=--openssl-legacy-provider node dev",
  11. "build": "NODE_OPTIONS=--openssl-legacy-provider webpack --profile --config dev/webpack/webpack.prod.js",
  12. "watch": "NODE_OPTIONS=--openssl-legacy-provider webpack --config dev/webpack/webpack.dev.js",
  13. "test": "eslint --format codeframe --ext .js,.vue . && pug-lint server/views && jest",
  14. "cypress:open": "cypress open",
  15. "postinstall": "patch-package"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/Requarks/wiki.git"
  20. },
  21. "keywords": [
  22. "wiki",
  23. "wikis",
  24. "docs",
  25. "documentation",
  26. "markdown",
  27. "guides",
  28. "knowledge base"
  29. ],
  30. "author": "Nicolas Giard",
  31. "license": "AGPL-3.0",
  32. "bugs": {
  33. "url": "https://github.com/Requarks/wiki/issues"
  34. },
  35. "homepage": "https://github.com/Requarks/wiki#readme",
  36. "engines": {
  37. "node": ">=10.12"
  38. },
  39. "dependencies": {
  40. "@azure/storage-blob": "12.12.0",
  41. "@exlinc/keycloak-passport": "1.0.2",
  42. "@joplin/turndown-plugin-gfm": "1.0.45",
  43. "@root/csr": "0.8.1",
  44. "@root/keypairs": "0.10.3",
  45. "@root/pem": "1.0.4",
  46. "acme": "3.0.3",
  47. "akismet-api": "5.3.0",
  48. "algoliasearch": "4.5.1",
  49. "apollo-fetch": "0.7.0",
  50. "apollo-server": "2.25.2",
  51. "apollo-server-express": "2.25.2",
  52. "asciidoctor": "2.2.6",
  53. "auto-load": "3.0.4",
  54. "aws-sdk": "2.1309.0",
  55. "azure-search-client": "3.1.5",
  56. "bcryptjs-then": "1.0.1",
  57. "bluebird": "3.7.2",
  58. "body-parser": "1.20.1",
  59. "chalk": "4.1.0",
  60. "cheerio": "1.0.0-rc.5",
  61. "chokidar": "3.5.3",
  62. "chromium-pickle-js": "0.2.0",
  63. "clean-css": "5.3.2",
  64. "command-exists": "1.2.9",
  65. "compression": "1.7.4",
  66. "connect-session-knex": "2.0.0",
  67. "cookie-parser": "1.4.6",
  68. "cors": "2.8.5",
  69. "cuint": "0.2.2",
  70. "custom-error-instance": "2.1.2",
  71. "dependency-graph": "0.11.0",
  72. "diff": "4.0.2",
  73. "diff2html": "3.1.14",
  74. "dompurify": "2.4.3",
  75. "dotize": "0.3.0",
  76. "elasticsearch6": "npm:@elastic/elasticsearch@6",
  77. "elasticsearch7": "npm:@elastic/elasticsearch@7",
  78. "emoji-regex": "10.2.1",
  79. "eventemitter2": "6.4.9",
  80. "express": "4.18.2",
  81. "express-brute": "1.0.1",
  82. "express-session": "1.17.3",
  83. "file-type": "15.0.1",
  84. "filesize": "6.1.0",
  85. "fs-extra": "9.0.1",
  86. "getos": "3.2.1",
  87. "graphql": "15.3.0",
  88. "graphql-list-fields": "2.0.2",
  89. "graphql-rate-limit-directive": "1.2.1",
  90. "graphql-subscriptions": "1.1.0",
  91. "graphql-tools": "7.0.0",
  92. "he": "1.2.0",
  93. "highlight.js": "10.3.1",
  94. "i18next": "19.8.3",
  95. "i18next-express-middleware": "2.0.0",
  96. "i18next-node-fs-backend": "2.1.3",
  97. "image-size": "0.9.2",
  98. "js-base64": "3.7.4",
  99. "js-binary": "1.2.0",
  100. "js-yaml": "3.14.0",
  101. "jsdom": "16.4.0",
  102. "jsonwebtoken": "9.0.0",
  103. "katex": "0.12.0",
  104. "klaw": "3.0.0",
  105. "knex": "0.21.7",
  106. "lodash": "4.17.21",
  107. "luxon": "1.25.0",
  108. "markdown-it": "11.0.1",
  109. "markdown-it-abbr": "1.0.4",
  110. "markdown-it-attrs": "3.0.3",
  111. "markdown-it-decorate": "1.2.2",
  112. "markdown-it-emoji": "3.0.0",
  113. "markdown-it-expand-tabs": "1.0.13",
  114. "markdown-it-external-links": "0.0.6",
  115. "markdown-it-footnote": "3.0.3",
  116. "markdown-it-imsize": "2.0.1",
  117. "markdown-it-mark": "3.0.1",
  118. "markdown-it-mathjax": "2.0.0",
  119. "markdown-it-multimd-table": "4.0.3",
  120. "markdown-it-pivot-table": "1.0.5",
  121. "markdown-it-sub": "1.0.0",
  122. "markdown-it-sup": "1.0.0",
  123. "markdown-it-task-lists": "2.1.1",
  124. "mathjax": "3.2.2",
  125. "mime-types": "2.1.35",
  126. "moment": "2.29.4",
  127. "moment-timezone": "0.5.40",
  128. "mongodb": "3.6.5",
  129. "ms": "2.1.3",
  130. "mssql": "6.2.3",
  131. "multer": "1.4.4",
  132. "mysql2": "3.1.0",
  133. "nanoid": "3.2.0",
  134. "node-2fa": "1.1.2",
  135. "node-cache": "5.1.2",
  136. "nodemailer": "6.9.1",
  137. "objection": "2.2.18",
  138. "passport": "0.4.1",
  139. "passport-auth0": "1.4.3",
  140. "passport-azure-ad": "4.3.4",
  141. "passport-cas": "0.1.1",
  142. "passport-discord": "0.1.4",
  143. "passport-dropbox-oauth2": "1.1.0",
  144. "passport-facebook": "3.0.0",
  145. "passport-github2": "0.1.12",
  146. "passport-gitlab2": "5.0.0",
  147. "passport-google-oauth20": "2.0.0",
  148. "passport-jwt": "4.0.1",
  149. "passport-ldapauth": "3.0.1",
  150. "passport-local": "1.0.0",
  151. "passport-microsoft": "0.1.0",
  152. "passport-oauth2": "1.6.1",
  153. "passport-okta-oauth": "0.0.1",
  154. "passport-openidconnect": "0.1.1",
  155. "passport-saml": "3.2.4",
  156. "passport-slack-oauth2": "1.1.1",
  157. "passport-twitch-strategy": "2.2.0",
  158. "patch-package": "8.0.0",
  159. "pem-jwk": "2.0.0",
  160. "pg": "8.9.0",
  161. "pg-hstore": "2.3.4",
  162. "pg-pubsub": "0.5.0",
  163. "pg-query-stream": "4.3.0",
  164. "pg-tsquery": "8.4.1",
  165. "postinstall-postinstall": "2.1.0",
  166. "pug": "3.0.2",
  167. "punycode": "2.3.0",
  168. "qr-image": "3.2.0",
  169. "raven": "2.6.4",
  170. "remove-markdown": "0.5.0",
  171. "request": "2.88.2",
  172. "request-promise": "4.2.6",
  173. "safe-regex": "2.1.1",
  174. "sanitize-filename": "1.6.3",
  175. "scim-query-filter-parser": "2.0.4",
  176. "semver": "7.3.8",
  177. "serve-favicon": "2.5.0",
  178. "simple-git": "3.16.0",
  179. "solr-node": "1.2.1",
  180. "sqlite3": "5.1.4",
  181. "ssh2": "1.11.0",
  182. "ssh2-promise": "1.0.3",
  183. "striptags": "3.2.0",
  184. "subscriptions-transport-ws": "0.9.18",
  185. "tar-fs": "2.1.1",
  186. "turndown": "7.1.1",
  187. "twemoji": "14.0.2",
  188. "uslug": "1.0.4",
  189. "uuid": "9.0.0",
  190. "validate.js": "0.13.1",
  191. "winston": "3.8.2",
  192. "xss": "1.0.14",
  193. "yargs": "17.6.2"
  194. },
  195. "devDependencies": {
  196. "@babel/cli": "^7.12.1",
  197. "@babel/core": "^7.12.3",
  198. "@babel/plugin-proposal-class-properties": "^7.12.1",
  199. "@babel/plugin-proposal-decorators": "^7.12.1",
  200. "@babel/plugin-proposal-export-namespace-from": "^7.12.1",
  201. "@babel/plugin-proposal-function-sent": "^7.12.1",
  202. "@babel/plugin-proposal-json-strings": "^7.12.1",
  203. "@babel/plugin-proposal-numeric-separator": "^7.12.1",
  204. "@babel/plugin-proposal-throw-expressions": "^7.12.1",
  205. "@babel/plugin-syntax-dynamic-import": "^7.8.3",
  206. "@babel/plugin-syntax-import-meta": "^7.10.4",
  207. "@babel/polyfill": "^7.12.1",
  208. "@babel/preset-env": "^7.12.1",
  209. "@mdi/font": "5.8.55",
  210. "@panter/vue-i18next": "0.15.2",
  211. "@requarks/ckeditor5": "19.0.1-wiki.2",
  212. "@vue/babel-preset-app": "4.5.15",
  213. "animate-sass": "0.8.2",
  214. "animated-number-vue": "1.0.0",
  215. "apollo-cache-inmemory": "1.6.6",
  216. "apollo-client": "2.6.10",
  217. "apollo-link": "1.2.14",
  218. "apollo-link-batch-http": "1.2.14",
  219. "apollo-link-error": "1.1.13",
  220. "apollo-link-http": "1.5.17",
  221. "apollo-link-persisted-queries": "0.2.5",
  222. "apollo-link-ws": "1.0.20",
  223. "apollo-utilities": "1.3.4",
  224. "autoprefixer": "9.8.6",
  225. "babel-eslint": "10.1.0",
  226. "babel-jest": "26.6.1",
  227. "babel-loader": "^8.1.0",
  228. "babel-plugin-graphql-tag": "3.1.0",
  229. "babel-plugin-lodash": "3.3.4",
  230. "babel-plugin-prismjs": "2.0.1",
  231. "babel-plugin-transform-imports": "2.0.0",
  232. "cache-loader": "4.1.0",
  233. "canvas-confetti": "1.3.1",
  234. "cash-dom": "8.1.3",
  235. "chart.js": "2.9.4",
  236. "clean-webpack-plugin": "3.0.0",
  237. "clipboard": "2.0.11",
  238. "codemirror": "5.58.2",
  239. "codemirror-asciidoc": "1.0.4",
  240. "copy-webpack-plugin": "6.2.1",
  241. "core-js": "3.6.5",
  242. "css-loader": "4.3.0",
  243. "cssnano": "4.1.10",
  244. "cypress": "5.3.0",
  245. "d3": "6.2.0",
  246. "duplicate-package-checker-webpack-plugin": "3.0.0",
  247. "epic-spinners": "1.1.0",
  248. "eslint": "7.12.0",
  249. "eslint-config-requarks": "1.0.7",
  250. "eslint-config-standard": "15.0.0",
  251. "eslint-plugin-cypress": "2.11.2",
  252. "eslint-plugin-import": "2.22.1",
  253. "eslint-plugin-node": "11.1.0",
  254. "eslint-plugin-promise": "4.2.1",
  255. "eslint-plugin-standard": "4.0.2",
  256. "eslint-plugin-vue": "7.1.0",
  257. "file-loader": "6.1.1",
  258. "filepond": "4.21.1",
  259. "filepond-plugin-file-validate-type": "1.2.8",
  260. "filesize.js": "2.0.0",
  261. "graphql-persisted-document-loader": "2.0.0",
  262. "graphql-tag": "2.11.0",
  263. "hammerjs": "2.0.8",
  264. "html-webpack-plugin": "4.5.0",
  265. "html-webpack-pug-plugin": "2.0.0",
  266. "i18next-chained-backend": "2.0.1",
  267. "i18next-localstorage-backend": "3.1.3",
  268. "i18next-xhr-backend": "3.2.2",
  269. "ignore-loader": "0.1.2",
  270. "jest": "26.6.1",
  271. "js-beautify": "1.13.5",
  272. "js-cookie": "2.2.1",
  273. "mermaid": "8.8.2",
  274. "mini-css-extract-plugin": "0.11.3",
  275. "moment-duration-format": "2.3.2",
  276. "moment-timezone-data-webpack-plugin": "1.3.0",
  277. "offline-plugin": "5.0.7",
  278. "optimize-css-assets-webpack-plugin": "5.0.4",
  279. "pako": "1.0.11",
  280. "postcss-cssnext": "3.1.1",
  281. "postcss-flexbugs-fixes": "4.2.1",
  282. "postcss-flexibility": "2.0.0",
  283. "postcss-import": "12.0.1",
  284. "postcss-loader": "3.0.0",
  285. "postcss-preset-env": "6.7.0",
  286. "postcss-selector-parser": "6.0.11",
  287. "prismjs": "1.22.0",
  288. "pug-lint": "2.6.0",
  289. "pug-loader": "2.4.0",
  290. "pug-plain-loader": "1.0.0",
  291. "raw-loader": "4.0.2",
  292. "resolve-url-loader": "3.1.2",
  293. "sass": "1.27.0",
  294. "sass-loader": "10.0.4",
  295. "sass-resources-loader": "2.1.1",
  296. "script-ext-html-webpack-plugin": "2.1.5",
  297. "simple-progress-webpack-plugin": "1.1.2",
  298. "style-loader": "1.3.0",
  299. "terser": "5.3.8",
  300. "twemoji-awesome": "1.0.6",
  301. "url-loader": "4.1.1",
  302. "velocity-animate": "1.5.2",
  303. "viz.js": "2.1.2",
  304. "vue": "2.6.14",
  305. "vue-apollo": "3.0.5",
  306. "vue-chartjs": "3.5.1",
  307. "vue-clipboards": "1.3.0",
  308. "vue-filepond": "6.0.3",
  309. "vue-hot-reload-api": "2.3.4",
  310. "vue-loader": "15.9.8",
  311. "vue-moment": "4.1.0",
  312. "vue-router": "3.4.7",
  313. "vue-status-indicator": "1.2.1",
  314. "vue-template-compiler": "2.6.14",
  315. "vue2-animate": "2.1.4",
  316. "vuedraggable": "2.24.3",
  317. "vuescroll": "4.16.1",
  318. "vuetify": "2.3.15",
  319. "vuetify-loader": "1.6.0",
  320. "vuex": "3.5.1",
  321. "vuex-pathify": "1.4.5",
  322. "vuex-persistedstate": "3.1.0",
  323. "webpack": "4.44.2",
  324. "webpack-bundle-analyzer": "3.9.0",
  325. "webpack-cli": "3.3.12",
  326. "webpack-dev-middleware": "3.7.2",
  327. "webpack-hot-middleware": "2.25.3",
  328. "webpack-merge": "5.2.0",
  329. "webpack-modernizr-loader": "5.0.0",
  330. "webpack-subresource-integrity": "1.5.1",
  331. "webpackbar": "4.0.0",
  332. "whatwg-fetch": "3.6.2",
  333. "write-file-webpack-plugin": "4.5.1",
  334. "xterm": "4.9.0",
  335. "zxcvbn": "4.4.2"
  336. },
  337. "resolutions": {
  338. "apollo-server-express/**/graphql-tools": "4.0.8",
  339. "graphql": "15.3.0"
  340. },
  341. "browserslist": [
  342. "> 1%",
  343. "last 2 major versions",
  344. "Firefox ESR",
  345. "not ie > 0",
  346. "not ie_mob > 0",
  347. "not android > 0",
  348. "not dead"
  349. ],
  350. "postcss": {
  351. "plugins": {
  352. "autoprefixer": {},
  353. "cssnano": {
  354. "preset": [
  355. "default",
  356. {
  357. "discardComments": {
  358. "removeAll": true
  359. }
  360. }
  361. ]
  362. },
  363. "postcss-flexbugs-fixes": {},
  364. "postcss-flexibility": {}
  365. }
  366. },
  367. "pugLintConfig": {
  368. "disallowDuplicateAttributes": true,
  369. "disallowIdAttributeWithStaticValue": true,
  370. "disallowMultipleLineBreaks": true,
  371. "requireClassLiteralsBeforeAttributes": true,
  372. "requireIdLiteralsBeforeAttributes": true,
  373. "requireLineFeedAtFileEnd": true,
  374. "requireLowerCaseAttributes": true,
  375. "requireLowerCaseTags": true,
  376. "requireSpaceAfterCodeOperator": true,
  377. "requireStrictEqualityOperators": true,
  378. "validateAttributeQuoteMarks": "'",
  379. "validateAttributeSeparator": {
  380. "separator": ", ",
  381. "multiLineSeparator": "\n "
  382. },
  383. "validateDivTags": true,
  384. "validateIndentation": 2,
  385. "excludeFiles": [
  386. "node_modules/**",
  387. "server/views/master.pug",
  388. "server/views/setup.pug",
  389. "server/views/legacy/master.pug"
  390. ]
  391. },
  392. "collective": {
  393. "type": "opencollective",
  394. "url": "https://opencollective.com/wikijs",
  395. "logo": "https://opencollective.com/opencollective/logo.txt"
  396. }
  397. }