UNPKG

report-builder

Version:
101 lines (100 loc) 3.06 kB
{ "name": "report-builder", "version": "1.2.2", "description": "Complex JSON reports made easy", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "main": "cjs/index.js", "browser": "dist/reportBuilder.js", "module": "es/index.js", "jsxnext:main": "es/index.js", "files": [ "dist", "cjs", "es", "src" ], "watch": { "lint:build": { "patterns": "src", "extensions": "js", "quiet": true, "inherit": true } }, "config": { "ghooks": { "pre-commit": "npm run lint:build:test", "pre-push": "npm run lint:build:test" } }, "scripts": { "prepublish": "npm run build", "postpublish": "git push origin master --follow-tags", "minor": "npm version minor && npm publish", "release": "release-it", "lint": "npm run lint:eslint", "lint:eslint": "eslint src/*.js", "lint:build": "npm run lint && npm run build:cjs -s", "lint:build:test": "npm run lint:build && npm run coverage", "test": "jest", "test:watch": "jest --watch", "coverage": "jest --coverage ", "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", "build": "npm run lint:build:test && npm run build:es && npm run build:umd", "build:watch": "npm-watch", "build:es": "rimraf es && cross-env BABEL_ENV=es babel src --out-dir es", "build:cjs": "rimraf cjs && cross-env BABEL_ENV=cjs babel src --out-dir cjs", "build:umd": "rimraf dist && cross-env BABEL_ENV=es rollup -c & cross-env BABEL_ENV=es NODE_ENV=production rollup -c", "jsdoc": "rimraf docs/* && jsdoc -d ./docs -r ./src -c ./jsdoc/config.json", "publish-docs": "git subtree push --prefix docs origin gh-pages && echo Docs published" }, "keywords": [ "report", "builder", "helper" ], "author": "Danielo Rodriguez Rivero", "license": "MIT", "bugs": { "url": "https://github.com/danielo515/report-builder/issues" }, "homepage": "https://github.com/danielo515/report-builder#readme", "repository": { "type": "git", "url": "git+ssh://git@github.com/danielo515/report-builder.git" }, "jest": { "scriptPreprocessor": "<rootDir>/node_modules/babel-jest" }, "dependencies": { "object-path": "^0.11.3" }, "devDependencies": { "babel-cli": "^6.18.0", "babel-core": "^6.17.0", "babel-jest": "^18.0.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-preset-es2015": "^6.16.0", "coveralls": "^2.11.15", "cross-env": "^3.1.3", "eslint": "^3.7.1", "eslint-config-devine": "^1.5.0", "eslint-plugin-babel": "^3.3.0", "ghooks": "^1.3.2", "gulp": "^3.9.1", "gulp-gh-pages": "^0.5.4", "gulp-jsdoc3": "^1.0.1", "jest": "^16.0.1", "npm-watch": "^0.1.6", "release-it": "^2.5.1", "rimraf": "^2.5.4", "rollup": "^0.36.1", "rollup-plugin-babel": "^2.6.1", "rollup-plugin-bundle-size": "^1.0.1", "rollup-plugin-commonjs": "^5.0.5", "rollup-plugin-node-resolve": "^2.0.0", "rollup-plugin-uglify": "^1.0.1" } }