Skip to content

Commit b8fba54

Browse files
committed
Transpile to ES5
1 parent f6c06b7 commit b8fba54

File tree

5 files changed

+1018
-23
lines changed

5 files changed

+1018
-23
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/node_modules/
2+
/distribution/
23

34
# IntelliJ
45
/.idea/

.npmignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/node_modules/
2+
/yarn.lock
3+
4+
# IntelliJ
5+
/.idea/
6+
# Emacs
7+
*~

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 1.1.0 - 2019-08-28
2+
3+
Transpiling code to ES5 for easy use in browsers
4+
15
## 1.0.0 - 2019-08-22
26

37
First public version.

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "graphql-defragmentizer",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "Library for building GraphQL queries from fragments. Goes nicely with React.",
5-
"main": "index.js",
5+
"main": "./distribution/index.js",
66
"scripts": {
7-
"test": "jest test.js"
7+
"test": "jest test.js",
8+
"build": "babel index.js --presets babel-preset-env --out-dir distribution",
9+
"prepublish": "npm run build"
810
},
911
"keywords": [
1012
"graphql",
@@ -21,6 +23,8 @@
2123
"graphql": "^14.4.2"
2224
},
2325
"devDependencies": {
26+
"babel-cli": "^6.26.0",
27+
"babel-preset-env": "^1.7.0",
2428
"jest": "^24.9.0"
2529
}
2630
}

0 commit comments

Comments
 (0)