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.

330 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.1.0",
  46. "apollo-server-express": "2.1.0",
  47. "auto-load": "3.0.1",
  48. "axios": "0.18.0",
  49. "bcryptjs-then": "1.0.1",
  50. "bluebird": "3.5.2",
  51. "body-parser": "1.18.3",
  52. "bugsnag": "2.4.3",
  53. "bull": "3.4.8",
  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.4",
  62. "dependency-graph": "0.7.2",
  63. "diff2html": "2.4.0",
  64. "dotize": "^0.2.0",
  65. "execa": "1.0.0",
  66. "express": "4.16.4",
  67. "express-brute": "1.0.1",
  68. "express-brute-redis": "0.0.1",
  69. "express-session": "1.15.6",
  70. "file-type": "10.2.0",
  71. "filesize.js": "1.0.2",
  72. "follow-redirects": "1.5.9",
  73. "fs-extra": "7.0.0",
  74. "getos": "3.1.0",
  75. "graphql": "14.0.2",
  76. "graphql-list-fields": "2.0.2",
  77. "graphql-subscriptions": "1.0.0",
  78. "graphql-tools": "4.0.2",
  79. "highlight.js": "9.13.1",
  80. "i18next": "12.0.0",
  81. "i18next-express-middleware": "1.4.1",
  82. "i18next-localstorage-cache": "1.1.1",
  83. "i18next-node-fs-backend": "2.1.0",
  84. "image-size": "0.6.3",
  85. "ioredis": "4.2.0",
  86. "js-binary": "1.2.0",
  87. "js-yaml": "3.12.0",
  88. "jsonwebtoken": "8.3.0",
  89. "klaw": "3.0.0",
  90. "knex": "0.15.2",
  91. "lodash": "4.17.11",
  92. "markdown-it": "8.4.2",
  93. "markdown-it-abbr": "1.0.4",
  94. "markdown-it-anchor": "5.0.2",
  95. "markdown-it-attrs": "2.3.2",
  96. "markdown-it-emoji": "1.4.0",
  97. "markdown-it-expand-tabs": "1.0.13",
  98. "markdown-it-external-links": "0.0.6",
  99. "markdown-it-footnote": "3.0.1",
  100. "markdown-it-imsize": "2.0.1",
  101. "markdown-it-mark": "2.0.0",
  102. "markdown-it-mathjax": "2.0.0",
  103. "markdown-it-sub": "1.0.0",
  104. "markdown-it-sup": "1.0.0",
  105. "markdown-it-task-lists": "2.1.1",
  106. "mathjax-node": "2.1.1",
  107. "mime-types": "2.1.21",
  108. "moment": "2.22.2",
  109. "moment-timezone": "0.5.21",
  110. "mongodb": "3.1.8",
  111. "mssql": "4.2.2",
  112. "multer": "1.4.1",
  113. "mysql2": "1.6.1",
  114. "node-2fa": "1.1.2",
  115. "node-cache": "4.2.0",
  116. "oauth2orize": "1.11.0",
  117. "objection": "1.4.0",
  118. "ora": "3.0.0",
  119. "passport": "0.4.0",
  120. "passport-auth0": "1.1.0",
  121. "passport-azure-ad-oauth2": "0.0.4",
  122. "passport-cas": "0.1.1",
  123. "passport-discord": "0.1.3",
  124. "passport-dropbox-oauth2": "1.1.0",
  125. "passport-facebook": "2.1.1",
  126. "passport-github2": "0.1.11",
  127. "passport-google-oauth20": "1.0.0",
  128. "passport-jwt": "4.0.0",
  129. "passport-ldapauth": "2.1.0",
  130. "passport-local": "1.0.0",
  131. "passport-oauth2": "1.4.0",
  132. "passport-okta-oauth": "0.0.1",
  133. "passport-openidconnect": "0.0.2",
  134. "passport-saml": "0.35.0",
  135. "passport-slack": "0.0.7",
  136. "passport-twitch": "1.0.3",
  137. "passport-windowslive": "1.0.2",
  138. "pg": "7.6.0",
  139. "pg-hstore": "2.3.2",
  140. "pm2": "3.2.2",
  141. "pug": "2.0.3",
  142. "qr-image": "3.2.0",
  143. "raven": "2.6.4",
  144. "read-chunk": "3.0.0",
  145. "remove-markdown": "0.3.0",
  146. "request": "2.88.0",
  147. "request-promise": "4.2.2",
  148. "scim-query-filter-parser": "1.1.0",
  149. "semver": "5.6.0",
  150. "serve-favicon": "2.5.0",
  151. "sqlite3": "4.0.3",
  152. "subscriptions-transport-ws": "0.9.15",
  153. "uslug": "1.0.4",
  154. "uuid": "3.3.2",
  155. "validator": "10.8.0",
  156. "validator-as-promised": "1.0.2",
  157. "winston": "3.1.0",
  158. "yargs": "12.0.2"
  159. },
  160. "devDependencies": {
  161. "@babel/cli": "^7.1.2",
  162. "@babel/core": "^7.1.2",
  163. "@babel/plugin-proposal-class-properties": "^7.1.0",
  164. "@babel/plugin-proposal-decorators": "^7.1.2",
  165. "@babel/plugin-proposal-export-namespace-from": "^7.0.0",
  166. "@babel/plugin-proposal-function-sent": "^7.1.0",
  167. "@babel/plugin-proposal-json-strings": "^7.0.0",
  168. "@babel/plugin-proposal-numeric-separator": "^7.0.0",
  169. "@babel/plugin-proposal-throw-expressions": "^7.0.0",
  170. "@babel/plugin-syntax-dynamic-import": "^7.0.0",
  171. "@babel/plugin-syntax-import-meta": "^7.0.0",
  172. "@babel/polyfill": "^7.0.0",
  173. "@babel/preset-env": "^7.1.0",
  174. "@panter/vue-i18next": "0.13.0",
  175. "@vue/cli": "3.0.5",
  176. "animated-number-vue": "0.1.3",
  177. "apollo-cache-inmemory": "1.3.7",
  178. "apollo-client": "2.4.4",
  179. "apollo-fetch": "0.7.0",
  180. "apollo-link": "1.2.3",
  181. "apollo-link-batch-http": "1.2.3",
  182. "apollo-link-error": "1.1.1",
  183. "apollo-link-http": "1.5.5",
  184. "apollo-link-persisted-queries": "0.2.1",
  185. "apollo-link-ws": "1.0.9",
  186. "apollo-utilities": "1.0.24",
  187. "autoprefixer": "9.3.1",
  188. "babel-eslint": "10.0.1",
  189. "babel-jest": "23.6.0",
  190. "babel-loader": "^8.0.4",
  191. "babel-plugin-graphql-tag": "1.6.0",
  192. "babel-plugin-lodash": "3.3.4",
  193. "babel-plugin-transform-imports": "1.5.1",
  194. "brace": "0.11.1",
  195. "cache-loader": "1.2.2",
  196. "chart.js": "2.7.3",
  197. "clean-webpack-plugin": "0.1.19",
  198. "copy-webpack-plugin": "4.5.4",
  199. "css-loader": "1.0.0",
  200. "cssnano": "4.1.7",
  201. "duplicate-package-checker-webpack-plugin": "3.0.0",
  202. "epic-spinners": "1.0.4",
  203. "eslint": "5.8.0",
  204. "eslint-config-requarks": "1.0.7",
  205. "eslint-config-standard": "12.0.0",
  206. "eslint-plugin-import": "2.14.0",
  207. "eslint-plugin-node": "8.0.0",
  208. "eslint-plugin-promise": "4.0.1",
  209. "eslint-plugin-standard": "4.0.0",
  210. "eslint-plugin-vue": "4.7.1",
  211. "file-loader": "2.0.0",
  212. "grapesjs": "0.14.33",
  213. "graphiql": "0.12.0",
  214. "graphql-persisted-document-loader": "1.0.1",
  215. "graphql-tag": "^2.10.0",
  216. "graphql-voyager": "1.0.0-rc.26",
  217. "hammerjs": "2.0.8",
  218. "html-webpack-plugin": "3.2.0",
  219. "html-webpack-pug-plugin": "0.3.0",
  220. "i18next-xhr-backend": "1.5.1",
  221. "ignore-loader": "0.1.2",
  222. "js-cookie": "2.2.0",
  223. "mini-css-extract-plugin": "0.4.4",
  224. "node-sass": "4.9.4",
  225. "offline-plugin": "5.0.5",
  226. "optimize-css-assets-webpack-plugin": "5.0.1",
  227. "postcss-cssnext": "3.1.0",
  228. "postcss-flexbugs-fixes": "4.1.0",
  229. "postcss-flexibility": "2.0.0",
  230. "postcss-import": "12.0.1",
  231. "postcss-loader": "3.0.0",
  232. "postcss-preset-env": "6.3.0",
  233. "postcss-selector-parser": "5.0.0-rc.4",
  234. "pug-lint": "2.5.0",
  235. "pug-loader": "2.4.0",
  236. "pug-plain-loader": "1.0.0",
  237. "raw-loader": "0.5.1",
  238. "react": "16.6.0",
  239. "react-dom": "16.6.0",
  240. "resolve-url-loader": "3.0.0",
  241. "sass-loader": "7.1.0",
  242. "sass-resources-loader": "1.3.4",
  243. "script-ext-html-webpack-plugin": "2.0.1",
  244. "simple-progress-webpack-plugin": "1.1.2",
  245. "style-loader": "0.23.1",
  246. "stylus": "0.54.5",
  247. "stylus-loader": "3.0.2",
  248. "twemoji-awesome": "1.0.6",
  249. "url-loader": "1.1.2",
  250. "vee-validate": "2.1.1",
  251. "velocity-animate": "1.5.2",
  252. "viz.js": "2.0.0",
  253. "vue": "2.5.17",
  254. "vue-apollo": "3.0.0-beta.25",
  255. "vue-chartjs": "3.4.0",
  256. "vue-clipboards": "1.2.4",
  257. "vue-codemirror": "4.0.5",
  258. "vue-hot-reload-api": "2.3.1",
  259. "vue-loader": "15.4.2",
  260. "vue-material-design-icons": "2.3.0",
  261. "vue-moment": "4.0.0",
  262. "vue-router": "3.0.1",
  263. "vue-simple-breakpoints": "1.0.3",
  264. "vue-status-indicator": "1.1.1",
  265. "vue-template-compiler": "2.5.17",
  266. "vue-tour": "1.1.0",
  267. "vue-tree-navigation": "3.0.1",
  268. "vue2-animate": "2.1.0",
  269. "vuedraggable": "2.16.0",
  270. "vuetify": "1.3.3",
  271. "vuex": "3.0.1",
  272. "vuex-pathify": "1.1.3",
  273. "vuex-persistedstate": "2.5.4",
  274. "webpack": "4.23.1",
  275. "webpack-bundle-analyzer": "3.0.3",
  276. "webpack-cli": "3.1.2",
  277. "webpack-dev-middleware": "3.4.0",
  278. "webpack-hot-middleware": "2.24.3",
  279. "webpack-merge": "4.1.4",
  280. "webpack-subresource-integrity": "1.2.0",
  281. "whatwg-fetch": "3.0.0",
  282. "write-file-webpack-plugin": "4.4.1",
  283. "xterm": "3.8.0"
  284. },
  285. "browserslist": [
  286. "> 1%",
  287. "last 2 versions",
  288. "Firefox ESR",
  289. "not ie < 11"
  290. ],
  291. "postcss": {
  292. "plugins": {
  293. "autoprefixer": {},
  294. "cssnano": {
  295. "preset": [
  296. "default",
  297. {
  298. "discardComments": {
  299. "removeAll": true
  300. }
  301. }
  302. ]
  303. },
  304. "postcss-flexbugs-fixes": {},
  305. "postcss-flexibility": {},
  306. "postcss-preset-env": {}
  307. }
  308. },
  309. "pugLintConfig": {
  310. "disallowDuplicateAttributes": true,
  311. "disallowIdAttributeWithStaticValue": true,
  312. "disallowMultipleLineBreaks": true,
  313. "requireClassLiteralsBeforeAttributes": true,
  314. "requireIdLiteralsBeforeAttributes": true,
  315. "requireLineFeedAtFileEnd": true,
  316. "requireLowerCaseAttributes": true,
  317. "requireLowerCaseTags": true,
  318. "requireSpaceAfterCodeOperator": true,
  319. "requireStrictEqualityOperators": true,
  320. "validateAttributeQuoteMarks": "'",
  321. "validateAttributeSeparator": ", ",
  322. "validateDivTags": true,
  323. "validateIndentation": 2
  324. },
  325. "collective": {
  326. "type": "opencollective",
  327. "url": "https://opencollective.com/wikijs",
  328. "logo": "https://opencollective.com/opencollective/logo.txt"
  329. }
  330. }