package.json 5.68 KB
Newer Older
Imran Salam's avatar
Imran Salam committed
1 2 3 4 5 6 7 8
{
  "name": "ensembl-new",
  "version": "0.0.1",
  "description": "New website of Ensembl",
  "main": "index.js",
  "directories": {
    "example": "example"
  },
9 10 11 12
  "repository": {
    "type": "git",
    "url": ""
  },
13 14
  "author": "EMBL-EBI",
  "license": "MIT",
Imran Salam's avatar
Imran Salam committed
15
  "scripts": {
16 17
    "copy-dotenv": "test ! -f .env && (cp .env.example .env; echo '.env file created') || true",
    "start": "npm install --no-save && npm run serve:dev",
18
    "serve:dev": "npm run copy-dotenv && webpack-dev-server --config ./webpack/webpack.config.js --env.mode dev",
19
    "serve:prod": "node ./server.js",
20
    "serve:prod:secure": "node ./server.js -p https",
21 22
    "build": "rimraf ./dist && NODE_ENV=production webpack --config ./webpack/webpack.config.js --env.mode prod",
    "prod:analyse": "npm run build -- --env.presets analyse",
23
    "certify": "node setup-ssl",
24
    "lint": "npm run lint:scripts && npm run lint:styles",
Imran Salam's avatar
Imran Salam committed
25
    "lint:scripts": "eslint 'src/**/*.{ts,tsx}'",
26
    "lint:styles": "stylelint 'src/**/*.scss'",
Andrey Azov's avatar
Andrey Azov committed
27
    "storybook": "start-storybook -p 9001 -c .storybook",
28
    "deploy-docs": "./deploy-docs.sh",
Andrey Azov's avatar
Andrey Azov committed
29
    "check-types": "tsc",
Andrey Azov's avatar
Andrey Azov committed
30 31
    "test": "jest --verbose",
    "test:watch": "jest --watch",
Imran Salam's avatar
Imran Salam committed
32
    "coverage": "jest --coverage"
Imran Salam's avatar
Imran Salam committed
33
  },
34
  "lint-staged": {
Imran Salam's avatar
Imran Salam committed
35
    "*.{ts,tsx}": [
36 37 38
      "eslint --max-warnings=0",
      "npx manage-licence-header add",
      "prettier --write"
Imran Salam's avatar
Imran Salam committed
39 40
    ],
    "*.{scss}": [
41
      "stylelint",
Andrey Azov's avatar
Andrey Azov committed
42
      "prettier --write"
43 44 45 46 47 48 49
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
Imran Salam's avatar
Imran Salam committed
50
  "dependencies": {
Andrey Azov's avatar
Andrey Azov committed
51
    "@apollo/client": "3.1.5",
52
    "@reduxjs/toolkit": "1.4.0",
Andrey Azov's avatar
Andrey Azov committed
53
    "@sentry/browser": "5.23.0",
Andrey Azov's avatar
Andrey Azov committed
54
    "classnames": "2.2.6",
Andrey Azov's avatar
Andrey Azov committed
55
    "connected-react-router": "6.8.0",
Jyothish's avatar
Jyothish committed
56
    "core-js": "3.6.5",
Andrey Azov's avatar
Andrey Azov committed
57
    "d3": "6.1.1",
Andrey Azov's avatar
Andrey Azov committed
58
    "dotenv": "8.2.0",
59
    "ensembl-genome-browser": "https://raw.githubusercontent.com/Ensembl/ensembl-genome-browser-assets/master/assets-80f51620ed443c640cdfd6b5aebd505b.tar.gz",
Andrey Azov's avatar
Andrey Azov committed
60
    "graphql": "15.3.0",
61
    "koa-proxy": "1.0.0-alpha.3",
Andrey Azov's avatar
Andrey Azov committed
62
    "lodash": "4.17.20",
Andrey Azov's avatar
Andrey Azov committed
63
    "query-string": "6.13.1",
Jyothish's avatar
Jyothish committed
64
    "react": "16.13.1",
Andrey Azov's avatar
Andrey Azov committed
65
    "react-cookie": "4.0.3",
Jyothish's avatar
Jyothish committed
66
    "react-dom": "16.13.1",
Andrey Azov's avatar
Andrey Azov committed
67
    "react-ga": "3.1.2",
Andrey Azov's avatar
Andrey Azov committed
68
    "react-redux": "7.2.1",
Andrey Azov's avatar
Andrey Azov committed
69 70
    "react-router": "5.2.0",
    "react-router-dom": "5.2.0",
71
    "react-spring": "8.0.27",
Andrey Azov's avatar
Andrey Azov committed
72
    "redux": "4.0.5",
73
    "redux-observable": "1.2.0",
Andrey Azov's avatar
Andrey Azov committed
74
    "rxjs": "6.6.3",
Andrey Azov's avatar
Andrey Azov committed
75
    "typesafe-actions": "5.1.0",
Andrey Azov's avatar
Andrey Azov committed
76
    "what-input": "5.2.10"
Imran Salam's avatar
Imran Salam committed
77 78
  },
  "devDependencies": {
Andrey Azov's avatar
Andrey Azov committed
79
    "@babel/core": "7.11.6",
Andrey Azov's avatar
Andrey Azov committed
80 81
    "@babel/plugin-proposal-class-properties": "7.10.4",
    "@babel/plugin-proposal-nullish-coalescing-operator": "7.10.4",
Andrey Azov's avatar
Andrey Azov committed
82 83
    "@babel/plugin-proposal-object-rest-spread": "7.11.0",
    "@babel/plugin-proposal-optional-chaining": "7.11.0",
Andrey Azov's avatar
Andrey Azov committed
84
    "@babel/plugin-syntax-dynamic-import": "7.8.3",
Andrey Azov's avatar
Andrey Azov committed
85
    "@babel/plugin-transform-modules-commonjs": "7.10.4",
Andrey Azov's avatar
Andrey Azov committed
86
    "@babel/preset-env": "7.11.5",
Andrey Azov's avatar
Andrey Azov committed
87 88
    "@babel/preset-react": "7.10.4",
    "@babel/preset-typescript": "7.10.4",
Andrey Azov's avatar
Andrey Azov committed
89 90 91 92
    "@storybook/addon-essentials": "6.0.21",
    "@storybook/addons": "6.0.21",
    "@storybook/react": "6.0.21",
    "@storybook/theming": "6.0.21",
Andrey Azov's avatar
Andrey Azov committed
93
    "@svgr/webpack": "5.4.0",
Andrey Azov's avatar
Andrey Azov committed
94
    "@types/classnames": "2.2.10",
Andrey Azov's avatar
Andrey Azov committed
95
    "@types/d3": "5.7.2",
Andrey Azov's avatar
Andrey Azov committed
96
    "@types/enzyme": "3.10.6",
Andrey Azov's avatar
Andrey Azov committed
97
    "@types/enzyme-adapter-react-16": "1.0.6",
Andrey Azov's avatar
Andrey Azov committed
98 99 100 101 102 103
    "@types/faker": "5.1.0",
    "@types/jest": "26.0.13",
    "@types/lodash": "4.14.161",
    "@types/node": "14.6.4",
    "@types/prettier": "2.1.0",
    "@types/react": "16.9.49",
Andrey Azov's avatar
Andrey Azov committed
104
    "@types/react-dom": "16.9.8",
Andrey Azov's avatar
Andrey Azov committed
105
    "@types/react-redux": "7.1.9",
Andrey Azov's avatar
Andrey Azov committed
106
    "@types/react-router-dom": "5.1.5",
Andrey Azov's avatar
Andrey Azov committed
107
    "@types/react-router-hash-link": "1.2.1",
Andrey Azov's avatar
Andrey Azov committed
108
    "@types/redux-mock-store": "1.0.2",
Andrey Azov's avatar
Andrey Azov committed
109
    "@types/webpack-env": "1.15.2",
Andrey Azov's avatar
Andrey Azov committed
110 111
    "@typescript-eslint/eslint-plugin": "4.1.0",
    "@typescript-eslint/parser": "4.1.0",
Imran Salam's avatar
Imran Salam committed
112
    "babel-core": "7.0.0-bridge.0",
Andrey Azov's avatar
Andrey Azov committed
113
    "babel-jest": "26.3.0",
Jyothish's avatar
Jyothish committed
114
    "babel-loader": "8.1.0",
115
    "brotli-webpack-plugin": "1.1.0",
Andrey Azov's avatar
Andrey Azov committed
116
    "compression-webpack-plugin": "5.0.2",
117
    "connect-history-api-fallback": "1.6.0",
Andrey Azov's avatar
Andrey Azov committed
118 119
    "copy-webpack-plugin": "6.1.0",
    "css-loader": "4.3.0",
Andrey Azov's avatar
Andrey Azov committed
120
    "enzyme": "3.11.0",
Andrey Azov's avatar
Andrey Azov committed
121
    "enzyme-adapter-react-16": "1.15.4",
Andrey Azov's avatar
Andrey Azov committed
122
    "enzyme-to-json": "3.5.0",
Andrey Azov's avatar
Andrey Azov committed
123
    "eslint": "7.8.1",
Andrey Azov's avatar
Andrey Azov committed
124
    "eslint-config-prettier": "6.11.0",
Andrey Azov's avatar
Andrey Azov committed
125
    "eslint-plugin-prettier": "3.1.4",
Andrey Azov's avatar
Andrey Azov committed
126 127 128 129 130
    "eslint-plugin-react": "7.20.6",
    "eslint-plugin-react-hooks": "4.1.0",
    "faker": "5.1.0",
    "file-loader": "6.1.0",
    "fork-ts-checker-webpack-plugin": "5.1.0",
Andrey Azov's avatar
Andrey Azov committed
131
    "gh-pages": "3.1.0",
Andrey Azov's avatar
Andrey Azov committed
132 133
    "html-webpack-plugin": "4.4.1",
    "husky": "4.3.0",
134
    "identity-obj-proxy": "3.0.0",
135
    "image-webpack-loader": "6.0.0",
Andrey Azov's avatar
Andrey Azov committed
136
    "jest": "26.4.2",
Andrey Azov's avatar
Andrey Azov committed
137
    "jest-fetch-mock": "3.0.3",
Andrey Azov's avatar
Andrey Azov committed
138
    "jest-transform-stub": "2.0.0",
Andrey Azov's avatar
Andrey Azov committed
139
    "koa": "2.13.0",
Andrey Azov's avatar
Andrey Azov committed
140
    "koa-connect": "2.1.0",
141
    "koa-static": "5.0.0",
142
    "licence-manager": "git+https://github.com/Ensembl/ensembl-licence-manager.git#36b534d28ff26d345b4ba4da0cbc18e1e0f7a6b7",
Andrey Azov's avatar
Andrey Azov committed
143 144
    "lint-staged": "10.3.0",
    "mini-css-extract-plugin": "0.11.1",
Andrey Azov's avatar
Andrey Azov committed
145
    "node-sass": "4.14.1",
Andrey Azov's avatar
Andrey Azov committed
146 147 148
    "optimize-css-assets-webpack-plugin": "5.0.4",
    "postcss": "7.0.32",
    "postcss-loader": "4.0.1",
149
    "postcss-preset-env": "6.7.0",
Andrey Azov's avatar
Andrey Azov committed
150
    "prettier": "2.1.1",
Andrey Azov's avatar
Andrey Azov committed
151
    "redux-mock-store": "1.5.4",
Andrey Azov's avatar
Andrey Azov committed
152
    "rimraf": "3.0.2",
Andrey Azov's avatar
Andrey Azov committed
153
    "robotstxt-webpack-plugin": "7.0.0",
Andrey Azov's avatar
Andrey Azov committed
154 155
    "sass-loader": "10.0.2",
    "source-map-loader": "1.1.0",
Andrey Azov's avatar
Andrey Azov committed
156
    "style-loader": "1.2.1",
Andrey Azov's avatar
Andrey Azov committed
157
    "stylelint": "13.7.0",
Andrey Azov's avatar
Andrey Azov committed
158
    "stylelint-config-recommended-scss": "4.2.0",
Andrey Azov's avatar
Andrey Azov committed
159 160
    "stylelint-scss": "3.18.0",
    "stylelint-webpack-plugin": "2.1.0",
Andrey Azov's avatar
Andrey Azov committed
161 162 163
    "terser-webpack-plugin": "4.1.0",
    "typescript": "4.0.2",
    "webpack": "4.44.1",
Andrey Azov's avatar
Andrey Azov committed
164 165
    "webpack-bundle-analyzer": "3.8.0",
    "webpack-cli": "3.3.12",
Andrey Azov's avatar
Andrey Azov committed
166
    "webpack-dev-server": "3.11.0",
Andrey Azov's avatar
Andrey Azov committed
167 168
    "webpack-merge": "5.1.4",
    "workbox-webpack-plugin": "5.1.4"
Andrey Azov's avatar
Andrey Azov committed
169 170
  },
  "browserslist": [
Andrey Azov's avatar
Andrey Azov committed
171 172 173
    "> 1% and last 2 versions",
    "not dead",
    "not ie 11"
Andrey Azov's avatar
Andrey Azov committed
174
  ]
Imran Salam's avatar
Imran Salam committed
175
}