|
1 | 1 | {
|
2 | 2 | "name": "react-json-tree",
|
3 |
| - "version": "0.11.1", |
| 3 | + "version": "0.11.2", |
4 | 4 | "description": "React JSON Viewer Component, Extracted from redux-devtools",
|
5 | 5 | "main": "lib/index.js",
|
6 | 6 | "scripts": {
|
7 | 7 | "clean": "rimraf lib",
|
8 | 8 | "build": "babel src --out-dir lib",
|
| 9 | + "build:umd": "rimraf ./umd && webpack --progress --config webpack.config.umd.js", |
| 10 | + "build:umd:min": "webpack --env.minimize --progress --config webpack.config.umd.js", |
9 | 11 | "lint": "eslint --max-warnings=0 src test examples/src",
|
10 | 12 | "test":
|
11 | 13 | "npm run lint && NODE_ENV=test mocha --compilers js:babel-core/register --recursive",
|
|
14 | 16 | "test:cov":
|
15 | 17 | "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive",
|
16 | 18 | "prepare": "npm run build",
|
17 |
| - "prepublishOnly": "npm run test && npm run clean && npm run build", |
| 19 | + "prepublishOnly": "npm run test && npm run clean && npm run build && npm run build:umd && npm run build:umd:min", |
18 | 20 | "start": "cd examples && npm start",
|
19 | 21 | "precommit": "lint-staged"
|
20 | 22 | },
|
21 | 23 | "files": [
|
22 | 24 | "lib",
|
23 |
| - "src" |
| 25 | + "src", |
| 26 | + "umd" |
24 | 27 | ],
|
25 | 28 | "repository": {
|
26 | 29 | "type": "git",
|
|
31 | 34 | "contributors": [
|
32 | 35 | "Alexander Kuznetsov <[email protected]> (http://kuzya.org/)",
|
33 | 36 | "Dave Vedder <[email protected]> (http://www.eskimospy.com/)",
|
34 |
| - "Daniele Zannotti <[email protected]> (http://www.github.com/dzannotti)" |
| 37 | + "Daniele Zannotti <[email protected]> (http://www.github.com/dzannotti)", |
| 38 | + "Mihail Diordiev <[email protected]> (https://github.com/zalmoxisus)" |
35 | 39 | ],
|
36 | 40 | "license": "MIT",
|
37 | 41 | "bugs": {
|
|
42 | 46 | "babel-cli": "^6.26.0",
|
43 | 47 | "babel-core": "^6.26.0",
|
44 | 48 | "babel-eslint": "^8.0.1",
|
| 49 | + "babel-loader": "^7.1.5", |
45 | 50 | "babel-plugin-transform-class-properties": "^6.24.1",
|
46 | 51 | "babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
|
47 | 52 | "babel-plugin-transform-es3-property-literals": "^6.22.0",
|
|
68 | 73 | "react": "^16.0.0",
|
69 | 74 | "react-dom": "^16.0.0",
|
70 | 75 | "react-test-renderer": "^16.0.0",
|
71 |
| - "rimraf": "^2.5.2" |
72 |
| - }, |
| 76 | + "rimraf": "^2.5.2", |
| 77 | + "terser-webpack-plugin": "^1.2.1", |
| 78 | + "webpack": "^4.27.1", |
| 79 | + "webpack-cli": "^3.2.0" |
| 80 | +}, |
73 | 81 | "peerDependencies": {
|
74 | 82 | "react": "^15.0.0 || ^16.0.0",
|
75 | 83 | "react-dom": "^15.0.0 || ^16.0.0"
|
|
0 commit comments