-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "wechaty-cqrs",
"version": "0.15.4",
"description": "An event-driven architecture wrapper for Wechaty that applies the CQS principle by using separate Query and Command messages to retrieve and modify the bot state, respectively.",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/src/mods/mod.js",
"require": "./dist/cjs/src/mods/mod.js"
},
"./event$": {
"import": "./dist/esm/src/mods/event$.js",
"require": "./dist/cjs/src/mods/event$.js"
},
"./sayable": {
"import": "./dist/esm/src/mods/sayable.js",
"require": "./dist/cjs/src/mods/sayable.js"
},
"./duck": {
"import": "./dist/esm/src/mods/duck.js",
"require": "./dist/cjs/src/mods/duck.js"
},
"./helpers": {
"import": "./dist/esm/src/mods/helpers.js",
"require": "./dist/cjs/src/mods/helpers.js"
}
},
"typesVersions": {
"*": {
"sayables": [
"./dist/esm/src/mods/sayables.d.ts"
],
"duck": [
"./dist/esm/src/mods/duck.d.ts"
],
"helpers": [
"./dist/esm/src/mods/helpers.d.ts"
]
}
},
"types": "./dist/esm/src/mods/mod.d.ts",
"engines": {
"node": ">=16",
"npm": ">=7"
},
"directories": {
"example": "examples"
},
"scripts": {
"build": "tsc && tsc -p tsconfig.cjs.json",
"clean": "shx rm -fr dist/*",
"dist": "npm-run-all clean build dist:commonjs",
"dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
"lint": "npm-run-all lint:es lint:ts lint:md",
"lint:md": "markdownlint README.md",
"lint:ts": "tsc --isolatedModules --noEmit",
"redux-devtools": "redux-devtools --hostname=localhost --port=8000",
"start": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ding-dong-bot.ts",
"test": "npm-run-all lint test:unit",
"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\"",
"lint:es": "eslint --ignore-pattern tests/fixtures/ '{bin,examples,scripts,src,tests}/**/*.ts'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wechaty/cqrs.git"
},
"keywords": [
"cqrs",
"ddd",
"wechaty",
"chatbot",
"chatie"
],
"author": "Huan LI <zixia@zixia.net>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/wechaty/cqrs/issues"
},
"dependencies": {
"ducks": "^1.3.2",
"lodash": "^4.17.21",
"redux": "^4.1.2",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.5",
"time-constants": "^1.0.3",
"typesafe-actions": "^5.1.0",
"utility-types": "^3.10.0",
"uuid": "^8.3.2",
"wechaty-redux": "^1.20.2"
},
"peerDependencies": {
"wechaty": "^1.19.10"
},
"devDependencies": {
"@chatie/eslint-config": "^1.0.4",
"@chatie/git-scripts": "^0.6.2",
"@chatie/semver": "^0.4.7",
"@chatie/tsconfig": "^4.6.3",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.180",
"@types/time-constants": "^1.0.0",
"@types/uuid": "^8.3.4",
"glob": "^7.2.0",
"tstest": "^1.2.8",
"wechaty-puppet-mock": "^1.18.2",
"wechaty-puppet-wechat": "^1.18.1"
},
"files": [
"bin/",
"dist/",
"src/"
],
"publishConfig": {
"tag": "next"
},
"git": {
"scripts": {
"pre-push": "npx git-scripts-pre-push"
}
},
"homepage": "https://github.com/wechaty/cqrs#readme"
}