package.json 5.0 KB
Newer Older
1
{
2
  "name": "wechaty",
Huan (李卓桓)'s avatar
0.32.4  
Huan (李卓桓) 已提交
3
  "version": "0.32.4",
Huan (李卓桓)'s avatar
docs  
Huan (李卓桓) 已提交
4
  "description": "Wechaty is a Bot SDK for Individual Account, Powered by TypeScript, Docker, and 💖",
Huan (李卓桓)'s avatar
wip...  
Huan (李卓桓) 已提交
5
  "main": "dist/src/index.js",
6
  "typings": "dist/src/index.d.ts",
7
  "wechaty": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
8
    "DEFAULT_PORT": 8080,
9
    "DEFAULT_PROTOCOL": "io|0.0.1",
10
    "DEFAULT_APIHOST": "api.chatie.io"
11
  },
12
  "scripts": {
13
    "build": "tsc",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
14
    "clean": "shx rm -fr dist/*",
15
    "dist": "npm run clean && npm run build",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
16
    "pack": "npm pack",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
17
    "docs": "bash -x scripts/generate-docs.sh",
18
    "coverage": "nyc report --reporter=text-lcov | coveralls",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
19
    "changelog": "github_changelog_generator -u wechaty -p wechaty && sed -i'.bak' /greenkeeper/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",
20
    "doctor": "npm run check-node-version && ts-node bin/doctor",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
21
    "check-node-version": "check-node-version --node \">= 10\"",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
22
    "lint": "npm run check-node-version && npm run lint:es && npm run lint:ts && npm run lint:sh && npm run lint:md",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
23
    "lint:es": "eslint --ignore-pattern node_modules/ --ignore-pattern fixtures/ \"{bin,examples,src,scripts,tests}/**/*.ts\"",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
24
    "lint:md": "markdownlint README.md",
25
    "lint:ts": "tsc --noEmit",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
26
    "lint:sh": "bash -n bin/*.sh",
27
    "puppet-install": "ts-node bin/puppet-install.ts",
28
    "sloc": "sloc bin examples scripts src tests --details --format cli-table --keys total,source,comment && sloc bin examples scripts src tests",
29
    "ts-node": "ts-node",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
30
    "test": "npm run lint && npm run test:unit && npm run sloc",
31
    "test:pack": "bash -x scripts/npm-pack-testing.sh",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
32
    "test:shell": "shellcheck bin/*.sh scripts/*.sh",
33
    "test:unit": "blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
34
    "test:debug": "blue-tape -r ts-node/register src/puppet-web/bridge.spec.ts",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
35
    "typedoc": "bash scripts/typedoc.sh",
36 37
    "io-client": "ts-node bin/io-client",
    "demo": "ts-node examples/ding-dong-bot.ts",
J
jess 已提交
38 39
    "start": "npm run demo",
    "postinstall": "opencollective-postinstall"
40 41 42
  },
  "repository": {
    "type": "git",
43
    "url": "git+https://github.com/wechaty/wechaty.git"
44
  },
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
45
  "bin": {
46
    "wechaty-doctor": "dist/bin/doctor.js",
47 48
    "wechaty-io-client": "dist/bin/io-client.js",
    "wechaty-puppet-install": "dist/bin/puppet-install.js",
49
    "wechaty-version": "dist/bin/version.js"
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
50
  },
51 52
  "keywords": [
    "wechat",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
53 54 55
    "rpa",
    "conversational",
    "ai",
56 57 58 59 60 61 62
    "微信",
    "weixin",
    "personal",
    "bot",
    "robot",
    "chatbot",
    "framework",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
63
    "sdk",
64
    "wechaty",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
65
    "chatie",
66 67
    "微信控"
  ],
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
68
  "author": {
69
    "name": "Huan LI",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
70
    "email": "zixia@zixia.net",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
71
    "url": "https://www.zixia.net"
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
72
  },
73
  "license": "Apache-2.0",
74
  "bugs": {
75
    "url": "https://github.com/wechaty/wechaty/issues"
76
  },
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
77
  "homepage": "https://github.com/wechaty/",
78
  "engines": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
79
    "node": ">= 10"
80 81
  },
  "dependencies": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
82
    "brolog": "^1.8.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
83
    "clone-class": "^0.7.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
84
    "cuid": "^2.1.1",
85
    "hot-import": "^0.2.1",
86
    "in-gfw": "^1.2.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
87
    "npm-programmatic": "0.0.12",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
88
    "open-graph": "^0.2.4",
89 90
    "opencollective": "^1.0.3",
    "opencollective-postinstall": "^2.0.2",
91
    "pkg-dir": "^4.0.0",
92
    "portfinder": "^1.0.17",
93
    "promise-retry": "^1.1.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
94
    "raven": "^2.6.2",
95
    "read-pkg-up": "^7.0.0",
96
    "state-switch": "^0.6.2",
97
    "watchdog": "^0.8.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
98
    "wechaty-puppet": "^0.20.1",
99
    "wechaty-puppet-hostie": "^0.3.19",
100
    "ws": "^7.0.0"
101 102
  },
  "devDependencies": {
103 104 105
    "@babel/core": "^7.0.1",
    "@babel/node": "^7.0.0",
    "@babel/preset-env": "^7.0.0",
106
    "@chatie/eslint-config": "^0.9.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
107
    "@chatie/git-scripts": "^0.2.3",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
108
    "@chatie/semver": "^0.4.7",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
109
    "@chatie/tsconfig": "^0.8.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
110
    "@types/cuid": "^1.3.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
111
    "@types/glob": "^7.1.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
112
    "@types/open-graph": "^0.2.0",
113
    "@types/promise-retry": "^1.1.3",
114
    "@types/raven": "^2.1.0",
115
    "@types/retry": "^0.12.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
116
    "@types/ws": "^7.2.1",
117
    "apiai": "^4.0.0",
118
    "check-node-version": "^4.0.1",
119
    "coveralls": "^3.0.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
120 121
    "cross-env": "^7.0.0",
    "finis": "^0.4.4",
122
    "glob": "^7.1.0",
123
    "jsdoc-to-markdown": "^5.0.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
124 125
    "markdownlint-cli": "^0.22.0",
    "nyc": "^15.0.0",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
126
    "pkg-jq": "^0.2.4",
127
    "qrcode-terminal": "^0.12.0",
128
    "shx": "^0.3.0",
129
    "sloc": "^0.2.0",
130
    "tstest": "^0.4.1",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
131
    "typedoc": "^0.16.10",
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
132
    "wechaty-puppet-mock": "^0.17.4"
133 134 135 136 137
  },
  "files_comment__whitelist_npm_publish": "http://stackoverflow.com/a/8617868/1123955",
  "files": [
    "CHANGELOG",
    "LICENSE",
138 139
    "README.md",
    "package.json",
140
    "bin",
141 142
    "dist/bin",
    "dist/index.*",
143 144
    "dist/src",
    "src"
145 146
  ],
  "publishConfig": {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
147
    "access": "public",
148
    "tag": "next"
J
jess 已提交
149 150 151 152
  },
  "collective": {
    "type": "opencollective",
    "url": "https://opencollective.com/wechaty"
153 154 155 156 157
  },
  "git": {
    "scripts": {
      "pre-push": "npx git-scripts-pre-push"
    }
158
  }
159
}