2016-02-27 21:53:11 +00:00
|
|
|
{
|
2018-05-05 23:16:08 +00:00
|
|
|
"name": "outline",
|
2016-09-09 08:35:39 +00:00
|
|
|
"private": true,
|
2016-02-27 21:53:11 +00:00
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
|
|
|
"clean": "rimraf dist",
|
2017-11-25 23:44:10 +00:00
|
|
|
"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",
|
2017-07-16 21:52:57 +00:00
|
|
|
"lint": "npm run lint:flow && npm run lint:js",
|
2018-05-27 00:59:34 +00:00
|
|
|
"lint:js": "eslint app server",
|
2017-07-16 21:52:57 +00:00
|
|
|
"lint:flow": "flow",
|
2016-06-04 22:52:19 +00:00
|
|
|
"deploy": "git push heroku master",
|
2017-06-03 19:01:29 +00:00
|
|
|
"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",
|
2017-11-25 23:44:10 +00:00
|
|
|
"test:server": "jest --config=server/.jestconfig.json --runInBand --forceExit",
|
2018-05-13 07:28:31 +00:00
|
|
|
"test:watch": "jest --config=server/.jestconfig.json --runInBand --forceExit --watchAll",
|
2017-04-27 04:47:03 +00:00
|
|
|
"precommit": "lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2017-11-25 23:44:10 +00:00
|
|
|
"*.js": [
|
|
|
|
"eslint --fix",
|
|
|
|
"git add"
|
|
|
|
]
|
2016-09-09 08:35:39 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"verbose": false,
|
2017-11-25 23:44:10 +00:00
|
|
|
"roots": [
|
2018-06-04 02:07:41 +00:00
|
|
|
"app",
|
|
|
|
"shared"
|
2017-11-25 23:44:10 +00:00
|
|
|
],
|
2016-09-09 08:35:39 +00:00
|
|
|
"moduleNameMapper": {
|
2018-11-12 22:00:23 +00:00
|
|
|
"^shared/(.*)$": "<rootDir>/shared/$1",
|
2016-09-09 08:35:39 +00:00
|
|
|
"^.*[.](s?css|css)$": "<rootDir>/__mocks__/styleMock.js",
|
|
|
|
"^.*[.](gif|ttf|eot|svg)$": "<rootDir>/__test__/fileMock.js"
|
|
|
|
},
|
2017-11-25 23:44:10 +00:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"moduleDirectories": [
|
|
|
|
"node_modules"
|
|
|
|
],
|
|
|
|
"modulePaths": [
|
|
|
|
"app"
|
|
|
|
],
|
2017-11-12 23:02:23 +00:00
|
|
|
"setupFiles": [
|
2017-11-18 21:19:01 +00:00
|
|
|
"raf/polyfill",
|
2017-11-12 23:02:23 +00:00
|
|
|
"<rootDir>/setupJest.js",
|
2017-11-18 21:19:01 +00:00
|
|
|
"<rootDir>/__mocks__/window.js"
|
2017-11-12 23:02:23 +00:00
|
|
|
]
|
2016-02-27 21:53:11 +00:00
|
|
|
},
|
2016-08-22 06:44:18 +00:00
|
|
|
"engines": {
|
2019-01-05 21:55:24 +00:00
|
|
|
"node": "8.11"
|
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": {
|
2018-08-05 05:46:55 +00:00
|
|
|
"@tommoor/remove-markdown": "0.3.1",
|
2018-02-11 07:23:50 +00:00
|
|
|
"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",
|
2017-06-01 03:23:09 +00:00
|
|
|
"boundless-arrow-key-navigation": "^1.0.4",
|
2017-06-26 00:21:33 +00:00
|
|
|
"boundless-popover": "^1.0.4",
|
2016-07-25 05:44:44 +00:00
|
|
|
"bugsnag": "^1.7.0",
|
2018-11-18 00:09:42 +00:00
|
|
|
"bull": "^3.5.2",
|
2018-02-18 08:11:48 +00:00
|
|
|
"cancan": "3.1.0",
|
2017-08-03 05:10:58 +00:00
|
|
|
"copy-to-clipboard": "^3.0.6",
|
2017-09-10 20:27:15 +00:00
|
|
|
"css-loader": "^0.28.7",
|
2018-03-07 04:31:12 +00:00
|
|
|
"date-fns": "1.29.0",
|
2018-08-11 21:09:59 +00:00
|
|
|
"debug": "2.6.9",
|
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",
|
2018-05-12 22:56:05 +00:00
|
|
|
"extract-text-webpack-plugin": "^3.0.2",
|
2018-01-04 00:29:01 +00:00
|
|
|
"file-loader": "^1.1.6",
|
2018-05-05 23:16:08 +00:00
|
|
|
"flow-typed": "^2.4.0",
|
2017-11-29 06:46:26 +00:00
|
|
|
"fs-extra": "^4.0.2",
|
2018-05-28 18:36:37 +00:00
|
|
|
"google-auth-library": "^1.5.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"history": "3.0.0",
|
2018-05-12 22:56:05 +00:00
|
|
|
"html-webpack-plugin": "2.17.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"http-errors": "1.4.0",
|
2017-12-03 07:14:27 +00:00
|
|
|
"immutable": "^3.8.2",
|
2016-06-26 06:31:22 +00:00
|
|
|
"imports-loader": "0.6.5",
|
2017-05-12 00:23:56 +00:00
|
|
|
"invariant": "^2.2.2",
|
2016-06-26 06:31:22 +00:00
|
|
|
"isomorphic-fetch": "2.2.1",
|
2019-01-12 21:50:30 +00:00
|
|
|
"js-cookie": "^2.2.0",
|
2017-10-02 01:36:44 +00:00
|
|
|
"js-search": "^1.4.2",
|
2016-06-26 06:31:22 +00:00
|
|
|
"json-loader": "0.5.4",
|
|
|
|
"jsonwebtoken": "7.0.1",
|
2018-07-07 23:19:13 +00:00
|
|
|
"jszip": "3.1.5",
|
2017-04-27 05:25:52 +00:00
|
|
|
"koa": "^2.2.0",
|
2017-06-26 00:21:33 +00:00
|
|
|
"koa-bodyparser": "4.2.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"koa-compress": "2.0.0",
|
|
|
|
"koa-connect": "1.0.0",
|
|
|
|
"koa-convert": "1.2.0",
|
2017-06-26 00:21:33 +00:00
|
|
|
"koa-helmet": "3.2.0",
|
2017-04-27 05:25:52 +00:00
|
|
|
"koa-jwt": "^3.2.1",
|
|
|
|
"koa-logger": "^2.0.1",
|
|
|
|
"koa-mount": "^3.0.0",
|
2018-02-11 06:58:22 +00:00
|
|
|
"koa-onerror": "^4.0.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"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",
|
2017-04-27 05:18:36 +00:00
|
|
|
"lodash": "^4.17.4",
|
2018-12-05 06:24:30 +00:00
|
|
|
"mobx": "4.6.0",
|
|
|
|
"mobx-react": "^5.4.2",
|
2018-03-01 07:00:41 +00:00
|
|
|
"natural-sort": "^1.0.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"node-dev": "3.1.0",
|
2017-11-12 23:02:23 +00:00
|
|
|
"nodemailer": "^4.4.0",
|
2017-09-10 20:27:15 +00:00
|
|
|
"normalize.css": "^7.0.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"normalizr": "2.0.1",
|
2019-01-05 21:37:33 +00:00
|
|
|
"outline-icons": "^1.6.0",
|
2017-11-12 23:02:23 +00:00
|
|
|
"oy-vey": "^0.10.0",
|
2017-04-27 05:18:36 +00:00
|
|
|
"pg": "^6.1.5",
|
2016-06-26 06:31:22 +00:00
|
|
|
"pg-hstore": "2.3.2",
|
2017-07-09 17:59:33 +00:00
|
|
|
"polished": "1.2.1",
|
2017-09-04 00:26:57 +00:00
|
|
|
"pui-react-tooltip": "^8.3.3",
|
2017-04-27 05:18:36 +00:00
|
|
|
"query-string": "^4.3.4",
|
2016-06-26 06:31:22 +00:00
|
|
|
"randomstring": "1.1.5",
|
2016-09-15 03:50:59 +00:00
|
|
|
"raw-loader": "^0.5.1",
|
2018-11-07 05:58:32 +00:00
|
|
|
"react": "^16.6.0",
|
2017-12-14 07:17:08 +00:00
|
|
|
"react-avatar-editor": "^10.3.0",
|
2018-11-07 05:58:32 +00:00
|
|
|
"react-dom": "^16.6.0",
|
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",
|
2017-05-18 02:36:31 +00:00
|
|
|
"react-keydown": "^1.7.3",
|
2017-11-29 06:46:26 +00:00
|
|
|
"react-markdown": "^3.0.2",
|
2018-01-28 19:08:50 +00:00
|
|
|
"react-medium-image-zoom": "^3.0.10",
|
2017-11-10 21:42:33 +00:00
|
|
|
"react-modal": "^3.1.2",
|
|
|
|
"react-portal": "^4.0.0",
|
2017-11-12 18:55:13 +00:00
|
|
|
"react-router-dom": "^4.2.0",
|
2017-12-04 00:50:50 +00:00
|
|
|
"react-waypoint": "^7.3.1",
|
2016-08-21 18:12:24 +00:00
|
|
|
"redis": "^2.6.2",
|
|
|
|
"redis-lock": "^0.1.0",
|
2019-01-19 06:44:31 +00:00
|
|
|
"rich-markdown-editor": "^8.0.0",
|
2017-05-18 02:36:31 +00:00
|
|
|
"safestart": "1.1.0",
|
2017-12-26 13:02:26 +00:00
|
|
|
"sequelize": "4.28.6",
|
2017-07-12 07:28:18 +00:00
|
|
|
"sequelize-cli": "^2.7.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"sequelize-encrypted": "0.1.0",
|
|
|
|
"slug": "0.9.1",
|
2016-08-21 18:12:24 +00:00
|
|
|
"string-hash": "^1.1.0",
|
2017-11-25 23:44:10 +00:00
|
|
|
"string-replace-to-array": "^1.0.3",
|
2017-09-10 20:27:15 +00:00
|
|
|
"style-loader": "^0.18.2",
|
2018-11-07 05:58:32 +00:00
|
|
|
"styled-components": "4.0.3",
|
2017-11-27 00:52:25 +00:00
|
|
|
"styled-components-breakpoint": "^1.0.1",
|
2018-09-30 06:19:46 +00:00
|
|
|
"styled-components-grid": "^2.2.0",
|
2017-10-27 05:42:08 +00:00
|
|
|
"styled-normalize": "^2.2.1",
|
2018-06-21 04:33:21 +00:00
|
|
|
"tmp": "0.0.33",
|
2018-05-28 18:36:37 +00:00
|
|
|
"uglifyjs-webpack-plugin": "1.2.5",
|
2018-01-04 00:29:01 +00:00
|
|
|
"url-loader": "^0.6.2",
|
2016-06-26 06:31:22 +00:00
|
|
|
"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": {
|
2018-05-12 22:22:33 +00:00
|
|
|
"babel-eslint": "^8.1.2",
|
2017-12-26 07:11:48 +00:00
|
|
|
"babel-jest": "22",
|
2017-05-23 06:51:16 +00:00
|
|
|
"enzyme": "2.8.2",
|
|
|
|
"enzyme-to-json": "^1.5.1",
|
2018-05-12 22:22:33 +00:00
|
|
|
"eslint": "^4.14.0",
|
|
|
|
"eslint-config-react-app": "^2.0.1",
|
|
|
|
"eslint-plugin-flowtype": "^2.40.1",
|
|
|
|
"eslint-plugin-import": "^2.8.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "5.1.1",
|
|
|
|
"eslint-plugin-prettier": "^2.4.0",
|
|
|
|
"eslint-plugin-react": "^7.5.1",
|
2016-09-09 08:35:39 +00:00
|
|
|
"fetch-test-server": "^1.1.0",
|
2018-12-05 06:24:30 +00:00
|
|
|
"flow-bin": "0.86.0",
|
2016-09-09 08:35:39 +00:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2017-12-26 07:11:48 +00:00
|
|
|
"jest-cli": "22",
|
2017-04-27 05:25:52 +00:00
|
|
|
"koa-webpack-dev-middleware": "1.4.5",
|
2016-06-26 06:31:22 +00:00
|
|
|
"koa-webpack-hot-middleware": "1.0.3",
|
2017-04-27 04:47:03 +00:00
|
|
|
"lint-staged": "^3.4.0",
|
2018-12-05 06:24:30 +00:00
|
|
|
"mobx-react-devtools": "^6.0.3",
|
2017-04-27 05:25:52 +00:00
|
|
|
"nodemon": "1.11.0",
|
2017-11-10 21:42:33 +00:00
|
|
|
"prettier": "1.8.2",
|
2017-11-18 21:17:12 +00:00
|
|
|
"raf": "^3.4.0",
|
2018-05-12 22:22:33 +00:00
|
|
|
"react-test-renderer": "^16.1.0",
|
2018-05-12 22:56:05 +00:00
|
|
|
"rimraf": "^2.5.4"
|
2018-02-28 07:59:54 +00:00
|
|
|
},
|
2018-11-13 07:33:03 +00:00
|
|
|
"version": "0.17.0"
|
2018-01-07 00:10:05 +00:00
|
|
|
}
|