package.json 5.2 KB
Newer Older
1
{
2
  "name": "wechaty",
3
  "version": "0.61.20",
4
  "description": "Wechaty is a RPA SDK for Chatbot Makers.",
5 6
  "main": "dist/src/mod.js",
  "typings": "dist/src/mod.d.ts",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
7
  "engines": {
8
    "node": ">= 12"
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
9
  },
10
  "wechaty": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
11
    "DEFAULT_PORT": 8080,
12
    "DEFAULT_PROTOCOL": "io|0.0.1",
13
    "DEFAULT_APIHOST": "api.chatie.io"
14
  },
15
  "scripts": {
16
    "build": "tsc",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
17
    "clean": "shx rm -fr dist/*",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
18
    "dist": "npm-run-all clean build",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
19
    "pack": "npm pack",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
20
    "docs": "bash -x scripts/generate-docs.sh",
21
    "coverage": "nyc report --reporter=text-lcov | coveralls",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
22
    "changelog": "docker run -it --rm -e CHANGELOG_GITHUB_TOKEN -v \"$(pwd)\":/usr/local/src/your-app ferrarimarco/github-changelog-generator -u wechaty -p wechaty && sed -i'.bak' /greenkeeper/d CHANGELOG.md && sed -i'.bak' /Snyk/d CHANGELOG.md && sed -i'.bak' '/An in-range update of/d' CHANGELOG.md && ts-node scripts/sort-contributiveness.ts < CHANGELOG.md > CHANGELOG.new.md 2>/dev/null && cat CHANGELOG.md >> CHANGELOG.new.md && mv CHANGELOG.new.md CHANGELOG.md",
23
    "doctor": "npm run check-node-version && ts-node bin/doctor",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
24
    "check-node-version": "check-node-version --node \">= 12\"",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
25
    "lint": "npm-run-all check-node-version lint:es lint:ts lint:sh lint:md",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
26
    "lint:es": "eslint --ignore-pattern node_modules/ --ignore-pattern fixtures/ \"{bin,examples,src,scripts,tests}/**/*.ts\"",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
27
    "lint:md": "markdownlint README.md",
28
    "lint:ts": "tsc --noEmit",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
29
    "lint:sh": "bash -n bin/*.sh",
30
    "puppet-install": "ts-node bin/puppet-install.ts",
31
    "sloc": "sloc bin examples scripts src tests --details --format cli-table --keys total,source,comment && sloc bin examples scripts src tests",
32
    "ts-node": "ts-node",
33
    "test": "npm run lint && nyc npm run test:unit && npm run sloc",
34
    "test:pack": "bash -x scripts/npm-pack-testing.sh",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
35
    "test:shell": "shellcheck bin/*.sh scripts/*.sh",
36
    "test:unit": "blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
37
    "test:debug": "blue-tape -r ts-node/register src/puppet-web/bridge.spec.ts",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
38
    "typedoc": "bash scripts/typedoc.sh",
39 40
    "io-client": "ts-node bin/io-client",
    "demo": "ts-node examples/ding-dong-bot.ts",
J
jess 已提交
41 42
    "start": "npm run demo",
    "postinstall": "opencollective-postinstall"
43 44 45
  },
  "repository": {
    "type": "git",
46
    "url": "git+https://github.com/wechaty/wechaty.git"
47
  },
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
48
  "bin": {
49
    "wechaty-doctor": "dist/bin/doctor.js",
50 51
    "wechaty-io-client": "dist/bin/io-client.js",
    "wechaty-puppet-install": "dist/bin/puppet-install.js",
52
    "wechaty-version": "dist/bin/version.js"
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
53
  },
54 55
  "keywords": [
    "wechat",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
56 57 58
    "rpa",
    "conversational",
    "ai",
59 60 61 62 63 64 65
    "微信",
    "weixin",
    "personal",
    "bot",
    "robot",
    "chatbot",
    "framework",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
66
    "sdk",
67
    "wechaty",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
68
    "chatie",
69 70
    "微信控"
  ],
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
71
  "author": {
Huan (李卓桓)'s avatar
clean  
Huan (李卓桓) 已提交
72
    "name": "Huan LI (李卓桓)",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
73
    "email": "zixia@zixia.net",
Huan (李卓桓)'s avatar
clean  
Huan (李卓桓) 已提交
74
    "url": "https://linkedin.com/in/zixia/"
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
75
  },
