|
2 | 2 | "name": "react-json-tree",
|
3 | 3 | "version": "0.12.1",
|
4 | 4 | "description": "React JSON Viewer Component, Extracted from redux-devtools",
|
5 |
| - "main": "lib/index.js", |
6 |
| - "scripts": { |
7 |
| - "clean": "rimraf lib", |
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.production --progress --config webpack.config.umd.js", |
11 |
| - "test": "jest", |
12 |
| - "prepare": "npm run build", |
13 |
| - "prepublishOnly": "npm run test && npm run clean && npm run build && npm run build:umd && npm run build:umd:min", |
14 |
| - "start": "cd examples && npm start" |
15 |
| - }, |
16 |
| - "files": [ |
17 |
| - "lib", |
18 |
| - "src", |
19 |
| - "umd" |
20 |
| - ], |
21 |
| - "repository": { |
22 |
| - "type": "git", |
23 |
| - "url": "https://github.com/reduxjs/redux-devtools.git" |
24 |
| - }, |
25 | 5 | "keywords": [
|
26 | 6 | "react",
|
27 | 7 | "json viewer"
|
28 | 8 | ],
|
| 9 | + "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/react-json-tree", |
| 10 | + "bugs": { |
| 11 | + "url": "https://github.com/reduxjs/redux-devtools/issues" |
| 12 | + }, |
| 13 | + "license": "MIT", |
29 | 14 | "author": "Shu Uesugi <[email protected]> (http://github.com/chibicode)",
|
30 | 15 | "contributors": [
|
31 | 16 | "Alexander Kuznetsov <[email protected]> (http://kuzya.org/)",
|
32 | 17 | "Dave Vedder <[email protected]> (http://www.eskimospy.com/)",
|
33 | 18 | "Daniele Zannotti <[email protected]> (http://www.github.com/dzannotti)",
|
34 | 19 | "Mihail Diordiev <[email protected]> (https://github.com/zalmoxisus)"
|
35 | 20 | ],
|
36 |
| - "license": "MIT", |
37 |
| - "bugs": { |
38 |
| - "url": "https://github.com/reduxjs/redux-devtools/issues" |
39 |
| - }, |
40 |
| - "homepage": "https://github.com/reduxjs/redux-devtools", |
41 |
| - "devDependencies": { |
42 |
| - "@babel/cli": "^7.10.5", |
43 |
| - "@babel/core": "^7.11.1", |
44 |
| - "@babel/plugin-proposal-class-properties": "^7.10.4", |
45 |
| - "@babel/preset-env": "^7.11.0", |
46 |
| - "@babel/preset-react": "^7.10.4", |
47 |
| - "babel-loader": "^8.1.0", |
48 |
| - "jest": "^26.2.2", |
49 |
| - "react": "^16.13.1", |
50 |
| - "react-dom": "^16.13.1", |
51 |
| - "react-test-renderer": "^16.13.1", |
52 |
| - "rimraf": "^3.0.2", |
53 |
| - "webpack": "^4.44.1", |
54 |
| - "webpack-cli": "^3.3.12" |
| 21 | + "files": [ |
| 22 | + "lib", |
| 23 | + "src", |
| 24 | + "umd" |
| 25 | + ], |
| 26 | + "main": "lib/index.js", |
| 27 | + "types": "lib/index.d.ts", |
| 28 | + "repository": { |
| 29 | + "type": "git", |
| 30 | + "url": "https://github.com/reduxjs/redux-devtools.git" |
55 | 31 | },
|
56 |
| - "peerDependencies": { |
57 |
| - "react": "^16.3.0", |
58 |
| - "react-dom": "^16.3.0" |
| 32 | + "scripts": { |
| 33 | + "start": "cd examples && npm start", |
| 34 | + "build": "npm run build:types && npm run build:js && npm run build:umd && npm run build:umd:min", |
| 35 | + "build:types": "tsc --emitDeclarationOnly", |
| 36 | + "build:js": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline", |
| 37 | + "build:umd": "rimraf ./umd && webpack --progress --config webpack.config.umd.ts", |
| 38 | + "build:umd:min": "webpack --env.production --progress --config webpack.config.umd.ts", |
| 39 | + "clean": "rimraf lib umd", |
| 40 | + "test": "jest", |
| 41 | + "lint": "eslint . --ext .ts,.tsx", |
| 42 | + "lint:fix": "eslint . --ext .ts,.tsx --fix", |
| 43 | + "type-check": "tsc --noEmit", |
| 44 | + "type-check:watch": "npm run type-check -- --watch", |
| 45 | + "preversion": "npm run type-check && npm run lint && npm run test", |
| 46 | + "prepublishOnly": "npm run clean && npm run build" |
59 | 47 | },
|
60 | 48 | "dependencies": {
|
61 | 49 | "prop-types": "^15.7.2",
|
62 | 50 | "react-base16-styling": "^0.7.0"
|
| 51 | + }, |
| 52 | + "peerDependencies": { |
| 53 | + "react": "^16.3.0" |
63 | 54 | }
|
64 | 55 | }
|
0 commit comments