package.json 3.67 KB
Newer Older
Jure's avatar
Jure committed
1
{
2
  "name": "pubsweet-client",
Jure's avatar
Jure committed
3
  "version": "0.8.2",
4
  "main": "src/index.js",
Jure's avatar
Jure committed
5
  "scripts": {
Richard Smith-Unna's avatar
Richard Smith-Unna committed
6
    "compile": "babel --presets es2015,react -d lib/ src/",
Alf Eaton's avatar
Alf Eaton committed
7
    "test": "./test/helpers/runtestcmd jest --runInBand",
8
    "testdocker": "./test/helpers/runtestcmd \"jest --runInBand --no-watchman --no-cache --verbose --forceExit\"",
Richard Smith-Unna's avatar
Richard Smith-Unna committed
9
    "testci": "gitlab-ci-multi-runner exec docker --docker-image=pubsweet/pubsweet-test-base test",
10
    "eslint": "eslint"
Jure's avatar
Jure committed
11
  },
12
  "engines": {
Richard Smith-Unna's avatar
Richard Smith-Unna committed
13
    "node": ">=7.7.0",
Jure's avatar
Jure committed
14
    "npm": ">=3.0.0"
15
  },
Jure's avatar
Jure committed
16
17
  "author": "Collaborative Knowledge Foundation",
  "license": "MIT",
Jure's avatar
Jure committed
18
  "dependencies": {
19
    "authsome": "0.0.4",
Jure's avatar
Jure committed
20
21
    "babel-core": "^6.0.0",
    "babel-loader": "^6.2.4",
Jure's avatar
Jure committed
22
23
    "babel-preset-es2015": "^6.6.0",
    "babel-preset-react": "^6.5.0",
24
    "bootstrap-sass": "^3.3.7",
Richard Smith-Unna's avatar
Richard Smith-Unna committed
25
    "config": "^1.21.0",
Jure's avatar
Jure committed
26
    "debug": "~2.2.0",
27
    "global": "^4.3.1",
28
    "history": "^1.13.1",
29
    "http-status-codes": "^1.0.6",
30
    "isomorphic-fetch": "^2.1.1",
31
    "jsonwebtoken": "^7.1.7",
32
    "lodash": "^4.0.0",
33
    "minimatch": "^3.0.0",
34
    "minimist": "^1.2.0",
35
    "morgan": "~1.7.0",
36
    "multer": "^1.1.0",
37
38
39
40
    "react": "^15.3.2",
    "react-bootstrap": "^0.30.3",
    "react-dom": "^15.3.2",
    "react-helmet": "^3.1.0",
Jure's avatar
Jure committed
41
    "react-hot-loader": "^3.0.0-beta.2",
42
    "react-redux": "^5.0.2",
43
    "react-router": "^2.6.1",
44
    "react-router-bootstrap": "^0.23.1",
45
    "react-router-redux": "^4.0.5",
46
    "react-select": "^1.0.0-rc.1",
Alf Eaton's avatar
Alf Eaton committed
47
    "redux": "^3.6.0",
48
49
50
    "redux-devtools": "^3.0.0-beta-3",
    "redux-devtools-dock-monitor": "^1.0.0-beta-3",
    "redux-devtools-log-monitor": "^1.0.0-beta-3",
51
    "redux-logger": "^2.0.2",
Richard Smith-Unna's avatar
Richard Smith-Unna committed
52
    "redux-thunk": "^0.1.0"
53
54
  },
  "devDependencies": {
Richard Smith-Unna's avatar
Richard Smith-Unna committed
55
    "babel-cli": "^6.18.0",
56
    "babel-eslint": "^6.1.2",
57
    "chai": "^3.5.0",
58
    "chai-as-promised": "^5.3.0",
59
60
61
    "eslint": "^3.2.2",
    "eslint-config-standard": "^5.3.5",
    "eslint-config-standard-react": "^3.0.0",
62
    "eslint-loader": "^1.2.0",
63
64
65
    "eslint-plugin-promise": "^2.0.0",
    "eslint-plugin-react": "^6.0.0",
    "eslint-plugin-standard": "^2.0.0",
66
    "expect.js": "^0.3.1",
Jure's avatar
Jure committed
67
    "expose-loader": "^0.7.0",
68
    "file-api": "^0.10.4",
Richard Smith-Unna's avatar
Richard Smith-Unna committed
69
    "formdata-polyfill": "^1.0.4",
Richard Smith-Unna's avatar
Richard Smith-Unna committed
70
    "isomorphic-form-data": "^1.0.0",
Jure's avatar
Jure committed
71
    "jest": "^19.0.1",
72
    "node-localstorage": "^1.3.0",
73
    "pubsweet-cli": "git+https://gitlab.coko.foundation/pubsweet/pubsweet-cli.git#testing",
Alf Eaton's avatar
Alf Eaton committed
74
    "pubsweet-component-login": "^0.2.2",
75
    "pubsweet-server": "^0.7.2",
Richard Smith-Unna's avatar
Richard Smith-Unna committed
76
    "require-dir": "^0.3.1",
77
    "standard": "^8.0.0-beta.5",
78
79
    "supertest": "^2.0.0",
    "supertest-as-promised": "^3.2.0",
Richard Smith-Unna's avatar
Richard Smith-Unna committed
80
    "warning": "^3.0.0"
81
  },
Jure's avatar
Jure committed
82
  "standard": {
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
    "parser": "babel-eslint",
    "globals": [
      "db",
      "after",
      "afterEach",
      "before",
      "beforeEach",
      "context",
      "describe",
      "it",
      "setup",
      "specify",
      "suite",
      "suiteSetup",
      "suiteTeardown",
      "teardown",
      "test",
      "xcontext",
      "xdescribe",
      "xit",
      "xspecify"
    ]
Jure's avatar
Jure committed
105
106
107
  },
  "repository": {
    "type": "git",
108
    "url": "https://gitlab.coko.foundation/pubsweet/pubsweet-client"
109
110
111
112
113
114
115
116
117
118
  },
  "jest": {
    "testEnvironment": "node",
    "testRegex": "/test/[^/]*\\.js$",
    "collectCoverage": true,
    "collectCoverageFrom": [
      "src/(actions|reducers)/*.js"
    ],
    "modulePaths": [
      "<rootDir>/node_modules",
119
120
121
      "<rootDir>/node_modules/pubsweet",
      "./node_modules",
      "."
122
123
124
125
    ],
    "verbose": true,
    "globals": {
      "CONFIG": {
126
        "pubsweet-server": {
127
128
129
130
          "API_ENDPOINT": "http://localhost:3000/api"
        }
      },
      "window": {}
131
132
    },
    "transformIgnorePatterns": [
133
134
135
      "<rootDir>/node_modules/?!(pubsweet)",
      "<rootDir>/test",
      "<rootDir>/node_modules/chai"
136
    ]
Jure's avatar
Jure committed
137
  }
138
}