taoyuan/memstreams

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "memstreams",
  "description": "Memory Streams library for JavaScript based on readable-stream",
  "version": "0.4.1",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "author": "Yuan Tao <towyuan@outlook.com>",
  "repository": {
    "type": "git",
    "url": "git@github.com:taoyuan/memstreams.git"
  },
  "homepage": "https://github.com/taoyuan/memstreams",
  "keywords": [
    "stream",
    "string",
    "memory",
    "buffer",
    "Readable",
    "Writable"
  ],
  "license": "MIT",
  "readmeFilename": "README.md",
  "files": [
    "README.md",
    "dist",
    "src",
    "!*/__tests__"
  ],
  "scripts": {
    "prerelease": "cross-env CI=1 npm run test",
    "release": "np",
    "build": "lb-tsc",
    "build:full": "npm ci --ignore-scripts && npm run clean && npm run build",
    "coverage": "lb-nyc report --reporter=text-summary",
    "precoverage": "npm test",
    "lint": "npm run prettier:check && npm run eslint",
    "lint:fix": "npm run eslint:fix && npm run prettier:fix",
    "eslint": "lb-eslint --report-unused-disable-directives --cache .",
    "eslint:fix": "npm run eslint -- --fix",
    "prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\" \"**/*.md\"",
    "prettier:check": "npm run prettier:cli -- --check",
    "prettier:fix": "npm run prettier:cli -- --write",
    "format": "npm run prettier:fix",
    "clean": "lb-clean dist coverage .nyc_output *.tsbuildinfo",
    "pretest": "npm run clean && npm run format",
    "test": "lb-nyc npm run mocha",
    "test:ci": "lb-nyc npm run mocha",
    "posttest": "npm run lint",
    "premocha": "npm run build",
    "mocha": "lb-mocha \"dist/__tests__/**/*.js\"",
    "preunit": "npm run build",
    "unit": "lb-mocha \"dist/__tests__/unit/**/*.js\""
  },
  "dependencies": {
    "readable-stream": "^3.6.0",
    "@types/readable-stream": "^2.3.13"
  },
  "devDependencies": {
    "@loopback/build": "^8.1.2",
    "@loopback/eslint-config": "^12.0.4",
    "@loopback/testlab": "^4.1.2",
    "@types/mocha": "^9.1.1",
    "cross-env": "^7.0.3",
    "eslint": "^8.14.0",
    "mocha": "^10.0.0",
    "np": "^7.6.1",
    "prettier": "^2.6.2",
    "rimraf": "^3.0.2",
    "typescript": "^4.6.4"
  },
  "engines": {
    "node": ">= 10.*"
  }
}