qiwi/protopipe

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "protopipe",
  "version": "2.2.10",
  "description": "Graph-driven data processor",
  "source": "src/main/ts/index.ts",
  "main": "target/bundle/protopipe.js",
  "module": "target/bundle/protopipe.mjs",
  "unpkg": "target/bundle/protopipe.umd.js",
  "types": "typings/index.d.ts",
  "typescript": {
    "definition": "typings/index.d.ts"
  },
  "files": [
    "README.md",
    "CHANGELOG.md",
    "target",
    "typings",
    "flow-typed"
  ],
  "scripts": {
    "lint": "eslint src/**/*.{ts,js}",
    "lint:fix": "yarn lint --fix",
    "test": "yarn lint && yarn test:unit",
    "test:unit": "jest -w 2 --config=jest.config.json",
    "clean": "rimraf target typings",
    "build": "yarn clean && yarn build:es5 && yarn build:es6 && yarn build:ts && yarn build:libdef && yarn docs && yarn uglify && yarn build:bundle",
    "build:es5": "mkdir -p target/es5 && tsc -p tsconfig.es5.json",
    "build:es6": "mkdir -p target/es6 && tsc -p tsconfig.es6.json",
    "build:ts": "cp -r src/main/ts/ target/ts/",
    "build:bundle": "microbundle build -o target/bundle",
    "build:libdef": "libdefkit --tsconfig=tsconfig.es5.json --tsconfig=tsconfig.es6.json --entry=protopipe/target/es5",
    "test:report": "yarn test && yarn push:report",
    "push:report": "yarn coveralls:push",
    "coveralls:push": "cat ./coverage/lcov.info | npm_config_yes=true npx coveralls@3",
    "docs": "typedoc",
    "uglify": "for f in $(find target -name '*.js'); do short=${f%.js}; terser -c -m -o $short.js -- $f; done",
    "postupdate": "yarn && yarn build && yarn test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/qiwi/protopipe.git"
  },
  "keywords": [
    "protopipe",
    "graph processor",
    "graph",
    "dgraph",
    "vertex",
    "edge",
    "arch",
    "sequence",
    "gdd",
    "lambda"
  ],
  "author": "Anton Golub <mailbox@antongolub.ru>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/qiwi/protopipe/issues"
  },
  "homepage": "https://github.com/qiwi/protopipe#readme",
  "dependencies": {
    "@qiwi/substrate": "^2.0.0",
    "inside-out-promise": "^2.1.4",
    "tslib": "^2.4.0"
  },
  "devDependencies": {
    "@qiwi/libdefkit": "^6.0.0",
    "@types/jest": "^29.2.0",
    "@types/jest-json-schema": "^6.1.1",
    "eslint": "^8.26.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-config-qiwi": "^1.17.8",
    "jest": "^29.2.2",
    "lodash": "^4.17.21",
    "microbundle": "^0.15.1",
    "replace-in-file": "^7.0.0",
    "rimraf": "^5.0.0",
    "terser": "^5.15.1",
    "ts-jest": "^29.0.3",
    "typedoc": "^0.23.18",
    "typescript": "^5.0.0"
  },
  "release": {
    "branch": "master",
    "verifyConditions": [
      "@semantic-release/changelog",
      "@semantic-release/npm",
      "@semantic-release/git",
      "@qiwi/semantic-release-gh-pages-plugin"
    ],
    "prepare": [
      "@semantic-release/changelog",
      "@semantic-release/npm",
      "@semantic-release/git"
    ],
    "publish": [
      "@semantic-release/npm",
      "@semantic-release/github",
      "@qiwi/semantic-release-gh-pages-plugin"
    ]
  }
}