UNPKG

wechaty-redux

Version:

Wechaty Redux Plugin Powered By Ducks

94 lines 2.82 kB
{ "name": "wechaty-redux", "version": "1.20.2", "description": "Wechaty Redux Plugin Powered By Ducks", "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" }, "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": "npm-run-all example:vanilla example:ducks", "example:vanilla": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/vanilla-redux.ts", "example:ducks": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node examples/ducks-proposal.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/wechaty-redux.git" }, "keywords": [ "wechaty", "redux", "ducks", "plugin" ], "author": "Huan LI <zixia@zixia.net> (李卓桓)", "license": "Apache-2.0", "bugs": { "url": "https://github.com/wechaty/wechaty-redux/issues" }, "homepage": "https://github.com/wechaty/wechaty-redux#readme", "publishConfig": { "tag": "latest" }, "dependencies": { "ducks": "^1.0.2", "gerror": "^1.0.16", "redux": "^4.1.2", "redux-observable": "^2.0.0", "rxjs": "^7.5", "state-switch": "^1.6.3", "typed-emitter": "^1.5.0-from-event", "typesafe-actions": "^5.1.0", "utility-types": "^3.10.0", "uuid": "^8.3.2" }, "peerDependencies": { "wechaty": "^1.18.1", "wechaty-puppet": "^1.18.3" }, "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/remote-redux-devtools": "^0.5.5", "@types/uuid": "^8.3.4", "glob": "^7.2.0", "remote-redux-devtools": "^0.5.16", "wechaty-puppet-mock": "^1.18.2" }, "files": [ "bin/", "dist/", "src/" ], "tap": { "check-coverage": false }, "git": { "scripts": { "pre-push": "npx git-scripts-pre-push" } } }