Skip to content

Commit 114365a

Browse files
authored
v1.0.0 (#55)
v1.0.0 ci(bundlesize): Change maxSize to 10.5kB
1 parent 9ed1807 commit 114365a

File tree

2 files changed

+22
-13
lines changed

2 files changed

+22
-13
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<a name="1.0.0"></a>
2+
## [1.0.0](https://github.com/nfl/react-gpt/compare/v0.3.0...v1.0.0) (2017-09-18)
3+
4+
### Features
5+
6+
* Export AdManager ([9ed1807](https://github.com/nfl/react-gpt/commit/9ed1807))
7+
* Build and export es modules ([2d7a3ec](https://github.com/nfl/react-gpt/commit/2d7a3ec))
8+
19
<a name="0.3.0"></a>
210
## [0.3.0](https://github.com/nfl/react-gpt/compare/v0.2.5...v0.3.0) (2017-09-18)
311

package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-gpt",
3-
"version": "0.3.0",
3+
"version": "1.0.0",
44
"description": "A react display ad component using Google Publisher Tag",
55
"main": "lib/index.js",
66
"jsnext:main": "es/index.js",
@@ -25,7 +25,13 @@
2525
"bugs": {
2626
"url": "https://github.com/nfl/react-gpt/issues"
2727
},
28-
"files": ["*.md", "docs", "src", "dist", "lib"],
28+
"files": [
29+
"*.md",
30+
"docs",
31+
"src",
32+
"dist",
33+
"lib"
34+
],
2935
"dependencies": {
3036
"deep-equal": "^1.0.1",
3137
"eventemitter3": "^2.0.2",
@@ -99,21 +105,16 @@
99105
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
100106
"build": "npm run clean && npm run compile",
101107
"build:es": "BABEL_ENV=es babel --copy-files ./src -d es",
102-
"build:umd":
103-
"NODE_ENV=development webpack src/index.js dist/react-gpt.js",
104-
"build:umd:min":
105-
"NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js",
108+
"build:umd": "NODE_ENV=development webpack src/index.js dist/react-gpt.js",
109+
"build:umd:min": "NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js",
106110
"bundlesize": "npm run build:umd:min && bundlesize",
107111
"clean": "rimraf lib coverage",
108112
"compile": "babel src --out-dir lib",
109-
"examples":
110-
"webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline",
113+
"examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline",
111114
"lint": "eslint --fix src test examples",
112-
"start":
113-
"npm run build && env BABEL_ENV=examples node examples/server/index.js",
115+
"start": "npm run build && env BABEL_ENV=examples node examples/server/index.js",
114116
"pretest": "npm run build",
115-
"prepublish":
116-
"npm run build && npm run build:es && npm run build:umd && npm run build:umd:min",
117+
"prepublish": "npm run build && npm run build:es && npm run build:umd && npm run build:umd:min",
117118
"test": "npm run lint && karma start",
118119
"update-apilist": "node ./scripts/updateAPIList.js"
119120
},
@@ -125,7 +126,7 @@
125126
"bundlesize": [
126127
{
127128
"path": "./dist/react-gpt.min.js",
128-
"maxSize": "8.5 kB"
129+
"maxSize": "10.5 kB"
129130
}
130131
]
131132
}

0 commit comments

Comments
 (0)