177 lines
5.1 KiB
JSON
177 lines
5.1 KiB
JSON
{
|
|
"name": "BeautifulAtlas",
|
|
"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": "eslint frontend",
|
|
"prettier": "prettier --single-quote --trailing-comma es5 --write frontend/**/*.js server/**/*.js",
|
|
"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": [
|
|
"yarn prettier",
|
|
"git add"
|
|
]
|
|
},
|
|
"jest": {
|
|
"verbose": false,
|
|
"testPathDirs": [
|
|
"frontend"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^.*[.](s?css|css)$": "<rootDir>/__mocks__/styleMock.js",
|
|
"^.*[.](gif|ttf|eot|svg)$": "<rootDir>/__test__/fileMock.js"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"moduleDirectories": [
|
|
"node_modules",
|
|
"server"
|
|
],
|
|
"modulePaths": [
|
|
"frontend"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/__mocks__/window.js"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": "6.x"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/jorilallo/atlas.git"
|
|
},
|
|
"dependencies": {
|
|
"babel-core": "6.13.2",
|
|
"babel-eslint": "6.1.2",
|
|
"babel-loader": "6.2.5",
|
|
"babel-plugin-lodash": "^3.2.6",
|
|
"babel-plugin-transform-decorators-legacy": "1.3.4",
|
|
"babel-polyfill": "^6.13.0",
|
|
"babel-preset-es2015": "6.13.2",
|
|
"babel-preset-react": "6.11.1",
|
|
"babel-preset-react-hmre": "1.1.1",
|
|
"babel-preset-stage-0": "6.5.0",
|
|
"babel-regenerator-runtime": "6.5.0",
|
|
"bcrypt": "^0.8.7",
|
|
"bugsnag": "^1.7.0",
|
|
"classnames": "2.2.3",
|
|
"codemirror": "5.16.0",
|
|
"cross-env": "1.0.7",
|
|
"css-loader": "0.23.1",
|
|
"debug": "2.2.0",
|
|
"dotenv": "2.0.0",
|
|
"emoji-name-map": "1.1.2",
|
|
"eslint": "2.13.1",
|
|
"eslint-config-airbnb": "9.0.1",
|
|
"eslint-import-resolver-webpack": "^0.3.1",
|
|
"eslint-plugin-import": "^1.9.2",
|
|
"eslint-plugin-jsx-a11y": "^1.5.3",
|
|
"eslint-plugin-react": "5.2.2",
|
|
"exports-loader": "0.6.3",
|
|
"extract-text-webpack-plugin": "1.0.1",
|
|
"file-loader": "0.9.0",
|
|
"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",
|
|
"isomorphic-fetch": "2.2.1",
|
|
"js-tree": "1.1.0",
|
|
"json-loader": "0.5.4",
|
|
"jsonwebtoken": "7.0.1",
|
|
"koa": "2.0.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": "1.2.0",
|
|
"koa-logger": "2.0.0",
|
|
"koa-mount": "2.0.0",
|
|
"koa-router": "7.0.1",
|
|
"koa-sendfile": "2.0.0",
|
|
"koa-webpack-dev-middleware": "1.2.0",
|
|
"koa-webpack-hot-middleware": "1.0.3",
|
|
"localenv": "0.2.2",
|
|
"lodash": "4.13.1",
|
|
"lodash.orderby": "4.4.0",
|
|
"marked": "0.3.6",
|
|
"marked-sanitized": "^0.1.1",
|
|
"mobx": "2.5.1",
|
|
"mobx-react": "3.5.5",
|
|
"mobx-react-devtools": "4.2.4",
|
|
"moment": "2.13.0",
|
|
"node-dev": "3.1.0",
|
|
"node-sass": "3.8.0",
|
|
"nodemon": "1.9.1",
|
|
"normalize.css": "4.1.1",
|
|
"normalizr": "2.0.1",
|
|
"pg": "6.1.0",
|
|
"pg-hstore": "2.3.2",
|
|
"query-string": "^4.2.2",
|
|
"randomstring": "1.1.5",
|
|
"raw-loader": "^0.5.1",
|
|
"react": "15.3.2",
|
|
"react-addons-css-transition-group": "15.3.2",
|
|
"react-codemirror": "0.2.6",
|
|
"react-dom": "15.3.2",
|
|
"react-dropzone": "3.6.0",
|
|
"react-helmet": "3.1.0",
|
|
"react-keydown": "^1.6.1",
|
|
"react-router": "2.8.0",
|
|
"rebass": "0.3.3",
|
|
"redis": "^2.6.2",
|
|
"redis-lock": "^0.1.0",
|
|
"reflexbox": "^2.0.0",
|
|
"rimraf": "^2.5.4",
|
|
"safestart": "0.8.0",
|
|
"sass-loader": "4.0.0",
|
|
"sequelize": "3.24.1",
|
|
"sequelize-cli": "2.4.0",
|
|
"sequelize-encrypted": "0.1.0",
|
|
"slug": "0.9.1",
|
|
"string-hash": "^1.1.0",
|
|
"style-loader": "0.13.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": "^15.0.0",
|
|
"enzyme": "^2.4.1",
|
|
"eslint-config-prettier": "^1.7.0",
|
|
"eslint-plugin-prettier": "^2.0.1",
|
|
"fetch-test-server": "^1.1.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"ignore-loader": "0.1.1",
|
|
"jest-cli": "^15.1.1",
|
|
"koa-webpack-dev-middleware": "1.2.0",
|
|
"koa-webpack-hot-middleware": "1.0.3",
|
|
"lint-staged": "^3.4.0",
|
|
"node-dev": "3.1.0",
|
|
"nodemon": "1.9.1",
|
|
"prettier": "^1.2.2",
|
|
"react-addons-test-utils": "^15.3.1",
|
|
"react-test-renderer": "^15.3.1"
|
|
}
|
|
}
|