|
1 | 1 | {
|
2 | 2 | "name": "react-gpt",
|
3 |
| - "version": "0.3.0", |
| 3 | + "version": "1.0.0", |
4 | 4 | "description": "A react display ad component using Google Publisher Tag",
|
5 | 5 | "main": "lib/index.js",
|
6 | 6 | "jsnext:main": "es/index.js",
|
|
25 | 25 | "bugs": {
|
26 | 26 | "url": "https://github.com/nfl/react-gpt/issues"
|
27 | 27 | },
|
28 |
| - "files": ["*.md", "docs", "src", "dist", "lib"], |
| 28 | + "files": [ |
| 29 | + "*.md", |
| 30 | + "docs", |
| 31 | + "src", |
| 32 | + "dist", |
| 33 | + "lib" |
| 34 | + ], |
29 | 35 | "dependencies": {
|
30 | 36 | "deep-equal": "^1.0.1",
|
31 | 37 | "eventemitter3": "^2.0.2",
|
|
99 | 105 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
100 | 106 | "build": "npm run clean && npm run compile",
|
101 | 107 | "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", |
106 | 110 | "bundlesize": "npm run build:umd:min && bundlesize",
|
107 | 111 | "clean": "rimraf lib coverage",
|
108 | 112 | "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", |
111 | 114 | "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", |
114 | 116 | "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", |
117 | 118 | "test": "npm run lint && karma start",
|
118 | 119 | "update-apilist": "node ./scripts/updateAPIList.js"
|
119 | 120 | },
|
|
125 | 126 | "bundlesize": [
|
126 | 127 | {
|
127 | 128 | "path": "./dist/react-gpt.min.js",
|
128 |
| - "maxSize": "8.5 kB" |
| 129 | + "maxSize": "10.5 kB" |
129 | 130 | }
|
130 | 131 | ]
|
131 | 132 | }
|
0 commit comments