Skip to content

Commit

Permalink
Add core-js shim
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Apr 1, 2017
1 parent 0c4198c commit ad2843d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"dependencies": {
"body-parser": "^1.17.1",
"chalk": "^1.1.3",
"core-js": "^2.4.1",
"express": "^4.14.1",
"express-graphql": "github:apis-guru/express-graphql#rootValue_dist",
"faker": "^4.1.0",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env node

import 'core-js/shim';

import {
Source,
parse,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,10 @@ cookie@0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"

core-js@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e"

core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
Expand Down Expand Up @@ -503,10 +507,6 @@ faker@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/faker/-/faker-4.1.0.tgz#1e45bbbecc6774b3c195fad2835109c6d748cc3f"

fetchql@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/fetchql/-/fetchql-2.0.1.tgz#bc2dbe9579980772dadc3b74f9228d8f977f3a34"

filename-regex@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775"
Expand Down

0 comments on commit ad2843d

Please sign in to comment.