UNPKG

react-nested-json-table

Version:

A simple React component that renders any deeply nested json into a collapsible table

83 lines (82 loc) 2.77 kB
{ "name": "react-nested-json-table", "version": "0.2.0", "description": "A simple React component that renders any deeply nested json into a collapsible table", "main": "lib/index.js", "directories": { "example": "example" }, "scripts": { "dev": "npm run build && babel-node bin/server", "dev:express": "npm run build && node server.js", "build": "npm run clean && npm run lint && webpack --colors", "clean": "rimraf build", "lint": "eslint src", "build:commonjs": "babel src --out-dir lib --ignore __tests__,__mocks__", "build:umd": "webpack --config webpack.prod.config.js", "build:umd:min": "cross-env MINIFY=1 webpack --config webpack.prod.config.js", "copy:styles": "cp ./src/lib/styles.css ./lib/lib", "build-release": "npm run clean-release && npm run build:commonjs && npm run copy:styles", "clean-release": "rimraf dist", "bundle": "npm run build-release && mkdir dist && npm run build:umd && npm run build:umd:min", "prerelease": "npm run lint && npm run test && npm run bundle", "release": "npm publish .", "test": "mocha src --compilers js:babel-register --recursive", "test:watch": "npm run test -- --watch" }, "repository": { "type": "git", "url": "https://github.com/once-ler/react-nested-json-table.git" }, "keywords": [ "nested", "json", "table", "React" ], "author": "Henry Tao <htaox@hotmail.com> (http://github.com/once-ler)", "license": "MIT", "bugs": { "url": "https://github.com/once-ler/react-nested-json-table/issues" }, "homepage": "", "devDependencies": { "babel-cli": "^6.7.5", "babel-core": "^6.0.0", "babel-eslint": "^6.0.0-beta.1", "babel-loader": "^6.0.0", "babel-preset-es2015": "^6.0.0", "babel-preset-react": "^6.0.0", "babel-preset-stage-0": "^6.0.0", "babel-register": "^6.6.0", "bluebird": "^3.4.1", "blueimp-tmpl": "^3.4.0", "blueimp-tmpl-loader": "0.0.3", "classnames": "^2.2.5", "core-js": "^1.1.4", "cross-env": "^1.0.8", "css-loader": "^0.23.0", "enzyme": "^2.3.0", "eslint": "^2.11.1", "eslint-plugin-react": "^5.1.1", "expect": "^1.14.0", "html-webpack-plugin": "^2.22.0", "jasmine-core": "^2.3.4", "koa": "^2.0.0", "koa-connect-history-api-fallback": "^0.3.0", "koa-static": "github:koajs/static#next", "mocha": "^2.4.5", "react": "^15.0.2", "react-addons-test-utils": "^15.0.2", "react-hot-loader": "^1.2.7", "rimraf": "^2.5.2", "style-loader": "^0.13.0", "webpack": "^1.13.1", "webpack-dev-server": "^1.14.1", "webpack-hot-middleware": "^2.10.0" }, "peerDependencies": { "react": "^0.14.7 || ^15.0.0", "react-dom": "^0.14.7 || ^15.0.0" } }