merge
Showing
{ | ||
"name": "wechaty", | ||
"version": "0.11.8", | ||
"version": "0.12.3", | ||
"description": "Wechat for Bot(Personal Account)", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
... | ... | @@ -15,23 +15,24 @@ |
}, | ||
"scripts": { | ||
"ts-node": "ts-node", | ||
"dist": "npm run clean && tsc && jq \"del (.files)\" < package.json > dist/package.json && shx cp src/puppet-web/*.js dist/src/puppet-web/", | ||
"dist": "npm run clean && tsc && shx cp src/puppet-web/*.js dist/src/puppet-web/", | ||
"doc": "npm run dist && echo '# Wechaty v'$(jq -r .version package.json)' Documentation\n' > docs/index.md && jsdoc2md dist/src/{wechaty,room,contact,friend-request,message}.js dist/src/puppet-web/friend-request.js>> docs/index.md", | ||
"coverage": "nyc report --reporter=text-lcov | coveralls", | ||
"changelog": "github_changelog_generator -u chatie -p wechaty && sed -i'.bak' /greenkeeper/d CHANGELOG.md && ts-node script/sort-contributiveness.ts < CHANGELOG.md > CHANGELOG.new.md 2>/dev/null && cat CHANGELOG.md >> CHANGELOG.new.md && mv CHANGELOG.new.md CHANGELOG.md", | ||
"changelog": "github_changelog_generator -u chatie -p wechaty && sed -i'.bak' /greenkeeper/d CHANGELOG.md && sed -i'.bak' '/An in-range update of/d' CHANGELOG.md && ts-node script/sort-contributiveness.ts < CHANGELOG.md > CHANGELOG.new.md 2>/dev/null && cat CHANGELOG.md >> CHANGELOG.new.md && mv CHANGELOG.new.md CHANGELOG.md", | ||
"doctor": "npm run check-node-version && ts-node bin/doctor", | ||
"clean": "shx rm -fr dist/*", | ||
"check-node-version": "check-node-version --node \">= 7\"", | ||
"lint": "npm run check-node-version && npm run lint:ts && npm run lint:es && npm run lint:sh", | ||
"lint:es": "eslint \"{bin,example,src,test}/**/*.js\" --ignore-pattern=\"test/fixture/**\"", | ||
"lint:ts": "npm run clean && echo tslint v`tslint --version` && tslint --project tsconfig.json --type-check \"{bin,example,src,test}/**/*.ts\" --exclude \"test/fixture/**\" --exclude \"dist/\" && tsc --noEmit", | ||
"lint:ts": "npm run clean && echo tslint v`tslint --version` && tslint --project tsconfig.json \"{bin,example,src,test}/**/*.ts\" --exclude \"test/fixture/**\" --exclude \"dist/\" && tsc --noEmit", | ||
"lint:sh": "bash -n bin/*.sh", | ||
"sloc": "sloc bin example src test index.ts --details --format cli-table --keys total,source,comment && sloc bin example src test index.ts", | ||
"pretest": "npm run clean && npm run lint", | ||
"test": "blue-tape -r ts-node/register -r source-map-support/register \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"", | ||
"posttest": "npm run sloc", | ||
"test": "npm run clean && npm run lint && npm run test:unit && npm run test:shell && npm run sloc", | ||
"test:linux": "npm run pretest && parallel ts-node -- ./src/**/*.spec.ts ./test/**/*.spec.ts && npm run posttest", | ||
"test:npm": "npm run dist && export TMPDIR=/tmp/wechaty.$$ && npm pack && mkdir $TMPDIR && mv wechaty-*.*.*.tgz $TMPDIR && cp test/fixture/smoke-testing.js $TMPDIR && cd $TMPDIR && npm init -y && npm i wechaty-*.*.*.tgz && node smoke-testing.js", | ||
"test:shell": "shellcheck bin/*.sh", | ||
"test:unit": "blue-tape -r ts-node/register -r source-map-support/register \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"", | ||
"test:win32": "npm run test:unit", | ||
"io-client": "ts-node bin/io-client", | ||
"demo": "ts-node example/ding-dong-bot.ts", | ||
"start": "npm run demo" | ||
... | ... | @@ -88,62 +89,62 @@ |
"node": ">= 7" | ||
}, | ||
"dependencies": { | ||
"@types/node": "^8.0.33", | ||
"@types/ws": "^3.2.0", | ||
"bl": "^1.2.1", | ||
"brolog": "^1.2.8", | ||
"hot-import": "^0.1.21", | ||
"mime": "^2.0.3", | ||
"puppeteer": "^0.12.0", | ||
"raven": "^2.2.1", | ||
"request": "^2.83.0", | ||
"retry-promise": "^1.0.0", | ||
"rxjs": "^5.4.3", | ||
"state-switch": "^0.2.2", | ||
"watchdog": "^0.1.16", | ||
"ws": "^3.2.0", | ||
"xml2js": "^0.4.19" | ||
"@types/node": "^8.0", | ||
"@types/ws": "^3.2", | ||
"bl": "^1.2", | ||
"brolog": "^1.2", | ||
"hot-import": "^0.1", | ||
"mime": "^2.0", | ||
"puppeteer": "^0.12", | ||
"raven": "^2.2", | ||
"read-pkg-up": "^2.0", | ||
"request": "^2.83", | ||
"retry-promise": "^1.0", | ||
"rx-queue": "^0.3.1", | ||
"rxjs": "^5.5", | ||
"state-switch": "^0.2", | ||
"watchdog": "^0.3", | ||
"ws": "^3.2", | ||
"xml2js": "^0.4" | ||
}, | ||
"devDependencies": { | ||
"@types/blue-tape": "^0.1.31", | ||
"@types/body-parser": "^1.16.5", | ||
"@types/express": "^4.0.37", | ||
"@types/fluent-ffmpeg": "^2.1.4", | ||
"@types/glob": "^5.0.33", | ||
"@types/mime": "^2.0.0", | ||
"@types/puppeteer": "^0.12.0", | ||
"@types/raven": "^2.1.2", | ||
"@types/request": "^2.0.4", | ||
"@types/sinon": "^2.3.5", | ||
"@types/xml2js": "^0.4.0", | ||
"apiai": "^4.0.3", | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^8.0.1", | ||
"babel-preset-env": "^1.6.0", | ||
"blue-tape": "^1.0.0", | ||
"body-parser": "^1.18.2", | ||
"check-node-version": "^2.1.0", | ||
"cookie-parser": "^1.4.3", | ||
"coveralls": "^3.0.0", | ||
"cross-env": "^5.0.5", | ||
"eslint": "^4.8.0", | ||
"express": "^4.15.2", | ||
"finis": "^0.0.3", | ||
"fluent-ffmpeg": "^2.1.2", | ||
"glob": "^7.1.2", | ||
"jsdoc-to-markdown": "^3.0.0", | ||
"nyc": "^11.2.1", | ||
"qrcode-terminal": "^0.11.0", | ||
"shx": "^0.2.2", | ||
"sinon": "^4.0.1", | ||
"sinon-test": "^2.1.1", | ||
"sloc": "^0.2.0", | ||
"ts-node": "^3.3.0", | ||
"tslint": "^5.7.0", | ||
"tslint-jsdoc-rules": "^0.1.2", | ||
"tuling123-client": "^0.0.1", | ||
"typescript": "^2.5.3", | ||
"yarn": "^1.1.0" | ||
"@types/blue-tape": "^0.1", | ||
"@types/express": "^4.0", | ||
"@types/fluent-ffmpeg": "^2.1", | ||
"@types/glob": "^5.0", | ||
"@types/mime": "^2.0", | ||
"@types/puppeteer": "^0.12", | ||
"@types/raven": "^2.1", | ||
"@types/read-pkg-up": "^2.0", | ||
"@types/request": "^2.0", | ||
"@types/sinon": "^2.3", | ||
"@types/xml2js": "^0.4", | ||
"apiai": "^4.0", | ||
"babel-cli": "^6.26", | ||
"babel-eslint": "^8.0", | ||
"babel-preset-env": "^1.6", | ||
"blue-tape": "^1.0", | ||
"check-node-version": "^2.1", | ||
"cookie-parser": "^1.4", | ||
"coveralls": "^3.0", | ||
"cross-env": "^5.0", | ||
"eslint": "^4.8", | ||
"express": "^4.15", | ||
"finis": "^0.2", | ||
"fluent-ffmpeg": "^2.1", | ||
"glob": "^7.1", | ||
"jsdoc-to-markdown": "^3.0", | ||
"nyc": "^11.2", | ||
"qrcode-terminal": "^0.11", | ||
"shx": "^0.2", | ||
"sinon": "^4.0", | ||
"sinon-test": "^2.1", | ||
"sloc": "^0.2", | ||
"ts-node": "^3.3", | ||
"tslint": "^5.7", | ||
"tslint-jsdoc-rules": "^0.1", | ||
"tuling123-client": "^0.0", | ||
"typescript": "^2.5" | ||
}, | ||
"files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955", | ||
"files": [ | ||
... | ... |
src/rx-queue.spec.ts
已删除
100755 → 0
src/rx-queue.ts
已删除
100644 → 0
想要评论请 注册 或 登录