76
  "license": "Apache-2.0",
77
  "bugs": {
78
    "url": "https://github.com/wechaty/wechaty/issues"
79
  },
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
80 81 82 83
  "funding": {
    "type": "opencollective",
    "url": "https://opencollective.com/wechaty"
  },
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
84
  "homepage": "https://github.com/wechaty/",
85
  "dependencies": {
86
    "brolog": "^1.12.4",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
87
    "clone-class": "^0.7.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
88
    "cuid": "^2.1.8",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
89
    "dotenv": "^10.0.0",
90
    "in-gfw": "^1.2.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
91
    "json-rpc-peer": "^0.17.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
92
    "npm-programmatic": "0.0.12",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
93
    "open-graph": "^0.2.4",
94
    "opencollective": "^1.0.3",
95
    "opencollective-postinstall": "^2.0.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
96
    "pkg-dir": "^5.0.0",
97 98
    "portfinder": "^1.0.28",
    "promise-retry": "^2.0.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
99 100
    "raven": "^2.6.4",
    "read-pkg-up": "^7.0.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
101
    "typed-emitter": "^1.3.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
102
    "watchdog": "^0.8.17",
103
    "wechaty-puppet": "^0.41.1",
Huan (李卓桓)'s avatar
fix yml  
Huan (李卓桓) 已提交
104
    "wechaty-puppet-service": "^0.21.8",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
105
    "ws": "^7.4.6"
106 107
  },
  "devDependencies": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
108 109 110
    "@babel/core": "^7.14.3",
    "@babel/node": "^7.14.2",
    "@babel/preset-env": "^7.14.4",
111
    "@chatie/eslint-config": "^0.12.4",
112
    "@chatie/git-scripts": "^0.6.2",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
113
    "@chatie/semver": "^0.4.7",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
114
    "@chatie/tsconfig": "^0.17.2",
115
    "@types/cuid": "^1.3.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
116
    "@types/dotenv": "^8.2.0",
117
    "@types/glob": "^7.1.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
118
    "@types/open-graph": "^0.2.1",
119
    "@types/promise-retry": "^1.1.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
120
    "@types/raven": "^2.5.3",
121
    "@types/retry": "^0.12.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
122
    "@types/ws": "^7.4.4",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
123
    "apiai": "^4.0.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
124
    "check-node-version": "^4.1.0",
125
    "coveralls": "^3.1.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
126
    "cross-env": "^7.0.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
127
    "finis": "^0.4.4",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
128 129
    "glob": "^7.1.7",
    "jsdoc-to-markdown": "^7.0.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
130
    "markdownlint-cli": "^0.27.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
131
    "npm-run-all": "^4.1.5",
132
    "nyc": "^15.1.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
133
    "pkg-jq": "^0.2.11",
134
    "qrcode-terminal": "^0.12.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
135
    "shx": "^0.3.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
136 137
    "sloc": "^0.2.1",
    "tstest": "^0.4.10",
138 139 140
    "typedoc": "^1.0.0-dev.4 ",
    "typescript": "^4.3",
    "wechaty-puppet-mock": "^0.29.6"
141 142 143 144 145
  },
  "files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955",
  "files": [
    "CHANGELOG",
    "LICENSE",
146 147
    "README.md",
    "package.json",
148
    "bin",
149 150
    "dist/bin",
    "dist/index.*",
151 152
    "dist/src",
    "src"
153 154
  ],
  "publishConfig": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
155
    "access": "public",
156
    "tag": "next"
J
jess 已提交
157 158 159 160
  },
  "collective": {
    "type": "opencollective",
    "url": "https://opencollective.com/wechaty"
161 162 163 164 165
  },
  "git": {
    "scripts": {
      "pre-push": "npx git-scripts-pre-push"
    }
166
  }
167
}