You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

332 lines
9.9 KiB

  1. {
  2. "name": "wiki",
  3. "version": "2.0.0",
  4. "description": "A modern, lightweight and powerful wiki app built on NodeJS, Git and Markdown",
  5. "main": "wiki.js",
  6. "scripts": {
  7. "start": "node wiki start",
  8. "stop": "node wiki stop",
  9. "restart": "node wiki restart",
  10. "dev": "node wiki dev",
  11. "build": "webpack --profile --config dev/webpack/webpack.prod.js",
  12. "watch": "webpack --config dev/webpack/webpack.dev.js",
  13. "test": "eslint --format codeframe --ext .js,.vue . && pug-lint server/views && jest",
  14. "docker:dev:up": "docker-compose up -d && docker-compose exec wiki yarn dev",
  15. "docker:dev:down": "docker-compose down",
  16. "docker:dev:rebuild": "docker-compose build",
  17. "docker:build": "docker-compose run wiki yarn build && docker-compose down"
  18. },
  19. "bin": {
  20. "wiki": "wiki.js"
  21. },
  22. "repository": {
  23. "type": "git",
  24. "url": "git+https://github.com/Requarks/wiki.git"
  25. },
  26. "keywords": [
  27. "wiki",
  28. "wikis",
  29. "docs",
  30. "documentation",
  31. "markdown",
  32. "guides",
  33. "knowledge base"
  34. ],
  35. "author": "Nicolas Giard",
  36. "license": "AGPL-3.0",
  37. "bugs": {
  38. "url": "https://github.com/Requarks/wiki/issues"
  39. },
  40. "homepage": "https://github.com/Requarks/wiki#readme",
  41. "engines": {
  42. "node": ">=10.10"
  43. },
  44. "dependencies": {
  45. "apollo-server": "2.2.2",
  46. "apollo-server-express": "2.2.2",
  47. "auto-load": "3.0.4",
  48. "axios": "0.18.0",
  49. "bcryptjs-then": "1.0.1",
  50. "bluebird": "3.5.3",
  51. "body-parser": "1.18.3",
  52. "bugsnag": "2.4.3",
  53. "bull": "3.5.2",
  54. "chalk": "2.4.1",
  55. "cheerio": "1.0.0-rc.2",
  56. "child-process-promise": "2.2.1",
  57. "chokidar": "2.0.4",
  58. "compression": "1.7.3",
  59. "connect-redis": "3.4.0",
  60. "cookie-parser": "1.4.3",
  61. "cors": "2.8.5",
  62. "dependency-graph": "0.7.2",
  63. "diff": "3.5.0",
  64. "diff2html": "2.5.0",
  65. "dotize": "^0.2.0",
  66. "execa": "1.0.0",
  67. "express": "4.16.4",
  68. "express-brute": "1.0.1",
  69. "express-brute-redis": "0.0.1",
  70. "express-session": "1.15.6",
  71. "file-type": "10.4.0",
  72. "filesize": "3.6.1",
  73. "follow-redirects": "1.5.9",
  74. "fs-extra": "7.0.1",
  75. "getos": "3.1.0",
  76. "graphql": "14.0.2",
  77. "graphql-list-fields": "2.0.2",
  78. "graphql-subscriptions": "1.0.0",
  79. "graphql-tools": "4.0.3",
  80. "highlight.js": "9.13.1",
  81. "i18next": "12.0.0",
  82. "i18next-express-middleware": "1.5.0",
  83. "i18next-localstorage-cache": "1.1.1",
  84. "i18next-node-fs-backend": "2.1.0",
  85. "image-size": "0.6.3",
  86. "ioredis": "4.2.0",
  87. "js-binary": "1.2.0",
  88. "js-yaml": "3.12.0",
  89. "jsonwebtoken": "8.4.0",
  90. "klaw": "3.0.0",
  91. "knex": "0.15.2",
  92. "lodash": "4.17.11",
  93. "markdown-it": "8.4.2",
  94. "markdown-it-abbr": "1.0.4",
  95. "markdown-it-anchor": "5.0.2",
  96. "markdown-it-attrs": "2.3.2",
  97. "markdown-it-emoji": "1.4.0",
  98. "markdown-it-expand-tabs": "1.0.13",
  99. "markdown-it-external-links": "0.0.6",
  100. "markdown-it-footnote": "3.0.1",
  101. "markdown-it-imsize": "2.0.1",
  102. "markdown-it-mark": "2.0.0",
  103. "markdown-it-mathjax": "2.0.0",
  104. "markdown-it-sub": "1.0.0",
  105. "markdown-it-sup": "1.0.0",
  106. "markdown-it-task-lists": "2.1.1",
  107. "mathjax-node": "2.1.1",
  108. "mime-types": "2.1.21",
  109. "moment": "2.22.2",
  110. "moment-timezone": "0.5.23",
  111. "mongodb": "3.1.10",
  112. "mssql": "4.2.3",
  113. "multer": "1.4.1",
  114. "mysql2": "1.6.4",
  115. "node-2fa": "1.1.2",
  116. "node-cache": "4.2.0",
  117. "oauth2orize": "1.11.0",
  118. "objection": "1.4.0",
  119. "ora": "3.0.0",
  120. "passport": "0.4.0",
  121. "passport-auth0": "1.1.0",
  122. "passport-azure-ad-oauth2": "0.0.4",
  123. "passport-cas": "0.1.1",
  124. "passport-discord": "0.1.3",
  125. "passport-dropbox-oauth2": "1.1.0",
  126. "passport-facebook": "2.1.1",
  127. "passport-github2": "0.1.11",
  128. "passport-google-oauth20": "1.0.0",
  129. "passport-jwt": "4.0.0",
  130. "passport-ldapauth": "2.1.0",
  131. "passport-local": "1.0.0",
  132. "passport-oauth2": "1.4.0",
  133. "passport-okta-oauth": "0.0.1",
  134. "passport-openidconnect": "0.0.2",
  135. "passport-saml": "0.35.0",
  136. "passport-slack": "0.0.7",
  137. "passport-twitch": "1.0.3",
  138. "passport-windowslive": "1.0.2",
  139. "pg": "7.6.1",
  140. "pg-hstore": "2.3.2",
  141. "pm2": "3.2.2",
  142. "pug": "2.0.3",
  143. "qr-image": "3.2.0",
  144. "raven": "2.6.4",
  145. "read-chunk": "3.0.0",
  146. "remove-markdown": "0.3.0",
  147. "request": "2.88.0",
  148. "request-promise": "4.2.2",
  149. "scim-query-filter-parser": "1.1.0",
  150. "semver": "5.6.0",
  151. "serve-favicon": "2.5.0",
  152. "sqlite3": "4.0.4",
  153. "subscriptions-transport-ws": "0.9.15",
  154. "uslug": "1.0.4",
  155. "uuid": "3.3.2",
  156. "validator": "10.9.0",
  157. "validator-as-promised": "1.0.2",
  158. "winston": "3.1.0",
  159. "yargs": "12.0.4"
  160. },
  161. "devDependencies": {
  162. "@babel/cli": "^7.1.5",
  163. "@babel/core": "^7.1.6",
  164. "@babel/plugin-proposal-class-properties": "^7.1.0",
  165. "@babel/plugin-proposal-decorators": "^7.1.6",
  166. "@babel/plugin-proposal-export-namespace-from": "^7.0.0",
  167. "@babel/plugin-proposal-function-sent": "^7.1.0",
  168. "@babel/plugin-proposal-json-strings": "^7.0.0",
  169. "@babel/plugin-proposal-numeric-separator": "^7.0.0",
  170. "@babel/plugin-proposal-throw-expressions": "^7.0.0",
  171. "@babel/plugin-syntax-dynamic-import": "^7.0.0",
  172. "@babel/plugin-syntax-import-meta": "^7.0.0",
  173. "@babel/polyfill": "^7.0.0",
  174. "@babel/preset-env": "^7.1.6",
  175. "@panter/vue-i18next": "0.13.0",
  176. "@vue/cli": "3.1.3",
  177. "animated-number-vue": "0.1.3",
  178. "apollo-cache-inmemory": "1.3.10",
  179. "apollo-client": "2.4.6",
  180. "apollo-fetch": "0.7.0",
  181. "apollo-link": "1.2.3",
  182. "apollo-link-batch-http": "1.2.3",
  183. "apollo-link-error": "1.1.1",
  184. "apollo-link-http": "1.5.5",
  185. "apollo-link-persisted-queries": "0.2.2",
  186. "apollo-link-ws": "1.0.9",
  187. "apollo-utilities": "1.0.25",
  188. "autoprefixer": "9.3.1",
  189. "babel-eslint": "10.0.1",
  190. "babel-jest": "23.6.0",
  191. "babel-loader": "^8.0.4",
  192. "babel-plugin-graphql-tag": "1.6.0",
  193. "babel-plugin-lodash": "3.3.4",
  194. "babel-plugin-transform-imports": "1.5.1",
  195. "brace": "0.11.1",
  196. "cache-loader": "1.2.5",
  197. "chart.js": "2.7.3",
  198. "clean-webpack-plugin": "1.0.0",
  199. "copy-webpack-plugin": "4.6.0",
  200. "core-js": "2.5.7",
  201. "css-loader": "1.0.1",
  202. "cssnano": "4.1.7",
  203. "duplicate-package-checker-webpack-plugin": "3.0.0",
  204. "epic-spinners": "1.0.4",
  205. "eslint": "5.9.0",
  206. "eslint-config-requarks": "1.0.7",
  207. "eslint-config-standard": "12.0.0",
  208. "eslint-plugin-import": "2.14.0",
  209. "eslint-plugin-node": "8.0.0",
  210. "eslint-plugin-promise": "4.0.1",
  211. "eslint-plugin-standard": "4.0.0",
  212. "eslint-plugin-vue": "4.7.1",
  213. "file-loader": "2.0.0",
  214. "filesize.js": "1.0.2",
  215. "grapesjs": "0.14.40",
  216. "graphiql": "0.12.0",
  217. "graphql-persisted-document-loader": "1.0.1",
  218. "graphql-tag": "^2.10.0",
  219. "graphql-voyager": "1.0.0-rc.26",
  220. "hammerjs": "2.0.8",
  221. "html-webpack-plugin": "3.2.0",
  222. "html-webpack-pug-plugin": "0.3.0",
  223. "i18next-xhr-backend": "1.5.1",
  224. "ignore-loader": "0.1.2",
  225. "js-cookie": "2.2.0",
  226. "mini-css-extract-plugin": "0.4.4",
  227. "node-sass": "4.9.4",
  228. "offline-plugin": "5.0.6",
  229. "optimize-css-assets-webpack-plugin": "5.0.1",
  230. "postcss-cssnext": "3.1.0",
  231. "postcss-flexbugs-fixes": "4.1.0",
  232. "postcss-flexibility": "2.0.0",
  233. "postcss-import": "12.0.1",
  234. "postcss-loader": "3.0.0",
  235. "postcss-preset-env": "6.4.0",
  236. "postcss-selector-parser": "5.0.0-rc.4",
  237. "pug-lint": "2.5.0",
  238. "pug-loader": "2.4.0",
  239. "pug-plain-loader": "1.0.0",
  240. "raw-loader": "0.5.1",
  241. "react": "16.6.3",
  242. "react-dom": "16.6.3",
  243. "resolve-url-loader": "3.0.0",
  244. "sass-loader": "7.1.0",
  245. "sass-resources-loader": "2.0.0",
  246. "script-ext-html-webpack-plugin": "2.1.3",
  247. "simple-progress-webpack-plugin": "1.1.2",
  248. "style-loader": "0.23.1",
  249. "stylus": "0.54.5",
  250. "stylus-loader": "3.0.2",
  251. "twemoji-awesome": "1.0.6",
  252. "url-loader": "1.1.2",
  253. "vee-validate": "2.1.3",
  254. "velocity-animate": "1.5.2",
  255. "viz.js": "2.1.1",
  256. "vue": "2.5.17",
  257. "vue-apollo": "3.0.0-beta.26",
  258. "vue-chartjs": "3.4.0",
  259. "vue-clipboards": "1.2.4",
  260. "vue-codemirror": "4.0.6",
  261. "vue-hot-reload-api": "2.3.1",
  262. "vue-loader": "15.4.2",
  263. "vue-material-design-icons": "2.4.0",
  264. "vue-moment": "4.0.0",
  265. "vue-router": "3.0.1",
  266. "vue-simple-breakpoints": "1.0.3",
  267. "vue-status-indicator": "1.1.1",
  268. "vue-template-compiler": "2.5.17",
  269. "vue-tour": "1.1.0",
  270. "vue2-animate": "2.1.0",
  271. "vuedraggable": "2.16.0",
  272. "vuetify": "1.3.8",
  273. "vuex": "3.0.1",
  274. "vuex-pathify": "1.1.3",
  275. "vuex-persistedstate": "2.5.4",
  276. "webpack": "4.25.1",
  277. "webpack-bundle-analyzer": "3.0.3",
  278. "webpack-cli": "3.1.2",
  279. "webpack-dev-middleware": "3.4.0",
  280. "webpack-hot-middleware": "2.24.3",
  281. "webpack-merge": "4.1.4",
  282. "webpack-subresource-integrity": "1.3.0",
  283. "whatwg-fetch": "3.0.0",
  284. "write-file-webpack-plugin": "4.4.1",
  285. "xterm": "3.8.0"
  286. },
  287. "browserslist": [
  288. "> 1%",
  289. "last 2 versions",
  290. "Firefox ESR",
  291. "not ie < 11"
  292. ],
  293. "postcss": {
  294. "plugins": {
  295. "autoprefixer": {},
  296. "cssnano": {
  297. "preset": [
  298. "default",
  299. {
  300. "discardComments": {
  301. "removeAll": true
  302. }
  303. }
  304. ]
  305. },
  306. "postcss-flexbugs-fixes": {},
  307. "postcss-flexibility": {},
  308. "postcss-preset-env": {}
  309. }
  310. },
  311. "pugLintConfig": {
  312. "disallowDuplicateAttributes": true,
  313. "disallowIdAttributeWithStaticValue": true,
  314. "disallowMultipleLineBreaks": true,
  315. "requireClassLiteralsBeforeAttributes": true,
  316. "requireIdLiteralsBeforeAttributes": true,
  317. "requireLineFeedAtFileEnd": true,
  318. "requireLowerCaseAttributes": true,
  319. "requireLowerCaseTags": true,
  320. "requireSpaceAfterCodeOperator": true,
  321. "requireStrictEqualityOperators": true,
  322. "validateAttributeQuoteMarks": "'",
  323. "validateAttributeSeparator": ", ",
  324. "validateDivTags": true,
  325. "validateIndentation": 2
  326. },
  327. "collective": {
  328. "type": "opencollective",
  329. "url": "https://opencollective.com/wikijs",
  330. "logo": "https://opencollective.com/opencollective/logo.txt"
  331. }
  332. }