package.json 6.25 KB
Newer Older
Alexandros Georgantas's avatar
Alexandros Georgantas committed
1
{
Alexandros Georgantas's avatar
Alexandros Georgantas committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
  "name": "UCP",
  "description": "An application for managing book production flows",
  "private": true,
  "keywords": [
    "Coko",
    "Coko Foundation",
    "UCP",
    "University of California Press",
    "book",
    "book production",
    "book management"
  ],
  "repository": {
    "type": "git",
    "url": "https://gitlab.coko.foundation/editoria/ucp"
  },
  "homepage": "https://editoria.pub/",
  "license": "MIT",
20
  "version": "1.1.1",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
  "dependencies": {
    "@pubsweet/component-polling-client": "^0.0.3",
    "@pubsweet/component-polling-server": "^0.0.9",
    "@pubsweet/db-manager": "^1.0.7",
    "@pubsweet/default-theme": "^0.2.0",
    "@pubsweet/logger": "^0.2.2",
    "@pubsweet/ui": "^4.1.3",
    "authsome": "^0.1.0",
    "font-awesome": "4.7.0",
    "highlight.js": "^9.13.1",
    "history": "^4.7.2",
    "lodash": "4.17.4",
    "path-to-regexp": "^2.4.0",
    "prop-types": "^15.6.0",
    "pubsweet": "^2.2.8",
    "pubsweet-client": "^2.5.5",
37
    "pubsweet-component-bookbuilder": "^1.1.5",
38
    "pubsweet-component-editoria-dashboard": "^0.1.4",
39
    "pubsweet-component-editoria-global-teams": "^0.1.2",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
40 41 42 43 44 45 46 47 48 49 50 51 52
    "pubsweet-component-epub": "^0.5.2",
    "pubsweet-component-epub-frontend": "^0.1.3",
    "pubsweet-component-ink-backend": "^0.1.1",
    "pubsweet-component-ink-frontend": "^0.2.3",
    "pubsweet-component-login": "^0.5.5",
    "pubsweet-component-manage": "^1.0.0",
    "pubsweet-component-navigation": "^1.0.1",
    "pubsweet-component-pagedjs-viewer": "^0.1.1",
    "pubsweet-component-password-reset-backend": "1.0.0",
    "pubsweet-component-password-reset-frontend": "1.0.0",
    "pubsweet-component-signup": "^0.4.1",
    "pubsweet-component-theme-editoria": "^0.0.5",
    "pubsweet-component-users-manager": "1.0.0",
53
    "pubsweet-component-vivliostyle-viewer": "^1.0.1",
54
    "pubsweet-component-wax": "^0.7.0",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
55 56 57 58 59 60 61 62 63 64 65 66 67 68
    "pubsweet-server": "^7.2.0",
    "pubsweet-theme-plugin": "^0.0.3",
    "react": "^16.2.0",
    "react-bootstrap": "0.32.1",
    "react-dnd": "2.5.4",
    "react-dnd-html5-backend": "2.5.4",
    "react-dom": "^16.2.0",
    "react-redux": "5.0.4",
    "react-router-bootstrap": "0.24.4",
    "react-router-dom": "^4.2.2",
    "recompose": "^0.26.0",
    "redux": "3.6.0",
    "typeface-fira-sans": "^0.0.43"
  },
Alexandros Georgantas's avatar
Alexandros Georgantas committed
69
  "devDependencies": {
Alexandros Georgantas's avatar
Alexandros Georgantas committed
70 71 72 73 74 75 76
    "app-module-path": "^2.2.0",
    "autobind-decorator": "^1.3.4",
    "babel-core": "^6.26.0",
    "babel-loader": "^7.1.2",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-preset-babili": "0.0.12",
    "babel-preset-env": "^1.6.0",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
77
    "babel-preset-es2015": "^6.24.1",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
78 79 80 81 82 83 84 85 86 87 88 89 90
    "babel-preset-es2015-native-modules": "^6.9.4",
    "babel-preset-minify": "^0.3.0",
    "babel-preset-react": "^6.24.1",
    "babel-preset-stage-2": "^6.24.1",
    "babili-webpack-plugin": "^0.0.11",
    "bootstrap-sass": "^3.3.7",
    "clean-webpack-plugin": "^0.1.17",
    "compression-webpack-plugin": "^1.1.6",
    "copy-webpack-plugin": "^4.0.1",
    "css-loader": "^0.28.4",
    "enzyme": "^2.7.1",
    "enzyme-to-json": "^1.4.5",
    "babel-eslint": "^8.0.3",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
91 92 93 94 95 96 97 98 99 100 101 102 103
    "eslint": "^4.13.1",
    "eslint-config-pubsweet": "^0.0.6",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jest": "^21.4.2",
    "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",
    "lint-staged": "^6.0.0",
    "prettier": "^1.8.2",
    "stylelint-config-prettier": "^2.0.0",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
    "eslint-loader": "^1.6.0",
    "extract-text-webpack-plugin": "^3.0.0",
    "faker": "^4.1.0",
    "file-loader": "^1.1.5",
    "fs-extra": "^5.0.0",
    "html-webpack-plugin": "^2.24.0",
    "husky": "^0.14.3",
    "identity-obj-proxy": "^3.0.0",
    "jest": "^18.1.0",
    "joi-browser": "^10.0.6",
    "json-loader": "^0.5.4",
    "node-sass": "^4.5.2",
    "pouchdb-adapter-memory": "^6.1.1",
    "react-addons-test-utils": "^15.4.2",
    "react-hot-loader": "^3.1.1",
    "react-router-redux": "^5.0.0-alpha.9",
    "react-test-renderer": "^15.4.2",
    "regenerator-runtime": "^0.11.0",
    "sass-loader": "^6.0.3",
    "script-loader": "^0.7.0",
    "sinon": "^1.17.7",
    "sinon-as-promised": "^4.0.2",
    "smtp-server": "^3.3.0",
    "standard": "^10.0.1",
    "string-replace-loader": "^1.3.0",
    "style-loader": "^0.19.0",
    "stylelint": "^8.2.0",
    "stylelint-config-pubsweet": "^0.0.3",
    "testcafe": "^0.18.6",
    "testcafe-react-selectors": "^1.0.5",
    "uglifyjs-webpack-plugin": "^1.1.2",
    "url-loader": "^0.6.2",
    "webpack": "^3.8.1",
    "webpack-dev-middleware": "^1.12.0",
    "webpack-hot-middleware": "^2.20.0",
139 140 141 142 143 144 145 146 147
    "winston-daily-rotate-file": "^3.2.1",
    "@commitlint/cli": "^6.0.5",
    "@commitlint/config-conventional": "^6.0.4",
    "commitizen": "^2.9.6",
    "cz-conventional-changelog": "^2.1.0",
    "stylelint-config-recommended": "^2.1.0",
    "stylelint-config-styled-components": "^0.1.1",
    "stylelint-processor-styled-components": "^1.3.1",
    "standard-version": "^4.4.0"
Alexandros Georgantas's avatar
Alexandros Georgantas committed
148
  },
Alexandros Georgantas's avatar
Alexandros Georgantas committed
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
  "jest": {
    "moduleNameMapper": {
      "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "./test/fileMock.js",
      "\\.(css|less|scss)$": "identity-obj-proxy"
    },
    "setupFiles": [
      "./test/jest.config.js"
    ],
    "snapshotSerializers": [
      "./node_modules/enzyme-to-json/serializer"
    ],
    "transformIgnorePatterns": [
      "node_modules/(?!pubsweet-frontend)",
      "__snapshots__"
    ]
Alexandros Georgantas's avatar
Alexandros Georgantas committed
164 165
  },
  "scripts": {
166
    "setupdb": "pubsweet setupdb && npm run seed",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
167 168
    "start": "pubsweet start",
    "server": "pubsweet start",
169
    "resetdb": "pubsweet setupdb --clobber && npm run seed",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
170
    "start:services": "docker-compose up postgres",
171
    "seed": "node ./scripts/seedGlobalTeams.js",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
172 173 174
    "test": "NODE_ENV=test jest",
    "test:watch": "NODE_ENV=test jest --watch",
    "test:cover": "NODE_ENV=test jest --coverage",
175 176
    "build": "NODE_ENV=production pubsweet build",
    "lint": "npm run lint:js && npm run lint:style",
177 178
    "lint:js": "eslint '**/*.{js,jsx}'",
    "lint:style": "stylelint '**/*.{js,jsx}'",
179 180 181 182 183 184 185 186 187
    "precommit": "lint-staged",
    "cz": "git-cz",
    "commitmsg": "commitlint -e $GIT_PARAMS",
    "release": "standard-version"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
Alexandros Georgantas's avatar
Alexandros Georgantas committed
188
  }
Alexandros Georgantas's avatar
Alexandros Georgantas committed
189
}