antongolub/iso8601

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@antongolub/iso8601",
  "version": "0.2.0",
  "description": "Strict ISO8601 datetime parser",
  "main": "target/es5/index.js",
  "types": "typings/index.d.ts",
  "typescript": {
    "definition": "typings/index.d.ts"
  },
  "scripts": {
    "jest": "jest -w 1",
    "lint": "standard-flow src/**/*.js",
    "lint:fix": "standard-flow src/**/*.js --fix",
    "flow": "flow",
    "flow:fetch": "flow-typed install jest@28",
    "flow:coverage": "flow-coverage-report -i 'src/main/**/*.js' -t html -t json -t text --threshold 90",
    "test": "npm run lint && npm run flow && npm run flow:coverage && npm run jest",
    "build": "npm run build:es5 && npm run docs",
    "build:es5": "BABEL_ENV=production babel src/main/js --out-dir target/es5",
    "test:report": "npm test && npm run coveralls:push",
    "coveralls:push": "cat ./coverage/lcov.info | npm_config_yes=true npx coveralls",
    "docs": "esdoc",
    "postupdate": "npm i && npm audit fix && npm run build && npm run test"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/antongolub/iso8601.git"
  },
  "files": [
    "README.md",
    "CHANGELOG.md",
    "target",
    "typings",
    "flow-typed"
  ],
  "keywords": [
    "iso8601",
    "ISO 8601",
    "datetime",
    "date",
    "time",
    "parser"
  ],
  "author": "Anton Golub <a.golub@qiwi.com>",
  "license": "MIT",
  "dependencies": {},
  "devDependencies": {
    "flow-typed": "^3.8.0",
    "@babel/cli": "^7.18.10",
    "@babel/core": "^7.19.0",
    "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
    "@babel/plugin-transform-flow-strip-types": "^7.19.0",
    "@babel/plugin-transform-runtime": "^7.18.10",
    "@babel/polyfill": "^7.7.0",
    "@babel/preset-env": "^7.19.0",
    "@babel/preset-flow": "^7.18.6",
    "babel-core": "^7.0.0-bridge.0",
    "babel-preset-minify": "^0.5.2",
    "date-fns": "^2.29.2",
    "esdoc": "^1.1.0",
    "esdoc-coverage-plugin": "^1.1.0",
    "esdoc-flow-plugin": "^1.0.0",
    "esdoc-importpath-plugin": "^1.0.2",
    "esdoc-standard-plugin": "^1.0.0",
    "flow-bin": "^0.186.0",
    "flow-coverage-report": "^0.8.0",
    "flow-remove-types": "^2.186.0",
    "jest": "^29.0.2",
    "lodash": "^4.17.21",
    "standard-flow": "^1.0.0"
  },
  "jest": {
    "testEnvironment": "node",
    "collectCoverage": true,
    "collectCoverageFrom": [
      "<rootDir>/src/main/**/*.js"
    ],
    "testMatch": [
      "<rootDir>/src/test/**/*.js"
    ],
    "coveragePathIgnorePatterns": [
      "/node_modules/",
      "<rootDir>/src/main/js/interface.js"
    ]
  },
  "standard-flow": {
    "parser": "babel-eslint",
    "globals": [
      "it",
      "expect",
      "describe",
      "fit",
      "xit"
    ],
    "ignore": [],
    "plugins": [
      "flowtype"
    ],
    "settings": {
      "flowtype": {
        "onlyFilesWithFlowAnnotation": true
      }
    }
  },
  "release": {
    "branch": "master",
    "plugins": [
      "@semantic-release/release-notes-generator",
      "@semantic-release/changelog",
      "@semantic-release/git",
      "@semantic-release/github",
      "@semantic-release/npm",
      "@qiwi/semantic-release-gh-pages-plugin"
    ]
  }
}