This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/package.json

190 lines
5.7 KiB
JSON
Raw Normal View History

2016-02-27 21:53:11 +00:00
{
2018-05-05 23:16:08 +00:00
"name": "outline",
"private": true,
2016-02-27 21:53:11 +00:00
"main": "index.js",
"scripts": {
"clean": "rimraf dist",
"build:webpack": "NODE_ENV=production webpack --config webpack.config.prod.js",
2018-01-04 05:35:13 +00:00
"build:analyze": "NODE_ENV=production webpack --config webpack.config.prod.js --json > stats.json",
2016-02-27 21:53:11 +00:00
"build": "npm run clean && npm run build:webpack",
2017-11-10 23:24:29 +00:00
"start": "NODE_ENV=production node index.js",
2018-05-31 19:44:32 +00:00
"dev": "NODE_ENV=development nodemon --watch server index.js",
"lint": "eslint app server",
"flow": "flow",
2016-06-04 22:52:19 +00:00
"deploy": "git push heroku master",
"heroku-postbuild": "npm run build && npm run sequelize:migrate",
"sequelize:create-migration": "sequelize migration:create",
"sequelize:migrate": "sequelize db:migrate",
2017-10-26 05:49:04 +00:00
"test": "npm run test:app && npm run test:server",
"test:app": "jest",
"test:server": "jest --config=server/.jestconfig.json --runInBand --forceExit",
2019-03-02 23:56:41 +00:00
"test:watch": "jest --config=server/.jestconfig.json --runInBand --forceExit --watchAll"
},
"jest": {
"testURL": "http://localhost",
"verbose": false,
"roots": [
"app",
"shared"
],
"moduleNameMapper": {
"^shared/(.*)$": "<rootDir>/shared/$1",
"^.*[.](gif|ttf|eot|svg)$": "<rootDir>/__test__/fileMock.js"
},
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleDirectories": [
"node_modules"
],
"modulePaths": [
"app"
],
"setupFiles": [
"<rootDir>/setupJest.js",
2017-11-18 21:19:01 +00:00
"<rootDir>/__mocks__/window.js"
]
2016-02-27 21:53:11 +00:00
},
2016-08-22 06:44:18 +00:00
"engines": {
"node": ">= 12"
2016-08-22 06:44:18 +00:00
},
2016-02-27 21:53:11 +00:00
"repository": {
"type": "git",
2017-11-09 08:20:22 +00:00
"url": "git+ssh://git@github.com/outline/outline.git"
2016-02-27 21:53:11 +00:00
},
"dependencies": {
"@sentry/node": "^5.12.2",
"@tippy.js/react": "^2.2.2",
"@tommoor/remove-markdown": "0.3.1",
"autotrack": "^2.4.1",
2018-02-28 07:59:54 +00:00
"aws-sdk": "^2.135.0",
2018-05-12 22:39:29 +00:00
"babel-core": "^6.24.1",
"babel-loader": "^7.1.2",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-styled-components": "^1.1.7",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-regenerator": "^6.24.1",
"babel-polyfill": "^6.13.0",
"babel-preset-env": "^1.4.0",
"babel-preset-react": "6.11.1",
"babel-preset-react-hmre": "1.1.1",
"babel-regenerator-runtime": "6.5.0",
"boundless-arrow-key-navigation": "^1.0.4",
"boundless-popover": "^1.0.4",
"bull": "^3.5.2",
"cancan": "3.1.0",
"copy-to-clipboard": "^3.0.6",
2018-03-07 04:31:12 +00:00
"date-fns": "1.29.0",
"debug": "^4.1.1",
2017-04-27 05:18:36 +00:00
"dotenv": "^4.0.0",
2017-07-29 22:06:17 +00:00
"emoji-regex": "^6.5.1",
2018-01-04 00:29:01 +00:00
"exports-loader": "^0.6.4",
"file-loader": "^1.1.6",
2019-10-27 06:49:37 +00:00
"flow-typed": "^2.6.2",
2017-11-29 06:46:26 +00:00
"fs-extra": "^4.0.2",
2019-10-27 04:44:45 +00:00
"google-auth-library": "^5.5.1",
2019-10-27 04:25:09 +00:00
"html-webpack-plugin": "3.2.0",
"http-errors": "1.4.0",
2017-12-03 07:14:27 +00:00
"immutable": "^3.8.2",
"imports-loader": "0.6.5",
2017-05-12 00:23:56 +00:00
"invariant": "^2.2.2",
"ioredis": "^4.14.1",
"isomorphic-fetch": "2.2.1",
2017-10-02 01:36:44 +00:00
"js-search": "^1.4.2",
"json-loader": "0.5.4",
"jsonwebtoken": "^8.5.0",
2018-07-07 23:19:13 +00:00
"jszip": "3.1.5",
2019-10-27 04:35:50 +00:00
"koa": "^2.10.0",
"koa-bodyparser": "4.2.0",
"koa-compress": "2.0.0",
"koa-convert": "1.2.0",
2019-10-27 04:35:50 +00:00
"koa-helmet": "5.2.0",
"koa-jwt": "^3.6.0",
2017-04-27 05:25:52 +00:00
"koa-logger": "^2.0.1",
"koa-mount": "^3.0.0",
2018-02-11 06:58:22 +00:00
"koa-onerror": "^4.0.0",
"koa-router": "7.0.1",
"koa-sendfile": "2.0.0",
2018-11-04 18:15:37 +00:00
"koa-sslify": "2.1.2",
2018-11-13 07:33:03 +00:00
"koa-static": "^4.0.1",
"lodash": "^4.17.13",
"mobx": "4.6.0",
"mobx-react": "^5.4.2",
"natural-sort": "^1.0.0",
"nodemailer": "^4.4.0",
feat: Add groups and group permissions (#1204) * WIP - got one API test to pass yay * adds group update endpoint * added group policies * adds groups.list API * adds groups.info * remove comment * WIP * tests for delete * adds group membership list * adds tests for groups list * add and remove user endpoints for group * ask some questions * fix up some issues around primary keys * remove export from group permissions Co-Authored-By: Tom Moor <tom.moor@gmail.com> * remove random file * only create events on actual updates, add tests to ensure * adds uniqueness validation to group name * throw validation errors on model and let it pass through the controller * fix linting * WIP * WIP * WIP * WIP * WIP basic edit and delete * basic CRUD for groups and memberships in place * got member counts working * add member count and limit the number of users sent over teh wire to 6 * factor avatar with AvatarWithPresence into its own class * wip * WIP avatars in group lists * WIP collection groups * add and remove group endpoints * wip add collection groups * wip get group adding to collections to work * wip get updating collection group memberships to work * wip get new group modal working * add tests for collection index * include collection groups in the withmemberships scope * tie permissions to group memberships * remove unused import * Update app/components/GroupListItem.js update title copy Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update server/migrations/20191211044318-create-groups.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update server/api/groups.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update server/api/groups.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/menus/CollectionMenu.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update server/models/Group.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * minor fixes * Update app/scenes/CollectionMembers/AddGroupsToCollection.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/menus/GroupMenu.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/menus/GroupMenu.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/menus/GroupMenu.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/scenes/Collection.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/scenes/CollectionMembers/CollectionMembers.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/scenes/GroupNew.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/scenes/GroupNew.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/scenes/Settings/Groups.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update server/api/documents.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * Update app/scenes/CollectionMembers/components/CollectionGroupMemberListItem.js Co-Authored-By: Tom Moor <tom.moor@gmail.com> * address comments * WIP - getting websocket stuff up and running * socket event for group deletion * wrapped up cascading deletes * lint * flow * fix: UI feedback * fix: Facepile size * fix: Lots of missing await's * Allow clicking facepile on group list item to open members * remove unused route push, grammar * fix: Remove bad analytics events feat: Add group events to audit log * collection. -> collections. * Add groups to entity websocket events (sync create/update/delete) between clients * fix: Users should not be able to see groups they are not a member of * fix: Not caching errors in UI when changing group memberships * fix: Hide unusable UI * test * fix: Tweak language * feat: Automatically open 'add member' modal after creating group Co-authored-by: Tom Moor <tom.moor@gmail.com>
2020-03-15 03:48:32 +00:00
"outline-icons": "^1.13.0",
"oy-vey": "^0.10.0",
2017-04-27 05:18:36 +00:00
"pg": "^6.1.5",
"pg-hstore": "2.3.2",
2017-07-09 17:59:33 +00:00
"polished": "1.2.1",
2017-04-27 05:18:36 +00:00
"query-string": "^4.3.4",
"randomstring": "1.1.5",
2016-09-15 03:50:59 +00:00
"raw-loader": "^0.5.1",
"react": "^16.8.6",
2017-12-14 07:17:08 +00:00
"react-avatar-editor": "^10.3.0",
"react-color": "^2.17.3",
"react-dom": "^16.8.6",
2017-11-10 21:42:33 +00:00
"react-dropzone": "4.2.1",
2017-10-22 23:33:10 +00:00
"react-helmet": "^5.2.0",
Slate editor (#38) * WIP: Slate editor * WIP * Focus at start / end working * ah ha * Super basic floating toolbar * Nested list editing * Pulling more logic into plugins * inline code markdown * Backspace at end of code block should remove mark * Ensure there is always an empty line at editor end * Add keyboard shortcuts for bold, italic, underline * Add strikethrough shortcode and toolbar * Toolbar to declarative Fixed paragraph styling Removed unused stuffs * Super basic link editing * Split Toolbar, now possible to edit and remove links * Add new link to selection from toolbar working * Ensure toolbar doesn't extend off screen * Fix minor js issues, disable formatting of document title * Boom, icons * Remove codemirror, fix MD parsing issues * CMD+S now saves inplace * Add --- shortcut for horizontal rule * Improved styling for link editor * Add header anchors in readOnly * More readable core text color * Restored image file uploading :tada: * Add support for inline md syntax, ** __ etc * Centered * Flooooow * Checklist support * Upgrade edit list plugin * Finally. Allow keydown within rich textarea * Update Markdown serializer * Cleanup, remove async editor loading * Editor > MarkdownEditor Fixed unsaved changes warning triggered when all changes are saved * MOAR typing * Combine edit and view * Fixed checkboxes still editable in readOnly * wip * Breadcrumb Restored scroll * Move document scene actions to menu * Added: Support for code blocks, syntax highlighting * Cleanup * > styled component * Prevent CMD+Enter from adding linebreak * Show image uploading in layout activity indicator * Upgrade editor deps * Improve link toolbar. Only one scenario where it's not working now
2017-05-18 02:36:31 +00:00
"react-keydown": "^1.7.3",
2017-11-10 21:42:33 +00:00
"react-modal": "^3.1.2",
"react-portal": "^4.0.0",
2020-01-02 04:54:05 +00:00
"react-router-dom": "^5.1.2",
2020-01-02 04:36:42 +00:00
"react-waypoint": "^9.0.2",
2019-12-17 06:44:15 +00:00
"rich-markdown-editor": "^9.11.1",
2019-10-27 04:16:36 +00:00
"sequelize": "^5.21.1",
"sequelize-cli": "^5.5.0",
"sequelize-encrypted": "^0.1.0",
2019-03-02 23:51:02 +00:00
"slug": "^1.0.0",
"socket.io": "^2.2.0",
"socket.io-redis": "^5.2.0",
2019-06-24 00:57:37 +00:00
"socketio-auth": "^0.1.1",
"string-replace-to-array": "^1.0.3",
"styled-components": "^4.3.2",
"styled-components-breakpoint": "^2.1.1",
"styled-components-grid": "^2.2.1",
"styled-normalize": "^8.0.4",
"tiny-cookie": "^2.3.1",
"tmp": "0.0.33",
"uglifyjs-webpack-plugin": "1.2.5",
2018-01-04 00:29:01 +00:00
"url-loader": "^0.6.2",
"uuid": "2.0.2",
2018-05-12 22:56:05 +00:00
"validator": "5.2.0",
"webpack": "3.10.0",
"webpack-manifest-plugin": "^1.3.2"
2016-05-24 05:20:16 +00:00
},
"devDependencies": {
"babel-eslint": "^9.0.0",
2019-03-03 00:02:44 +00:00
"babel-jest": "^22.0.0",
"eslint": "^5.12.1",
"eslint-config-react-app": "^3.0.6",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^2.4.0",
"eslint-plugin-react": "^7.12.4",
"fetch-test-server": "^1.1.0",
2019-03-03 00:02:44 +00:00
"flow-bin": "^0.86.0",
"identity-obj-proxy": "^3.0.0",
2019-03-03 00:02:44 +00:00
"jest-cli": "^22.0.0",
"koa-webpack-dev-middleware": "^1.4.5",
"koa-webpack-hot-middleware": "^1.0.3",
"mobx-react-devtools": "^6.0.3",
2019-10-27 03:41:50 +00:00
"nodemon": "^1.19.4",
2017-11-10 21:42:33 +00:00
"prettier": "1.8.2",
2018-05-12 22:56:05 +00:00
"rimraf": "^2.5.4"
2018-02-28 07:59:54 +00:00
},
"resolutions": {
2019-10-27 04:59:07 +00:00
"micromatch": "^3.1.10",
"js-yaml": "^3.13.1"
},
2019-06-19 07:35:13 +00:00
"version": "0.18.0"
}