package.json 5.17 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 18
    "copy-dotenv": "test ! -f .env && (cp .env.example .env; echo '.env file created') || true",
    "start": "npm install --no-save && npm run serve:dev",
    "serve:dev": "npm run copy-dotenv && webpack-dev-server --config ./webpack/webpack.config.dev.js",
19
    "serve:prod": "node ./server.js",
20
    "serve:prod:secure": "node ./server.js -p https",
21
    "build": "rimraf ./dist && webpack --config ./webpack/webpack.config.prod.js",
22 23
    "deploy": "node deploy",
    "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/styles/**/*.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",
Imran Salam's avatar
Imran Salam committed
30 31 32
    "test": "jest --verbose --maxWorkers=1",
    "test:watch": "jest --watch --maxWorkers=1",
    "coverage": "jest --coverage"
Imran Salam's avatar
Imran Salam committed
33
  },
34
  "lint-staged": {
Imran Salam's avatar
Imran Salam committed
35 36 37 38 39 40
    "*.{ts,tsx}": [
      "eslint"
    ],
    "*.{scss}": [
      "stylelint"
    ],
41 42 43 44 45 46 47 48 49 50
    "*.{scss,ts,tsx}": [
      "prettier --write",
      "git add"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
Imran Salam's avatar
Imran Salam committed
51
  "dependencies": {
Andrey Azov's avatar
Andrey Azov committed
52
    "@sentry/browser": "5.6.2",
Andrey Azov's avatar
Andrey Azov committed
53
    "classnames": "2.2.6",
54
    "connected-react-router": "6.5.2",
Andrey Azov's avatar
Andrey Azov committed
55 56
    "core-js": "3.2.1",
    "dotenv": "8.1.0",
57
    "koa-proxy": "1.0.0-alpha.3",
Andrey Azov's avatar
Andrey Azov committed
58
    "lodash": "4.17.15",
59
    "query-string": "6.8.2",
Andrey Azov's avatar
Andrey Azov committed
60
    "react": "16.9.0",
61
    "react-cookie": "4.0.1",
Andrey Azov's avatar
Andrey Azov committed
62
    "react-dom": "16.9.0",
63
    "react-ga": "2.6.0",
Andrey Azov's avatar
Andrey Azov committed
64 65 66
    "react-redux": "7.1.0",
    "react-router": "5.0.1",
    "react-router-dom": "5.0.1",
67 68 69
    "react-slidedown": "2.4.4",
    "react-spring": "8.0.27",
    "redux": "4.0.4",
70
    "redux-devtools-extension": "2.13.8",
Andrey Azov's avatar
Andrey Azov committed
71
    "redux-observable": "1.1.0",
72
    "redux-thunk": "2.3.0",
73
    "rxjs": "6.5.2",
74
    "typesafe-actions": "4.4.2",
75
    "use-resize-observer": "3.1.0",
76
    "what-input": "5.2.3"
Imran Salam's avatar
Imran Salam committed
77 78
  },
  "devDependencies": {
Andrey Azov's avatar
Andrey Azov committed
79 80 81
    "@babel/core": "7.5.5",
    "@babel/plugin-proposal-class-properties": "7.5.5",
    "@babel/plugin-proposal-object-rest-spread": "7.5.5",
82
    "@babel/plugin-syntax-dynamic-import": "7.2.0",
83
    "@babel/plugin-transform-modules-commonjs": "7.5.0",
Andrey Azov's avatar
Andrey Azov committed
84
    "@babel/preset-env": "7.5.5",
85
    "@babel/preset-react": "7.0.0",
Andrey Azov's avatar
Andrey Azov committed
86
    "@babel/preset-typescript": "7.3.3",
Andrey Azov's avatar
Andrey Azov committed
87 88 89
    "@storybook/addon-actions": "5.1.11",
    "@storybook/addon-notes": "5.1.11",
    "@storybook/react": "5.1.11",
90 91
    "@svgr/webpack": "4.3.2",
    "@types/classnames": "2.2.9",
Andrey Azov's avatar
Andrey Azov committed
92
    "@types/enzyme": "3.10.3",
Andrey Azov's avatar
Andrey Azov committed
93
    "@types/enzyme-adapter-react-16": "1.0.5",
Andrey Azov's avatar
Andrey Azov committed
94
    "@types/faker": "4.1.5",
Andrey Azov's avatar
Andrey Azov committed
95 96 97 98 99 100 101
    "@types/jest": "24.0.18",
    "@types/lodash": "4.14.137",
    "@types/node": "12.7.2",
    "@types/prettier": "1.18.2",
    "@types/react": "16.9.2",
    "@types/react-dom": "16.9.0",
    "@types/react-redux": "7.1.2",
Andrey Azov's avatar
Andrey Azov committed
102
    "@types/react-router-dom": "4.3.4",
Andrey Azov's avatar
Andrey Azov committed
103
    "@types/react-router-hash-link": "1.2.1",
Andrey Azov's avatar
Andrey Azov committed
104
    "@types/redux-mock-store": "1.0.1",
105 106
    "@types/storybook__addon-actions": "3.4.3",
    "@types/storybook__react": "4.0.2",
107
    "@types/webpack-env": "1.14.0",
Andrey Azov's avatar
Andrey Azov committed
108 109
    "@typescript-eslint/eslint-plugin": "2.0.0",
    "@typescript-eslint/parser": "2.0.0",
Imran Salam's avatar
Imran Salam committed
110
    "babel-core": "7.0.0-bridge.0",
Andrey Azov's avatar
Andrey Azov committed
111
    "babel-jest": "24.9.0",
112
    "babel-loader": "8.0.6",
113
    "brotli-webpack-plugin": "1.1.0",
114
    "compression-webpack-plugin": "3.0.0",
115
    "connect-history-api-fallback": "1.6.0",
Andrey Azov's avatar
Andrey Azov committed
116 117
    "copy-webpack-plugin": "5.0.4",
    "css-loader": "3.2.0",
118 119
    "enzyme": "3.10.0",
    "enzyme-adapter-react-16": "1.14.0",
Andrey Azov's avatar
Andrey Azov committed
120 121 122
    "enzyme-to-json": "3.4.0",
    "eslint": "6.2.1",
    "eslint-config-prettier": "6.1.0",
123
    "eslint-plugin-prettier": "3.1.0",
Andrey Azov's avatar
Andrey Azov committed
124 125
    "eslint-plugin-react": "7.14.3",
    "eslint-plugin-react-hooks": "1.7.0",
Andrey Azov's avatar
Andrey Azov committed
126
    "faker": "4.1.0",
Andrey Azov's avatar
Andrey Azov committed
127 128 129
    "file-loader": "4.2.0",
    "fork-ts-checker-webpack-plugin": "1.5.0",
    "gh-pages": "2.1.1",
130
    "html-webpack-plugin": "3.2.0",
Andrey Azov's avatar
Andrey Azov committed
131
    "husky": "3.0.4",
132
    "identity-obj-proxy": "3.0.0",
133
    "image-webpack-loader": "5.0.0",
Andrey Azov's avatar
Andrey Azov committed
134
    "jest": "24.9.0",
Andrey Azov's avatar
Andrey Azov committed
135
    "jest-fetch-mock": "2.1.2",
Andrey Azov's avatar
Andrey Azov committed
136
    "jest-transform-stub": "2.0.0",
Andrey Azov's avatar
Andrey Azov committed
137
    "koa": "2.8.1",
138 139
    "koa-connect": "2.0.1",
    "koa-static": "5.0.0",
Andrey Azov's avatar
Andrey Azov committed
140 141
    "lint-staged": "9.2.3",
    "mini-css-extract-plugin": "0.8.0",
Andrey Azov's avatar
Andrey Azov committed
142
    "node-sass": "4.12.0",
143
    "optimize-css-assets-webpack-plugin": "5.0.3",
144
    "postcss-loader": "3.0.0",
145
    "postcss-preset-env": "6.7.0",
146
    "prettier": "1.18.2",
147
    "redux-mock-store": "1.5.3",
Andrey Azov's avatar
Andrey Azov committed
148
    "rimraf": "3.0.0",
149
    "robotstxt-webpack-plugin": "6.0.0",
Andrey Azov's avatar
Andrey Azov committed
150
    "sass-loader": "7.3.1",
151
    "source-map-loader": "0.2.4",
Andrey Azov's avatar
Andrey Azov committed
152
    "style-loader": "1.0.0",
153
    "stylelint": "10.1.0",
Andrey Azov's avatar
Andrey Azov committed
154
    "stylelint-config-recommended-scss": "3.3.0",
Andrey Azov's avatar
Andrey Azov committed
155
    "stylelint-scss": "3.9.4",
156
    "stylelint-webpack-plugin": "0.10.5",
Andrey Azov's avatar
Andrey Azov committed
157
    "terser-webpack-plugin": "1.4.1",
158
    "typescript": "3.5.3",
Andrey Azov's avatar
Andrey Azov committed
159 160 161 162
    "webpack": "4.39.2",
    "webpack-bundle-analyzer": "3.4.1",
    "webpack-cli": "3.3.7",
    "webpack-dev-server": "3.8.0",
Andrey Azov's avatar
Andrey Azov committed
163
    "workbox-webpack-plugin": "4.3.1"
Andrey Azov's avatar
Andrey Azov committed
164 165 166 167 168
  },
  "browserslist": [
    "last 2 versions",
    "ie > 10"
  ]
Imran Salam's avatar
Imran Salam committed
169
}