diff --git a/frontend/package.json b/frontend/package.json index 4845b196..24c61d01 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -8,18 +8,17 @@ "@storybook/addon-storyshots": "3.3.14", "@storybook/cli": "3.3.14", "@storybook/react": "3.3.14", - "amazon-cognito-identity-js": "2.0.1", "apollo-cache-inmemory": "1.1.9", "apollo-client": "2.2.5", "apollo-link-http": "1.5.2", - "aws-sdk": "2.204.0", "classnames": "^2.2.5", "formatcoords": "^1.1.3", "get-graphql-schema": "^2.1.0", + "graphql": "0.13.1", "graphql-tag": "2.8.0", "jwt-decode": "^2.2.0", "mapbox": "^1.0.0-beta9", - "mapbox-gl": "0.44.1", + "mapbox-gl": "0.44.0", "mobile-detect": "^1.4.1", "moment": "2.20.1", "node-sass-chokidar": "^0.0.3", @@ -46,24 +45,18 @@ "scripts": { "start-js": "NODE_PATH=src react-scripts start", "start": "npm-run-all -p watch-css start-js", - "start-local": - "REACT_APP_AWS_ENDPOINT='http://localhost:5000/graphql' yarn run start", + "start-local": "REACT_APP_AWS_ENDPOINT='http://localhost:5000/graphql' yarn run start", "validate-map-style": "node src/Map/style/scripts/validate.js", - "build-map-style-json": - "node src/components/Shared/Map/style/scripts/build.js", + "build-map-style-json": "node src/components/Shared/Map/style/scripts/build.js", "build-map-style": "yarn build-map-icons; yarn build-map-style-json", - "build-map-icons": - "spritezero public/mapboxstyle/sprite src/components/Shared/Map/style/icons/; spritezero --retina public/mapboxstyle/sprite@2x src/components/Shared/Map/style/icons/", + "build-map-icons": "spritezero public/mapboxstyle/sprite src/components/Shared/Map/style/icons/; spritezero --retina public/mapboxstyle/sprite@2x src/components/Shared/Map/style/icons/", "build-css": "node-sass-chokidar --include-path ./src src/ -o src/", - "watch-css": - "yarn run build-css && node-sass-chokidar --include-path ./src src/ -o src/ --watch --recursive", + "watch-css": "yarn run build-css && node-sass-chokidar --include-path ./src src/ -o src/ --watch --recursive", "get-schema": "./src/stories/schema/getSchema.sh", - "build": - "yarn build-map-style-json; yarn build-css; NODE_PATH=src react-scripts build", + "build": "yarn build-map-style-json; yarn build-css; NODE_PATH=src react-scripts build", "test": "yarn build-css; NODE_PATH=src react-scripts test --env=jsdom", "eject": "react-scripts eject", - "storybook": - "NODE_PATH=src start-storybook -p 9001 -c .storybook & yarn watch-css" + "storybook": "NODE_PATH=src start-storybook -p 9001 -c .storybook & yarn watch-css" }, "prettier": { "semi": true, diff --git a/frontend/yarn.lock b/frontend/yarn.lock index e42055fd..f50bf6cb 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -501,14 +501,6 @@ alphanum-sort@^1.0.1, alphanum-sort@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" -amazon-cognito-identity-js@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/amazon-cognito-identity-js/-/amazon-cognito-identity-js-2.0.1.tgz#5d41728d35a792f69be6ed99213eb187fa3ccac0" - dependencies: - buffer "4.9.1" - crypto-browserify "1.0.9" - js-cookie "^2.1.4" - amdefine@>=0.0.4: version "1.0.1" resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" @@ -864,20 +856,6 @@ autoprefixer@^7.2.3: postcss "^6.0.17" postcss-value-parser "^3.2.3" -aws-sdk@2.204.0: - version "2.204.0" - resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.204.0.tgz#72d8331e90e7792b04dcca3278a7b31c49a46aeb" - dependencies: - buffer "4.9.1" - events "^1.1.1" - jmespath "0.15.0" - querystring "0.2.0" - sax "1.2.1" - url "0.10.3" - uuid "3.1.0" - xml2js "0.4.17" - xmlbuilder "4.2.1" - aws-sign2@~0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" @@ -2194,7 +2172,7 @@ buffer-xor@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" -buffer@4.9.1, buffer@^4.3.0: +buffer@^4.3.0: version "4.9.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" dependencies: @@ -2784,10 +2762,6 @@ cryptiles@3.x.x: dependencies: boom "5.x.x" -crypto-browserify@1.0.9: - version "1.0.9" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-1.0.9.tgz#cc5449685dfb85eb11c9828acc7cb87ab5bbfcc0" - crypto-browserify@^3.11.0: version "3.11.1" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.11.1.tgz#948945efc6757a400d6e5e5af47194d10064279f" @@ -4505,6 +4479,12 @@ graphql@0.10.1: dependencies: iterall "^1.1.0" +graphql@0.13.1: + version "0.13.1" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.13.1.tgz#9b3db3d8e40d1827e4172404bfdd2e4e17a58b55" + dependencies: + iterall "^1.2.0" + graphql@^0.10.0, graphql@^0.10.3: version "0.10.5" resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.10.5.tgz#c9be17ca2bdfdbd134077ffd9bbaa48b8becd298" @@ -5375,6 +5355,10 @@ iterall@^1.0.0, iterall@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.1.tgz#f7f0af11e9a04ec6426260f5019d9fcca4d50214" +iterall@^1.2.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" + jest-changed-files@^20.0.3: version "20.0.3" resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-20.0.3.tgz#9394d5cc65c438406149bef1bf4d52b68e03e3f8" @@ -5624,18 +5608,10 @@ jest@20.0.4: dependencies: jest-cli "^20.0.4" -jmespath@0.15.0: - version "0.15.0" - resolved "https://registry.yarnpkg.com/jmespath/-/jmespath-0.15.0.tgz#a3f222a9aae9f966f5d27c796510e28091764217" - js-base64@^2.1.8, js-base64@^2.1.9: version "2.1.9" resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.1.9.tgz#f0e80ae039a4bd654b5f281fc93f04a914a7fcce" -js-cookie@^2.1.4: - version "2.2.0" - resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-2.2.0.tgz#1b2c279a6eece380a12168b92485265b35b1effb" - js-tokens@^3.0.0, js-tokens@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" @@ -6130,9 +6106,9 @@ map-stream@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194" -mapbox-gl@0.44.1: - version "0.44.1" - resolved "https://registry.yarnpkg.com/mapbox-gl/-/mapbox-gl-0.44.1.tgz#bd4964f71a937c0eca4cc8b00330f2bfcbddc37c" +mapbox-gl@0.44.0: + version "0.44.0" + resolved "https://registry.yarnpkg.com/mapbox-gl/-/mapbox-gl-0.44.0.tgz#5f4c58d2c64fba8e61183c67f98217f1db432f99" dependencies: "@mapbox/gl-matrix" "^0.0.1" "@mapbox/mapbox-gl-supported" "^1.3.0" @@ -8600,11 +8576,7 @@ sass-graph@^2.1.1: scss-tokenizer "^0.2.3" yargs "^7.0.0" -sax@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.1.tgz#7b8e656190b228e81a66aea748480d828cd2d37a" - -sax@>=0.6.0, sax@^1.2.1, sax@~1.2.1: +sax@^1.2.1, sax@~1.2.1: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" @@ -9697,13 +9669,6 @@ url-parse@^1.1.8: querystringify "~1.0.0" requires-port "1.0.x" -url@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64" - dependencies: - punycode "1.3.2" - querystring "0.2.0" - url@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -9737,14 +9702,14 @@ utils-merge@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" -uuid@3.1.0, uuid@^3.0.0, uuid@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" - uuid@^2.0.1, uuid@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" +uuid@^3.0.0, uuid@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" + validate-npm-package-license@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" @@ -10133,19 +10098,6 @@ xml-name-validator@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" -xml2js@0.4.17: - version "0.4.17" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.17.tgz#17be93eaae3f3b779359c795b419705a8817e868" - dependencies: - sax ">=0.6.0" - xmlbuilder "^4.1.0" - -xmlbuilder@4.2.1, xmlbuilder@^4.1.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-4.2.1.tgz#aa58a3041a066f90eaa16c2f5389ff19f3f461a5" - dependencies: - lodash "^4.0.0" - xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"