diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-03-12 14:06:25 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-03-12 14:06:25 -0400 |
| commit | 46a0ba30ef54a7e36206481a4f5b2bf1f9702fca (patch) | |
| tree | a95fd534fc27761d8b26d0dffcdb5f300f7a61c7 /frontend/package.json | |
| parent | f7bea2d1b7be2b70dceb25c9837f608b538e9cec (diff) | |
wip
Diffstat (limited to 'frontend/package.json')
| -rw-r--r-- | frontend/package.json | 78 |
1 files changed, 58 insertions, 20 deletions
diff --git a/frontend/package.json b/frontend/package.json index 264480f..9de6f9a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -9,43 +9,81 @@ "start": "next start", "micro": "micro", "micro-dev": "micro-dev ./functions", - "test": "jest" + "test": "NODE_ENV=test jest" }, "author": "", "license": "ISC", "dependencies": { - "apollo-cache-inmemory": "^1.1.5", - "apollo-client": "^2.2.0", - "apollo-link": "^1.0.7", - "apollo-link-http": "^1.3.2", + "apollo-boost": "^0.1.2", + "apollo-cache-inmemory": "^1.1.10", + "apollo-client": "^2.2.6", + "apollo-link": "^1.2.1", + "apollo-link-http": "^1.5.3", "apollo-link-state": "^0.4.0", - "auth0-lock": "^11.1.0", - "babel-plugin-styled-components": "^1.5.0", + "auth0-lock": "^11.3.1", + "babel-plugin-styled-components": "^1.5.1", "date-fns": "^2.0.0-alpha.7", - "downshift": "^1.25.0", + "downshift": "^1.29.1", "express": "^4.16.2", - "graphql": "^0.12.3", - "graphql-tag": "^2.6.1", + "graphql": "^0.13.1", + "graphql-tag": "^2.8.0", "isomorphic-fetch": "^2.2.1", "lodash.get": "^4.4.2", "lodash.has": "^4.5.2", "micro": "^9.1.0", "micro-dev": "^2.2.0", - "next": "^4.2.3", - "next-routes": "^1.2.0", + "next": "^5.0.0", + "next-routes": "^1.3.0", "nprogress": "^0.2.0", - "prop-types": "^15.6.0", - "react": "^16.2.0", - "react-apollo": "^2.0.4", - "react-dom": "^16.2.0", - "react-motion": "^0.5.2", + "prop-types": "^15.6.1", + "react": "^16.3.0-alpha.1", + "react-apollo": "^2.1.0-beta.3", + "react-dom": "^16.3.0-alpha.1", "react-stripe-checkout": "^2.6.3", "react-transition-group": "^2.2.1", - "slugify": "^1.2.9", - "stripe": "^5.4.0", + "stripe": "^5.5.0", "styled-components": "^3.0.2" }, "devDependencies": { - "jest": "^22.1.4" + "enzyme": "^3.3.0", + "enzyme-adapter-react-16": "^1.1.1", + "jest": "^22.4.2", + "enzyme-to-json": "^3.3.1" + }, + "//": "This is out babel config, I prefer this over a .babelrc file", + "jest": { + "setupFiles": [ + "<rootDir>/jest.setup.js" + ], + "testPathIgnorePatterns": [ + "<rootDir>/.next/", + "<rootDir>/node_modules/" + ] + }, + "babel": { + "env": { + "development": { + "presets": [ + "next/babel" + ] + }, + "production": { + "presets": [ + "next/babel" + ] + }, + "test": { + "presets": [ + [ + "next/babel", + { + "preset-env": { + "modules": "commonjs" + } + } + ] + ] + } + } } } |
