74d65aba67
* Search improvements * Search results keyboard navigation
191 lines
5.8 KiB
JSON
191 lines
5.8 KiB
JSON
{
|
|
"name": "Atlas",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"build:webpack": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js",
|
|
"build:analyze": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js --json | webpack-bundle-size-analyzer",
|
|
"build": "npm run clean && npm run build:webpack",
|
|
"start": "node index.js",
|
|
"dev": "cross-env NODE_ENV=development DEBUG=sql,cache,presenters ./node_modules/.bin/nodemon --watch server index.js",
|
|
"lint": "npm run lint:js && npm run lint:flow",
|
|
"lint:js": "eslint frontend",
|
|
"lint:flow": "flow check",
|
|
"deploy": "git push heroku master",
|
|
"heroku-postbuild": "npm run build && npm run sequelize db:migrate",
|
|
"sequelize": "./node_modules/.bin/sequelize",
|
|
"test": "npm run test:frontend && npm run test:server",
|
|
"test:frontend": "jest",
|
|
"test:server": "jest --config=server/.jest-config --runInBand",
|
|
"precommit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"jest": {
|
|
"verbose": false,
|
|
"roots": [
|
|
"frontend"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^.*[.](s?css|css)$": "<rootDir>/__mocks__/styleMock.js",
|
|
"^.*[.](gif|ttf|eot|svg)$": "<rootDir>/__test__/fileMock.js"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"moduleDirectories": [
|
|
"node_modules"
|
|
],
|
|
"modulePaths": [
|
|
"frontend"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/frontend/utils/setupJest.js",
|
|
"<rootDir>/__mocks__/window.js"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">= 7.6"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/jorilallo/atlas.git"
|
|
},
|
|
"dependencies": {
|
|
"babel-core": "^6.24.1",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-loader": "6.2.5",
|
|
"babel-plugin-lodash": "^3.2.11",
|
|
"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",
|
|
"bcrypt": "^0.8.7",
|
|
"boundless-arrow-key-navigation": "^1.0.4",
|
|
"bugsnag": "^1.7.0",
|
|
"classnames": "2.2.3",
|
|
"cross-env": "1.0.7",
|
|
"css-loader": "0.23.1",
|
|
"debug": "2.2.0",
|
|
"dotenv": "^4.0.0",
|
|
"emoji-name-map": "1.1.2",
|
|
"eslint": "^3.19.0",
|
|
"eslint-config-react-app": "^0.6.2",
|
|
"eslint-import-resolver-webpack": "^0.3.1",
|
|
"eslint-plugin-flowtype": "^2.32.1",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"eslint-plugin-jsx-a11y": "^4.0.0",
|
|
"eslint-plugin-prettier": "^2.0.1",
|
|
"eslint-plugin-react": "^6.10.3",
|
|
"exports-loader": "0.6.3",
|
|
"extract-text-webpack-plugin": "1.0.1",
|
|
"file-loader": "0.9.0",
|
|
"flow": "^0.2.3",
|
|
"flow-typed": "^2.1.2",
|
|
"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",
|
|
"invariant": "^2.2.2",
|
|
"isomorphic-fetch": "2.2.1",
|
|
"js-tree": "1.1.0",
|
|
"json-loader": "0.5.4",
|
|
"jsonwebtoken": "7.0.1",
|
|
"koa": "^2.2.0",
|
|
"koa-bodyparser": "2.0.1",
|
|
"koa-compress": "2.0.0",
|
|
"koa-connect": "1.0.0",
|
|
"koa-convert": "1.2.0",
|
|
"koa-helmet": "1.0.0",
|
|
"koa-jwt": "^3.2.1",
|
|
"koa-logger": "^2.0.1",
|
|
"koa-mount": "^3.0.0",
|
|
"koa-router": "7.0.1",
|
|
"koa-sendfile": "2.0.0",
|
|
"localenv": "0.2.2",
|
|
"lodash": "^4.17.4",
|
|
"lodash.orderby": "4.4.0",
|
|
"marked": "0.3.6",
|
|
"marked-sanitized": "^0.1.1",
|
|
"mobx": "^3.1.9",
|
|
"mobx-react": "^4.1.8",
|
|
"mobx-react-devtools": "^4.2.11",
|
|
"moment": "2.13.0",
|
|
"node-dev": "3.1.0",
|
|
"node-sass": "^4.5.2",
|
|
"normalize.css": "4.1.1",
|
|
"normalizr": "2.0.1",
|
|
"pg": "^6.1.5",
|
|
"pg-hstore": "2.3.2",
|
|
"query-string": "^4.3.4",
|
|
"randomstring": "1.1.5",
|
|
"raw-loader": "^0.5.1",
|
|
"react": "15.3.2",
|
|
"react-addons-css-transition-group": "15.3.2",
|
|
"react-dom": "15.3.2",
|
|
"react-dropzone": "3.6.0",
|
|
"react-helmet": "3.1.0",
|
|
"react-keydown": "^1.7.3",
|
|
"react-portal": "^3.1.0",
|
|
"react-router-dom": "^4.1.1",
|
|
"redis": "^2.6.2",
|
|
"redis-lock": "^0.1.0",
|
|
"reflexbox": "^2.2.3",
|
|
"rimraf": "^2.5.4",
|
|
"safestart": "1.1.0",
|
|
"sass-loader": "4.0.0",
|
|
"sequelize": "3.24.1",
|
|
"sequelize-cli": "2.4.0",
|
|
"sequelize-encrypted": "0.1.0",
|
|
"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",
|
|
"slug": "0.9.1",
|
|
"string-hash": "^1.1.0",
|
|
"style-loader": "0.13.0",
|
|
"styled-components": "^2.0.0",
|
|
"truncate-html": "https://github.com/jorilallo/truncate-html/tarball/master",
|
|
"url-loader": "0.5.7",
|
|
"uuid": "2.0.2",
|
|
"validator": "5.2.0",
|
|
"webpack": "1.13.2"
|
|
},
|
|
"devDependencies": {
|
|
"babel-jest": "^20.0.0",
|
|
"enzyme": "2.8.2",
|
|
"enzyme-to-json": "^1.5.1",
|
|
"fetch-test-server": "^1.1.0",
|
|
"flow-bin": "^0.45.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"ignore-loader": "0.1.1",
|
|
"jest-cli": "^20.0.0",
|
|
"koa-webpack-dev-middleware": "1.4.5",
|
|
"koa-webpack-hot-middleware": "1.0.3",
|
|
"lint-staged": "^3.4.0",
|
|
"nodemon": "1.11.0",
|
|
"prettier": "1.3.1",
|
|
"react-addons-test-utils": "^15.3.1",
|
|
"react-test-renderer": "^15.3.1"
|
|
}
|
|
} |