2016-02-27 21:53:11 +00:00
|
|
|
{
|
2017-11-09 08:20:22 +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",
|
|
|
|
"build:analyze": "NODE_ENV=production webpack --config webpack.config.prod.js --json | webpack-bundle-size-analyzer",
|
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",
|
2017-11-14 06:59:45 +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",
|
2017-10-26 05:49:04 +00:00
|
|
|
"lint:js": "eslint app",
|
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",
|
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": [
|
|
|
|
"app"
|
|
|
|
],
|
2016-09-09 08:35:39 +00:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"^.*[.](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": {
|
2017-04-28 04:48:13 +00:00
|
|
|
"node": ">= 7.6"
|
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": {
|
2017-12-06 16:15:06 +00:00
|
|
|
"@tommoor/slate-drop-or-paste-images": "^0.8.1",
|
2017-10-19 07:49:22 +00:00
|
|
|
"aws-sdk": "^2.135.0",
|
2017-04-27 05:18:36 +00:00
|
|
|
"babel-core": "^6.24.1",
|
|
|
|
"babel-eslint": "^7.2.3",
|
2016-08-22 06:52:28 +00:00
|
|
|
"babel-loader": "6.2.5",
|
2017-04-27 05:18:36 +00:00
|
|
|
"babel-plugin-lodash": "^3.2.11",
|
2017-07-12 05:00:50 +00:00
|
|
|
"babel-plugin-styled-components": "^1.1.7",
|
2017-04-29 22:52:05 +00:00
|
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
2016-06-26 06:31:22 +00:00
|
|
|
"babel-plugin-transform-decorators-legacy": "1.3.4",
|
2017-04-29 22:52:05 +00:00
|
|
|
"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",
|
2016-08-15 12:59:42 +00:00
|
|
|
"babel-polyfill": "^6.13.0",
|
2017-04-29 22:52:05 +00:00
|
|
|
"babel-preset-env": "^1.4.0",
|
2016-08-22 06:52:28 +00:00
|
|
|
"babel-preset-react": "6.11.1",
|
|
|
|
"babel-preset-react-hmre": "1.1.1",
|
|
|
|
"babel-regenerator-runtime": "6.5.0",
|
2017-10-11 07:14:45 +00:00
|
|
|
"bcrypt": "1.0.3",
|
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",
|
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",
|
2016-06-26 06:31:22 +00:00
|
|
|
"debug": "2.2.0",
|
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",
|
2017-04-27 05:18:36 +00:00
|
|
|
"eslint": "^3.19.0",
|
2017-04-28 04:48:13 +00:00
|
|
|
"eslint-config-react-app": "^0.6.2",
|
2016-07-01 06:21:58 +00:00
|
|
|
"eslint-import-resolver-webpack": "^0.3.1",
|
2017-04-28 04:48:13 +00:00
|
|
|
"eslint-plugin-flowtype": "^2.32.1",
|
2017-04-27 05:18:36 +00:00
|
|
|
"eslint-plugin-import": "^2.2.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "^4.0.0",
|
2017-04-28 04:48:13 +00:00
|
|
|
"eslint-plugin-prettier": "^2.0.1",
|
2017-04-27 05:18:36 +00:00
|
|
|
"eslint-plugin-react": "^6.10.3",
|
2016-06-26 06:31:22 +00:00
|
|
|
"exports-loader": "0.6.3",
|
2017-09-12 06:18:44 +00:00
|
|
|
"extract-text-webpack-plugin": "1.0.1",
|
2017-08-03 13:48:07 +00:00
|
|
|
"fbemitter": "^2.1.1",
|
2016-06-26 06:31:22 +00:00
|
|
|
"file-loader": "0.9.0",
|
2017-05-10 06:14:24 +00:00
|
|
|
"flow-typed": "^2.1.2",
|
2017-11-29 06:46:26 +00:00
|
|
|
"fs-extra": "^4.0.2",
|
2016-06-26 06:31:22 +00:00
|
|
|
"history": "3.0.0",
|
|
|
|
"html-webpack-plugin": "2.17.0",
|
|
|
|
"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",
|
2017-10-11 07:14:45 +00:00
|
|
|
"js-cookie": "^2.1.4",
|
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",
|
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",
|
2016-06-26 06:31:22 +00:00
|
|
|
"koa-router": "7.0.1",
|
|
|
|
"koa-sendfile": "2.0.0",
|
2017-10-29 22:02:24 +00:00
|
|
|
"koa-static": "^4.0.1",
|
2017-07-16 18:47:48 +00:00
|
|
|
"localforage": "^1.5.0",
|
2017-04-27 05:18:36 +00:00
|
|
|
"lodash": "^4.17.4",
|
2016-06-26 06:31:22 +00:00
|
|
|
"lodash.orderby": "4.4.0",
|
2017-04-27 05:18:36 +00:00
|
|
|
"mobx": "^3.1.9",
|
|
|
|
"mobx-react": "^4.1.8",
|
|
|
|
"mobx-react-devtools": "^4.2.11",
|
2016-06-26 06:31:22 +00:00
|
|
|
"moment": "2.13.0",
|
|
|
|
"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",
|
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",
|
2017-11-10 21:42:33 +00:00
|
|
|
"react": "^16.1.0",
|
|
|
|
"react-dom": "^16.1.0",
|
|
|
|
"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",
|
2017-11-10 21:42:33 +00:00
|
|
|
"react-medium-image-zoom": "^3.0.2",
|
|
|
|
"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",
|
2017-02-10 05:48:12 +00:00
|
|
|
"rimraf": "^2.5.4",
|
2017-05-18 02:36:31 +00:00
|
|
|
"safestart": "1.1.0",
|
2017-07-12 07:28:18 +00:00
|
|
|
"sequelize": "^4.3.1",
|
|
|
|
"sequelize-cli": "^2.7.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"sequelize-encrypted": "0.1.0",
|
2017-12-03 07:14:27 +00:00
|
|
|
"slate": "^0.29.0",
|
|
|
|
"slate-collapse-on-escape": "^0.6.0",
|
|
|
|
"slate-edit-code": "^0.13.2",
|
|
|
|
"slate-edit-list": "^0.10.1",
|
2017-12-04 03:59:54 +00:00
|
|
|
"slate-md-serializer": "^1.0.4",
|
2017-12-03 07:14:27 +00:00
|
|
|
"slate-paste-linkify": "^0.5.0",
|
|
|
|
"slate-prism": "^0.4.0",
|
|
|
|
"slate-react": "^0.10.19",
|
|
|
|
"slate-trailing-block": "^0.4.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"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",
|
2017-11-12 23:56:23 +00:00
|
|
|
"styled-components": "^2.2.3",
|
2017-11-27 00:52:25 +00:00
|
|
|
"styled-components-breakpoint": "^1.0.1",
|
2017-10-22 23:33:10 +00:00
|
|
|
"styled-components-grid": "^1.0.0-preview.15",
|
2017-10-27 05:42:08 +00:00
|
|
|
"styled-normalize": "^2.2.1",
|
2016-06-26 06:31:22 +00:00
|
|
|
"url-loader": "0.5.7",
|
|
|
|
"uuid": "2.0.2",
|
|
|
|
"validator": "5.2.0",
|
2016-08-22 06:52:28 +00:00
|
|
|
"webpack": "1.13.2"
|
2016-05-24 05:20:16 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-05-23 06:51:16 +00:00
|
|
|
"babel-jest": "^20.0.0",
|
|
|
|
"enzyme": "2.8.2",
|
|
|
|
"enzyme-to-json": "^1.5.1",
|
2016-09-09 08:35:39 +00:00
|
|
|
"fetch-test-server": "^1.1.0",
|
2017-07-09 17:59:33 +00:00
|
|
|
"flow-bin": "^0.49.1",
|
2016-09-09 08:35:39 +00:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2017-05-23 06:51:16 +00:00
|
|
|
"jest-cli": "^20.0.0",
|
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",
|
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",
|
2017-11-10 21:42:33 +00:00
|
|
|
"react-test-renderer": "^16.1.0"
|
2016-02-27 21:53:11 +00:00
|
|
|
}
|
2017-06-26 00:21:33 +00:00
|
|
|
}
|