UNPKG

torrent-api-ts

Version:

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![Build Status](https://travis-ci.org/Belphemur/torrent-api-ts.svg?branch=master)](https

145 lines (144 loc) 4.02 kB
{ "name": "torrent-api-ts", "version": "2.0.0", "description": "", "keywords": [ "torrent", "typescript", "rarbg", "wrapper" ], "main": "dist/torrent-api-ts.umd.js", "module": "dist/torrent-api-ts.es5.js", "typings": "dist/types/torrent-api-ts.d.ts", "files": [ "dist" ], "author": "Antoine Aflalo <antoine@aaflalo.me>", "repository": { "type": "git", "url": "https://github.com/Belphemur/torrent-api-ts" }, "license": "MIT", "engines": { "node": ">=6.0.0" }, "scripts": { "lint": "tslint -t codeFrame 'src/**/*.ts' 'test/**/*.ts'", "prebuild": "rimraf dist", "build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src", "start": "rollup -c rollup.config.ts -w", "test": "jest", "test:watch": "jest --watch", "test:prod": "npm run lint && npm run test -- --coverage --no-cache", "deploy-docs": "ts-node tools/gh-pages-publish", "report-coverage": "cat ./coverage/lcov.info | coveralls", "commit": "git-cz", "semantic-release": "semantic-release", "semantic-release-prepare": "ts-node tools/semantic-release-prepare", "precommit": "lint-staged", "travis-deploy-once": "travis-deploy-once" }, "lint-staged": { "{src,test}/**/*.ts": [ "prettier --write --no-semi --single-quote", "git add" ] }, "config": { "commitizen": { "path": "node_modules/cz-conventional-changelog" }, "validate-commit-msg": { "types": "conventional-commit-types", "helpMessage": "Use \"npm run commit\" instead, we use conventional-changelog format :) (https://github.com/commitizen/cz-cli)" } }, "jest": { "transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/test/" ], "coverageThreshold": { "global": { "branches": 90, "functions": 95, "lines": 95, "statements": 95 } }, "collectCoverage": true }, "release": { "verifyConditions": [ "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/github" ], "prepare": [ "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git" ], "publish": [ "@semantic-release/github", "@semantic-release/npm" ], "analyzeCommits": { "preset": "angular" } }, "devDependencies": { "@semantic-release/changelog": "^2.0.1", "@semantic-release/git": "^4.0.1", "@types/jest": "^22.0.0", "@types/nock": "^9.1.2", "@types/node": "^9.3.0", "colors": "^1.1.2", "commitizen": "^2.9.6", "conventional-changelog-eslint": "^1.0.9", "coveralls": "^3.0.0", "cross-env": "^5.0.1", "cz-conventional-changelog": "^2.0.0", "husky": "^0.14.0", "jest": "^22.0.2", "lint-staged": "^7.0.0", "lodash.camelcase": "^4.3.0", "nock": "^9.2.3", "prettier": "^1.4.4", "prompt": "^1.0.0", "replace-in-file": "^3.0.0-beta.2", "rimraf": "^2.6.1", "rollup": "^0.57.0", "rollup-plugin-commonjs": "^9.0.0", "rollup-plugin-json": "^2.3.0", "rollup-plugin-node-resolve": "^3.0.0", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-typescript2": "^0.12.0", "semantic-release": "^15.1.4", "semantic-release-cli": "^3.6.4", "sr-commit-analyzer": "^2.0.3", "sr-release-notes-generator": "^1.1.3", "travis-deploy-once": "^4.4.1", "ts-jest": "^22.0.0", "ts-node": "^5.0.1", "tslint": "^5.9.1", "tslint-config-prettier": "^1.1.0", "tslint-config-standard": "^7.0.0", "typedoc": "^0.11.0", "typescript": "^2.8.1", "validate-commit-msg": "^2.12.2" }, "dependencies": { "axios": "^0.18.0" } }