UNPKG

fizz_buzz

Version:
96 lines (95 loc) 3 kB
{ "name": "fizz_buzz", "version": "2.0.0", "description": "Play Fizz Buzz like a Boss!", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", "files": [ "dist", "lib", "es", "src" ], "scripts": { "precommit": "npm run lint", "commit": "git-cz", "size": "node -e \"process.stdout.write('\\033c\\u001b[1mGzip size: ')\" && gzip-size dist/fizzbuzz.min.js", "lint": "eslint src test", "test": "cross-env BABEL_ENV=node jest", "test:watch": "npm test -- --watch", "test:coverage": "npm test -- --coverage", "validate": "npm run lint && npm run test:coverage", "postvalidate": "node -e \"console.log('\\033c\\u001b[32m\\u001b[1mValidation(Lint + Tests) successful\\u001b[0m')\"", "clean": "rimraf lib es dist coverage", "prebuild": "npm run clean && npm run validate", "build": "npm-run-all --parallel build:**", "postbuild": "npm run size", "build:commonjs": "cross-env BABEL_ENV=lib babel --copy-files src --out-dir lib", "build:es": "cross-env BABEL_ENV=es babel --copy-files src --out-dir es", "build:umd": "cross-env BABEL_ENV=es NODE_ENV=development rollup --config", "build:umd:min": "cross-env BABEL_ENV=es NODE_ENV=production rollup --config", "prereport-coverage": "npm run test:coverage", "report-coverage": "cat ./coverage/lcov.info | codecov", "preversion": "npm run build", "postversion": "git push && git push --tags", "postpublish": "npm run clean", "release:patch": "npm version patch && npm publish", "release:minor": "npm version minor && npm publish", "release:major": "npm version major && npm publish" }, "repository": { "type": "git", "url": "https://github.com/Tahseenm/fizzbuzz.git" }, "keywords": [ "Fizz Buzz", "fizzbuzz" ], "author": "Tahseen Malik <hello@tahseen.me> (https://tahseenmalik.com/)", "license": "MIT", "bugs": { "url": "https://github.com/Tahseenm/fizzbuzz/issues" }, "homepage": "https://github.com/Tahseenm/fizzbuzz#readme", "engines": { "node": "8.x", "npm": "5.x" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-jest": "^21.2.0", "babel-preset-env": "^1.6.1", "codecov": "^2.3.1", "commitizen": "^2.9.6", "cross-env": "^5.1.0", "cz-conventional-changelog": "^2.0.0", "eslint": "^4.9.0", "eslint-config-airbnb-base": "^12.1.0", "eslint-plugin-import": "^2.8.0", "gzip-size-cli": "^2.1.0", "husky": "^0.14.3", "jest": "^21.2.1", "npm-run-all": "^4.1.1", "rimraf": "^2.6.2", "rollup": "^0.50.0", "rollup-plugin-babel": "^3.0.2", "rollup-plugin-uglify": "^2.0.1" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "jest": { "testRegex": "(/test/.*\\.spec.js)$", "coverageThreshold": { "global": { "branches": 90, "functions": 90, "lines": 90, "statements": 90 } } } }