Newer
Older
{
"name": "xpub-elife",
"version": "1.0.0",
"description": "xpub configured for eLife",
"license": "MIT",
"engines": {
"node": ">=8",
"yarn": ">=1.2"
},
"repository": {
"type": "git",
"url": "https://gitlab.coko.foundation/xpub/xpub-elife"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"scripts": {
"build": "NODE_ENV=production pubsweet build",
"clean": "rm -rf node_modules",
"cz": "git-cz",
"lint": "npm run lint:js && npm run lint:style && npm run lint:package",
"lint:js": "eslint .",
"lint:package": "format-package -w package.json",
"lint:style": "stylelint app/**/*.scss app/**/*.css",
"precommit": "lint-staged",
"reset": "pubsweet setupdb --clobber",
"server": "pubsweet server",
"setupdb": "pubsweet setupdb",
"start": "docker-compose up",
"start:services": "docker-compose up postgres",
"start:styleguide": "docker-compose run --no-deps -p 6060:6060 app yarn run styleguide",
"styleguide": "styleguidist server",
"test": "jest",
"test:e2e": "NODE_ENV=test testcafe \"${BROWSER:-chrome}\" 'test/**/*.e2e.js'"
},
"lint-staged": {
"*.css": "stylelint",
"*.js": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.scss": "stylelint",
"*.{json,md}": [
"prettier --write",
"git add"
],
"package.json": [
"format-package -w",
"git add"
]
},
"jest": {
"projects": [
"<rootDir>/client",
"<rootDir>/app",
"<rootDir>/server"
]
},
"resolutions": {
"grid-styled/styled-components": "3.2.5"
},
"workspaces": [
"client/*",
"server/*"
],
"@pubsweet/elife-theme": "^0.1.1",
"@pubsweet/ui": "^3.3.3",
"apollo-link-state": "^0.4.1",
"pubsweet-server": "^6.0.0",
Mihail Dunaev
committed
"babel-eslint": "^8.0.2",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"clean-webpack-plugin": "^0.1.17",
Mihail Dunaev
committed
"commitizen": "^2.9.6",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.4",
Mihail Dunaev
committed
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.12.0",
"eslint-config-pubsweet": "^0.0.6",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jest": "^21.4.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-standard": "^3.0.1",
Mihail Dunaev
committed
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.5",
Mihail Dunaev
committed
"fs-extra": "^4.0.2",
"html-webpack-plugin": "^2.24.0",
Mihail Dunaev
committed
"joi-browser": "^10.0.6",
Mihail Dunaev
committed
"pubsweet": "^2.1.4",
"react-hot-loader": "^3.1.1",
"react-styleguidist": "^6.5.3",
Mihail Dunaev
committed
"string-replace-loader": "^1.3.0",
"style-loader": "^0.19.0",
"stylelint": "^8.2.0",
"stylelint-config-pubsweet": "^0.0.3",
Mihail Dunaev
committed
"uglifyjs-webpack-plugin": "^1.1.2",
"webpack": "^3.8.1",
"webpack-dev-middleware": "^1.12.0",