{ "name": "sick-fits-frontend", "version": "1.0.0", "description": "Sick Fits! An example React, GraphQL, Next and Apollo", "main": "index.js", "scripts": { "dev": "next -p 8888", "build": "next build", "start": "next start", "test": "NODE_ENV=test jest --watch" }, "author": "", "license": "ISC", "dependencies": { "apollo-boost": "^0.1.6", "apollo-client": "^2.3.1", "babel-core": "^7.0.0-bridge.0", "babel-plugin-styled-components": "^1.5.1", "date-fns": "^2.0.0-alpha.7", "downshift": "^1.31.14", "graphql": "^0.13.2", "graphql-tag": "^2.9.2", "lodash.debounce": "^4.0.8", "next": "^6.0.3", "next-with-apollo": "^3.0.2", "nprogress": "^0.2.0", "prop-types": "^15.6.1", "react": "^16.3.2", "react-adopt": "^0.6.0", "react-apollo": "^2.1.4", "react-dom": "^16.3.2", "react-stripe-checkout": "^2.6.3", "react-transition-group": "^2.3.1", "styled-components": "^3.2.6", "waait": "^1.0.2" }, "devDependencies": { "babel-jest": "^23.0.0", "babel-plugin-module-resolver": "^3.1.1", "casual": "^1.5.19", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "enzyme-to-json": "^3.3.4", "graphql-tools": "^3.0.2", "jest": "^22.4.4", "jest-transform-graphql": "^2.1.0" }, "//": "This is out babel config, I prefer this over a .babelrc file", "jest": { "setupTestFrameworkScriptFile": "/jest.setup.js", "testPathIgnorePatterns": [ "/.next/", "/node_modules/" ], "transform": { "\\.(gql|graphql)$": "jest-transform-graphql", ".*": "babel-jest" } }, "babel": { "env": { "development": { "presets": [ "next/babel" ], "plugins": [ [ "styled-components", { "ssr": true, "displayName": true } ] ] }, "production": { "presets": [ "next/babel" ], "plugins": [ [ "styled-components", { "ssr": true, "displayName": true } ] ] }, "test": { "presets": [ [ "next/babel", { "preset-env": { "modules": "commonjs" } } ] ] } } } }