Skip to content

Commit

Permalink
Transpile to ES5
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostganz committed Aug 28, 2019
1 parent f6c06b7 commit b8fba54
Show file tree
Hide file tree
Showing 5 changed files with 1,018 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/node_modules/
/distribution/

# IntelliJ
/.idea/
Expand Down
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/node_modules/
/yarn.lock

# IntelliJ
/.idea/
# Emacs
*~
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.1.0 - 2019-08-28

Transpiling code to ES5 for easy use in browsers

## 1.0.0 - 2019-08-22

First public version.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "graphql-defragmentizer",
"version": "1.0.0",
"version": "1.1.0",
"description": "Library for building GraphQL queries from fragments. Goes nicely with React.",
"main": "index.js",
"main": "./distribution/index.js",
"scripts": {
"test": "jest test.js"
"test": "jest test.js",
"build": "babel index.js --presets babel-preset-env --out-dir distribution",
"prepublish": "npm run build"
},
"keywords": [
"graphql",
Expand All @@ -21,6 +23,8 @@
"graphql": "^14.4.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"jest": "^24.9.0"
}
}
Loading

0 comments on commit b8fba54

Please sign in to comment.