diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-09-14 12:18:12 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-09-14 12:18:12 -0400 |
| commit | 2d145b026cfdf54a63bef0b9d6324b6785390307 (patch) | |
| tree | f6c1d8f987437803a5c026e70535bf9ff244e885 /finished-application/frontend/package.json | |
| parent | 8a5825d52271d712ec7c8348447d433067e13ef2 (diff) | |
move finished folder
Diffstat (limited to 'finished-application/frontend/package.json')
| -rw-r--r-- | finished-application/frontend/package.json | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/finished-application/frontend/package.json b/finished-application/frontend/package.json new file mode 100644 index 0000000..4578192 --- /dev/null +++ b/finished-application/frontend/package.json @@ -0,0 +1,114 @@ +{ + "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 7777", + "build": "next build", + "start": "next start", + "test": "NODE_ENV=test jest --watch", + "heroku-postbuild": "next build" + }, + "author": "", + "license": "ISC", + "dependencies": { + "apollo-boost": "^0.1.15", + "apollo-client": "^2.4.1", + "babel-core": "^7.0.0-bridge.0", + "babel-plugin-styled-components": "^1.6.4", + "date-fns": "^2.0.0-alpha.7", + "downshift": "^2.2.2", + "enzyme": "^3.6.0", + "enzyme-adapter-react-16": "^1.5.0", + "graphql": "^14.0.2", + "graphql-tag": "^2.9.2", + "lodash.debounce": "^4.0.8", + "next": "^6.1.2", + "next-with-apollo": "^3.1.3", + "nprogress": "^0.2.0", + "prop-types": "^15.6.2", + "react": "^16.5.0", + "react-adopt": "^0.6.0", + "react-apollo": "^2.1.11", + "react-dom": "^16.5.0", + "react-stripe-checkout": "^2.6.3", + "react-transition-group": "^2.4.0", + "styled-components": "^3.4.6", + "waait": "^1.0.2" + }, + "devDependencies": { + "babel-jest": "^23.6.0", + "babel-plugin-module-resolver": "^3.1.1", + "casual": "^1.5.19", + "enzyme-to-json": "^3.3.4", + "graphql-tools": "^3.1.1", + "jest": "^23.6.0", + "jest-transform-graphql": "^2.1.0" + }, + "jest": { + "setupTestFrameworkScriptFile": "<rootDir>/jest.setup.js", + "testPathIgnorePatterns": [ + "<rootDir>/.next/", + "<rootDir>/node_modules/" + ], + "transform": { + "\\.(gql|graphql)$": "jest-transform-graphql", + ".*": "babel-jest" + } + }, + "//": "This is out babel config, I prefer this over a .babelrc file", + "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" + } + } + ] + ], + "plugins": [ + [ + "styled-components", + { + "ssr": true, + "displayName": true + } + ] + ] + } + } + } +} |
