forked from wechaty/matrix-appservice
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
90 lines (90 loc) · 3.44 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "matrix-appservice-wechaty",
"version": "0.9.20",
"description": "Matrix Application Services Bridge for Wechat",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/src/mod.js",
"require": "./dist/cjs/src/mod.js"
}
},
"typings": "./dist/esm/src/mod.d.ts",
"engines": {
"node": ">=16",
"npm": ">=7",
"wechaty": ">=0.69"
},
"scripts": {
"build": "tsc && tsc -p tsconfig.cjs.json",
"clean": "shx rm -fr dist/* ./*-store.db",
"dist": "npm-run-all clean build dist:copy dist:commonjs",
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
"dist:copy": "npm-run-all dist:copy:esm dist:copy:cjs",
"dist:copy:esm": "cp -R config dist/esm && shx cp -R commonjs/ dist/esm/",
"dist:copy:cjs": "cp -R config dist/cjs && shx cp -R commonjs/ dist/cjs/",
"lint": "npm run lint:es && npm run lint:ts && npm run lint:md",
"lint:md": "markdownlint README.md",
"lint:es": "eslint --ignore-pattern tests/fixtures/ '{bin,src,tests}/**/*.ts' ",
"lint:ts": "tsc --isolatedModules --noEmit",
"dev": "cross-env LOG_LEVEL=silly NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" bin/matrix-appservice-wechaty.ts",
"dev:genarate-registration": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" bin/matrix-appservice-wechaty.ts --config wechaty-config.yaml --url http://localhost:8788 --generate-registration",
"dev:service": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" bin/matrix-appservice-wechaty.ts --config wechaty-config.yaml --file wechaty-registration.yaml",
"dev:watch": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" LOG_LEVEL=silly npx nodemon --watch \"{bin,src,tests}/**/*.ts\" --exec node bin/matrix-appservice-wechaty.ts",
"sloc": "sloc bin scripts src tests --details --format cli-table --keys total,source,comment && sloc bin scripts src tests",
"test:pack": "bash -x scripts/npm-pack-testing.sh",
"test:unit": "tap --node-arg=--loader=ts-node/esm --node-arg=--no-warnings \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\"",
"test": "npm-run-all lint test:unit",
"watch": "nodemon --watch src/ --ext ts --ignore \"src/**/*.spec.ts\" --exec npm run dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/huan/matrix-appservice-wechaty.git"
},
"keywords": [
"matrix",
"wechat",
"wechaty",
"bridge",
"appservice"
],
"author": "Huan LI <zixia@zixia.net>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/huan/matrix-appservice-wechaty/issues"
},
"homepage": "https://github.com/huan/matrix-appservice-wechaty#readme",
"dependencies": {
"cuid": "^2.1.8",
"dotenv": "^10.0.0",
"matrix-appservice-bridge": "^3.1.1",
"npm-run-all": "^4.1.5",
"read-pkg-up": "^7",
"update-notifier": "^5.1.0",
"wechaty": "^0.68.1"
},
"devDependencies": {
"@chatie/eslint-config": "^1.0.2",
"@chatie/git-scripts": "^0.6.2",
"@chatie/semver": "^0.4.7",
"@chatie/tsconfig": "^0.20.6",
"@types/nedb": "^1.8.12",
"@types/update-notifier": "^5.1.0",
"nodemon": "^2.0.14",
"pkg-jq": "^0.2.11",
"qrcode-terminal": "^0.12.0",
"sloc": "^0.2.1"
},
"bin": {
"matrix-appservice-wechaty": "dist/esm/bin/matrix-appservice-wechaty.js"
},
"publishConfig": {
"access": "public",
"tag": "next"
},
"git": {
"scripts": {
"pre-push": "npx git-scripts-pre-push"
}
}
}