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.

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