UNPKG

ptt-client

Version:

A Node client for fetching data from ptt.cc.

59 lines (58 loc) 1.9 kB
{ "name": "ptt-client", "version": "0.9.0", "description": "A Node client for fetching data from ptt.cc.", "main": "./dist/index.js", "types": "./dist/index.d.js", "scripts": { "type:check": "tsc", "type:declaration": "tsc --noEmit false --emitDeclarationOnly --declaration --declarationDir ./dist", "test": "cross-env TS_NODE_PROJECT=tsconfig.test.json mocha ./test/index.ts", "build": "$npm_execpath run build:babel && $npm_execpath run type:declaration", "build:babel": "cross-env NODE_ENV=production babel ./src --out-dir ./dist --extensions '.ts'" }, "repository": { "type": "git", "url": "git+https://github.com/kevinptt0323/ptt-client.git" }, "keywords": [ "bbs", "ptt", "websocket" ], "author": "Kevin Lin", "license": "MIT", "bugs": { "url": "https://github.com/kevinptt0323/ptt-client/issues" }, "homepage": "https://github.com/kevinptt0323/ptt-client#readme", "dependencies": { "@babel/runtime": "^7.4.2", "eventemitter3": "^4.0.0", "sleep-promise": "^8.0.1", "terminal.js": "github:kevinptt0323/terminal.js", "uao-js": "^1.0.1", "wcwidth": "^1.0.1", "ws": "^7.1.1" }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.4.0", "@babel/node": "^7.2.2", "@babel/plugin-proposal-class-properties": "^7.4.0", "@babel/plugin-proposal-export-default-from": "^7.2.0", "@babel/plugin-proposal-object-rest-spread": "^7.5.5", "@babel/plugin-transform-named-capturing-groups-regex": "^7.6.3", "@babel/plugin-transform-runtime": "^7.4.0", "@babel/preset-env": "^7.4.2", "@babel/preset-typescript": "^7.3.3", "@babel/register": "^7.4.0", "@types/mocha": "^5.2.7", "@types/node": "^12.7.1", "cross-env": "^5.2.0", "mocha": "^6.1.4", "ts-node": "^8.3.0", "tslint": "^6.0.0-beta0", "typescript": "^3.5.3" } }