jtassin/formatted-amount

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "formatted-amount",
  "version": "1.0.11",
  "description": "Component formatting an amount correctly 0-padded with a currency",
  "main": "dist/index.js",
  "scripts": {
    "coverage": "nyc npm test && nyc report --require babel-core/register --require babel-polyfill mocha \"src/**/*.test.js\" --reporter=text-lcov > coverage.lcov  && codecov",
    "test": "mocha \"src/**/*.test.js\" --compilers js:babel-register",
    "eslint": "eslint src",
    "lint": "npm run eslint",
    "build": "npm run clean && babel src --out-dir dist --ignore spec.js,test.js",
    "clean": "rm -rf dist/*",
    "builddemo": "npm run clean && npm run build && babel examples --out-dir dist/examples && browserify dist/examples/index.js > dist/examples/bundle.js && copyfiles examples/index.html dist && copyfiles examples/stylesheets/*.css dist",
    "publishdemo": "gh-pages -d dist/examples",
    "bump-patch": "npm test && npm version patch && npm run build && npm publish && git push && git push --tags && npm run builddemo && npm run publishdemo"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jtassin/formatted-amount.git"
  },
  "nyc": {
    "exclude": [
      "**/*.test.js",
      "node_modules"
    ]
  },
  "keywords": [
    "amount",
    "currency",
    "react",
    "component"
  ],
  "author": "Julien TASSIN",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/jtassin/formatted-amount/issues"
  },
  "homepage": "https://github.com/jtassin/formatted-amount#readme",
  "devDependencies": {
    "babel-cli": "^6.11.4",
    "babel-eslint": "^6.1.2",
    "babel-preset-es2015": "^6.9.0",
    "babel-preset-react": "^6.11.1",
    "babel-preset-stage-0": "^6.5.0",
    "babel-register": "^6.11.6",
    "browserify": "^13.1.0",
    "chai": "^3.5.0",
    "codecov": "^1.0.1",
    "copyfiles": "^1.0.0",
    "enzyme": "^2.4.1",
    "eslint": "^3.2.0",
    "eslint-config-airbnb": "^9.0.1",
    "eslint-plugin-import": "^1.12.0",
    "eslint-plugin-jsx-a11y": "^2.0.1",
    "eslint-plugin-react": "^5.2.2",
    "gh-pages": "^0.11.0",
    "mocha": "^3.0.0",
    "nyc": "^7.1.0",
    "react-addons-test-utils": "^15.3.0",
    "react-dom": "^15.3.0"
  },
  "dependencies": {
    "react": "^15.3.0",
    "react-addons-pure-render-mixin": "^15.3.0"
  }
}