package.json 6.43 KB
Newer Older
1
{
Alexandros Georgantas's avatar
Alexandros Georgantas committed
2
  "name": "VANILLA",
3 4 5 6 7 8 9 10 11 12 13
  "description": "An application for managing book production flows",
  "private": true,
  "keywords": [
    "Coko",
    "Coko Foundation",
    "book",
    "book production",
    "book management"
  ],
  "repository": {
    "type": "git",
14
    "url": "https://gitlab.coko.foundation/editoria/editoria-vanilla"
15 16 17
  },
  "homepage": "https://editoria.pub/",
  "license": "MIT",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
18
  "version": "2.1.11",
19
  "dependencies": {
Alexandros Georgantas's avatar
Alexandros Georgantas committed
20 21 22
    "@pubsweet/coko-theme": "^5.1.22",
    "@pubsweet/component-password-reset-client": "^3.1.21",
    "@pubsweet/component-password-reset-server": "^2.2.5",
23 24
    "@pubsweet/model-team": "^3.0.3",
    "@pubsweet/model-user": "^5.1.10",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
25 26 27 28
    "@pubsweet/db-manager": "3.1.5",
    "@pubsweet/logger": "^0.2.40",
    "@pubsweet/ui": "^12.3.1",
    "@pubsweet/ui-toolkit": "^2.2.19",
29 30
    "authsome": "^0.1.0",
    "cypress": "^3.3.0",
31
    "editoria-api": "^0.6.10",
32
    "editoria-asset-manager": "^1.1.2",
33
    "editoria-common": "^0.2.5",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
34 35
    "editoria-component-login": "^1.3.3",
    "editoria-component-signup": "^1.1.5",
36
    "editoria-data-model": "^0.4.2",
37
    "editoria-file-server": "^0.1.3",
38
    "editoria-templates": "^1.0.0",
39
    "history": "^4.7.2",
40
    "lodash": "^4.17.15",
41 42
    "nodemon": "^1.19.1",
    "prop-types": "^15.6.0",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
43 44
    "pubsweet": "^5.1.8",
    "pubsweet-client": "^10.1.5",
45 46 47 48 49 50
    "pubsweet-component-bookbuilder": "^1.6.1",
    "pubsweet-component-editoria-dashboard": "^0.3.8",
    "pubsweet-component-editoria-global-teams": "^0.2.11",
    "pubsweet-component-editoria-navigation": "^0.3.5",
    "pubsweet-component-editoria-templates": "^0.3.1",
    "pubsweet-component-editoria-user-profile": "^0.1.5",
51
    "pubsweet-component-pagedjs-viewer": "^0.1.4",
52
    "pubsweet-component-vivliostyle-viewer": "^1.0.2",
53
    "pubsweet-component-wax": "^0.12.4",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
54
    "pubsweet-server": "^13.9.2",
55 56 57 58
    "react": "^16.12.0",
    "react-dom": "^16.12.0",
    "react-router-dom": "^5.1.2",
    "styled-components": "^4.1.3"
59 60
  },
  "devDependencies": {
61 62 63 64 65 66 67 68 69 70 71 72
    "@babel/core": "^7.10.4",
    "@babel/plugin-proposal-class-properties": "^7.10.4",
    "@babel/plugin-proposal-decorators": "^7.10.4",
    "@babel/plugin-proposal-export-namespace-from": "^7.10.4",
    "@babel/plugin-proposal-function-sent": "^7.10.4",
    "@babel/plugin-proposal-json-strings": "^7.10.4",
    "@babel/plugin-proposal-numeric-separator": "^7.10.4",
    "@babel/plugin-proposal-throw-expressions": "^7.10.4",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/plugin-syntax-import-meta": "^7.10.4",
    "@babel/preset-env": "^7.10.4",
    "@babel/preset-react": "^7.10.4",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
73 74
    "@commitlint/cli": "^6.0.5",
    "@commitlint/config-conventional": "^6.0.4",
75
    "app-module-path": "^2.2.0",
76
    "babel-eslint": "^10.0.1",
77 78
    "babel-loader": "^8.0.0",
    "babel-preset-es2015-native-modules": "^6.9.4",
79
    "babel-preset-minify": "^0.5.0",
80
    "commitizen": "^2.9.6",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
81
    "compression-webpack-plugin": "^2.0.0",
82 83
    "copy-webpack-plugin": "^5.0.2",
    "css-loader": "^2.1.1",
84
    "cz-conventional-changelog": "^2.1.0",
85
    "eslint": "^4.17.0",
86 87
    "eslint-config-pubsweet": "^0.0.6",
    "eslint-plugin-import": "^2.8.0",
88
    "eslint-plugin-jest": "^21.9.0",
89
    "eslint-plugin-jsx-a11y": "^6.0.2",
90 91
    "eslint-plugin-node": "^6.0.0",
    "eslint-plugin-prettier": "^2.6.0",
92
    "eslint-plugin-promise": "^3.6.0",
93
    "eslint-plugin-react": "^7.6.1",
94 95 96 97
    "eslint-plugin-standard": "^3.0.1",
    "faker": "^4.1.0",
    "file-loader": "^2.0.0",
    "fs-extra": "^5.0.0",
98
    "html-webpack-plugin": "^3.2.0",
99
    "husky": "^0.14.3",
100
    "joi-browser": "^13.0.1",
101
    "json-loader": "^0.5.4",
102 103 104
    "lint-staged": "^6.1.0",
    "mini-css-extract-plugin": "^0.9.0",
    "node-dev": "^4.0.0",
105
    "node-sass": "^4.5.2",
106 107
    "prettier": "^1.10.2",
    "react-hot-loader": "^4.8.3",
108
    "regenerator-runtime": "^0.11.0",
109
    "sass-loader": "^8.0.2",
110 111
    "script-loader": "^0.7.0",
    "smtp-server": "^3.3.0",
112
    "standard-version": "^7.1.0",
113
    "style-loader": "^0.23.1",
114 115 116 117 118 119
    "stylelint": "^8.2.0",
    "stylelint-config-prettier": "^2.0.0",
    "stylelint-config-pubsweet": "^0.0.3",
    "stylelint-config-recommended": "^2.1.0",
    "stylelint-config-styled-components": "^0.1.1",
    "stylelint-processor-styled-components": "^1.3.1",
120 121 122 123 124 125 126
    "testcafe": "^1.4.2",
    "testcafe-react-selectors": "^3.0.0",
    "url-loader": "^1.1.2",
    "webpack": "^4.39.3",
    "webpack-cli": "^3.3.6",
    "webpack-dev-server": "^3.7.2",
    "webpack-hot-middleware": "^2.25.0",
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
    "winston-daily-rotate-file": "^3.2.1"
  },
  "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__"
    ]
  },
  "scripts": {
    "dependencies": "EDITORIA_FOLDER=${EDITORIA_FOLDER} sh ./scripts/link.sh",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
147
    "setupdb": "pubsweet setupdb && npm run seed",
148 149
    "start": "pubsweet start",
    "server": "pubsweet start",
150
    "migrate": "pubsweet migrate",
151 152 153
    "watch": "DEBUG=knex:query nodemon --exec 'pubsweet server' --watch node_modules/editoria-api",
    "cypress": "cypress open",
    "resetdb": "pubsweet setupdb --clobber && npm run seed",
154
    "start:services": "docker-compose up job-xsweet language-tool job-epubcheck job-pandoc job-pdf",
155 156
    "start:file-server": "docker-compose up file_hosting",
    "create:file-bucket": "docker-compose up createbucket",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
157
    "start:postgres": "docker-compose up postgres",
158
    "start:xsweet": "docker-compose up job-xsweet",
Alexandros Georgantas's avatar
Alexandros Georgantas committed
159
    "start:languageTool": "docker-compose up language-tool",
160 161 162 163 164
    "seed": "node ./scripts/seedGlobalTeams.js && node ./scripts/seedBookCollection.js && node ./scripts/seedApplicationParameter.js",
    "seed:createBooksWithUsersAndTeams": "node ./scripts/createBooksWithUsersAndTeams.js",
    "test": "NODE_ENV=test jest",
    "test:watch": "NODE_ENV=test jest --watch",
    "test:cover": "NODE_ENV=test jest --coverage",
165
    "build": "pubsweet build",
166 167 168 169 170 171 172 173 174 175 176 177 178 179
    "lint": "npm run lint:js && npm run lint:style",
    "lint:js": "eslint '**/*.{js,jsx}'",
    "lint:style": "stylelint '**/*.{js,jsx}'",
    "precommit": "lint-staged",
    "cz": "git-cz",
    "commitmsg": "commitlint -e $GIT_PARAMS",
    "release": "standard-version"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
}