2016-02-27 21:53:11 +00:00
|
|
|
{
|
2017-04-28 04:48:13 +00:00
|
|
|
"name": "Atlas",
|
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-07-07 06:11:11 +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",
|
2016-09-05 22:23:15 +00:00
|
|
|
"start": "node index.js",
|
2017-07-07 06:11:11 +00:00
|
|
|
"dev": "NODE_ENV=development DEBUG=sql,cache,presenters ./node_modules/.bin/nodemon --watch server index.js",
|
2017-07-16 21:52:57 +00:00
|
|
|
"lint": "npm run lint:flow && npm run lint:js",
|
2017-05-04 05:49:08 +00:00
|
|
|
"lint:js": "eslint frontend",
|
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",
|
2016-09-09 08:35:39 +00:00
|
|
|
"test": "npm run test:frontend && npm run test:server",
|
|
|
|
"test:frontend": "jest",
|
2017-07-15 23:08:12 +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-07-16 21:52:57 +00:00
|
|
|
"*.js": ["eslint --fix", "git add"]
|
2016-09-09 08:35:39 +00:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"verbose": false,
|
2017-07-16 21:52:57 +00:00
|
|
|
"roots": ["frontend"],
|
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-07-16 21:52:57 +00:00
|
|
|
"moduleFileExtensions": ["js", "jsx", "json"],
|
|
|
|
"moduleDirectories": ["node_modules"],
|
|
|
|
"modulePaths": ["frontend"],
|
|
|
|
"setupFiles": ["<rootDir>/setupJest.js", "<rootDir>/__mocks__/window.js"]
|
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",
|
|
|
|
"url": "git+ssh://git@github.com/jorilallo/atlas.git"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
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",
|
2016-09-12 00:47:22 +00:00
|
|
|
"bcrypt": "^0.8.7",
|
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",
|
2016-06-26 06:31:22 +00:00
|
|
|
"classnames": "2.2.3",
|
|
|
|
"css-loader": "0.23.1",
|
|
|
|
"debug": "2.2.0",
|
2017-04-27 05:18:36 +00:00
|
|
|
"dotenv": "^4.0.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"emoji-name-map": "1.1.2",
|
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",
|
|
|
|
"extract-text-webpack-plugin": "1.0.1",
|
|
|
|
"file-loader": "0.9.0",
|
2017-05-10 06:14:24 +00:00
|
|
|
"flow-typed": "^2.1.2",
|
2016-06-26 06:31:22 +00:00
|
|
|
"highlight.js": "9.4.0",
|
|
|
|
"history": "3.0.0",
|
|
|
|
"html-webpack-plugin": "2.17.0",
|
|
|
|
"http-errors": "1.4.0",
|
|
|
|
"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",
|
|
|
|
"js-tree": "1.1.0",
|
|
|
|
"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-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",
|
2016-08-01 19:16:37 +00:00
|
|
|
"marked": "0.3.6",
|
2016-08-02 08:29:07 +00:00
|
|
|
"marked-sanitized": "^0.1.1",
|
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-04-28 05:10:43 +00:00
|
|
|
"node-sass": "^4.5.2",
|
2016-06-26 06:31:22 +00:00
|
|
|
"normalize.css": "4.1.1",
|
|
|
|
"normalizr": "2.0.1",
|
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-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",
|
2016-10-09 22:36:18 +00:00
|
|
|
"react": "15.3.2",
|
|
|
|
"react-addons-css-transition-group": "15.3.2",
|
|
|
|
"react-dom": "15.3.2",
|
2016-09-09 08:35:39 +00:00
|
|
|
"react-dropzone": "3.6.0",
|
2016-06-26 06:31:22 +00:00
|
|
|
"react-helmet": "3.1.0",
|
2017-05-18 02:36:31 +00:00
|
|
|
"react-keydown": "^1.7.3",
|
2017-07-09 16:02:44 +00:00
|
|
|
"react-modal": "^2.2.1",
|
2017-05-18 02:36:31 +00:00
|
|
|
"react-portal": "^3.1.0",
|
2017-05-17 07:11:13 +00:00
|
|
|
"react-router-dom": "^4.1.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",
|
2016-07-24 22:31:43 +00:00
|
|
|
"sass-loader": "4.0.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-05-18 02:36:31 +00:00
|
|
|
"slate": "^0.19.30",
|
|
|
|
"slate-collapse-on-escape": "^0.2.1",
|
|
|
|
"slate-drop-or-paste-images": "^0.5.0",
|
|
|
|
"slate-edit-code": "^0.10.2",
|
|
|
|
"slate-edit-list": "^0.7.0",
|
|
|
|
"slate-markdown-serializer": "tommoor/slate-markdown-serializer",
|
|
|
|
"slate-paste-linkify": "^0.2.1",
|
|
|
|
"slate-prism": "^0.2.2",
|
|
|
|
"slate-trailing-block": "^0.2.4",
|
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",
|
2016-06-26 06:31:22 +00:00
|
|
|
"style-loader": "0.13.0",
|
2017-05-26 07:04:13 +00:00
|
|
|
"styled-components": "^2.0.0",
|
2016-09-11 19:35:14 +00:00
|
|
|
"truncate-html": "https://github.com/jorilallo/truncate-html/tarball/master",
|
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-05-10 06:14:24 +00:00
|
|
|
"prettier": "1.3.1",
|
2016-09-16 07:06:33 +00:00
|
|
|
"react-addons-test-utils": "^15.3.1",
|
2016-09-09 08:35:39 +00:00
|
|
|
"react-test-renderer": "^15.3.1"
|
2016-02-27 21:53:11 +00:00
|
|
|
}
|
2017-06-26 00:21:33 +00:00
|
|
|
}
|