UNPKG

ayanami

Version:
108 lines (107 loc) 3.03 kB
{ "name": "ayanami", "version": "0.20.1", "description": "A better way to react with state", "main": "./dist/index.js", "module": "./esm/index.js", "esnext": "./esnext/index.js", "types": "./esm/index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/LeetCode-OpenSource/ayanami.git" }, "bugs": { "url": "https://github.com/LeetCode-OpenSource/ayanami/issues" }, "homepage": "https://github.com/LeetCode-OpenSource/ayanami#readme", "scripts": { "check_circular_dependencies": "madge esm/index.js --circular --warning", "demo": "parcel ./demo/index.html", "build": "npm-run-all -p build:es5 build:esm build:next", "build:es5": "shx rm -rf ./dist && tsc -p ./tsconfig.build.json", "build:esm": "shx rm -rf ./esm && tsc -p ./tsconfig.build.json -m esnext --outDir esm", "build:next": "shx rm -rf ./esnext && tsc -p ./tsconfig.build.json --target esnext --outDir esnext", "prettier": "prettier '@(src|demo)/**/*.@(ts|tsx|html|less)' --write", "lint": "yarn lint:eslint && yarn lint:tsc", "lint:eslint": "eslint . --ext .ts,.tsx --fix --max-warnings 0", "lint:tsc": "tsc -p ./tsconfig.json --noEmit", "test": "jest --collectCoverage", "prepare": "husky install" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{ts,tsx}": [ "prettier --write", "yarn lint:eslint", "git add" ], "*.{less,html}": [ "prettier --write", "git add" ] }, "keywords": [ "React", "hooks", "Observables", "Observable", "model", "state", "Rx", "RxJS", "ReactiveX" ], "author": "LeetCode front-end team", "license": "MIT", "dependencies": { "shallowequal": "^1.1.0" }, "devDependencies": { "@asuka/di": "^0.2.0", "@types/express": "^4.17.0", "@types/jest": "^26.0.21", "@types/lodash": "^4.14.136", "@types/node": "^14.14.35", "@types/react": "^17.0.3", "@types/react-dom": "^17.0.2", "@types/react-test-renderer": "^17.0.1", "@types/shallowequal": "^1.1.1", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "codecov": "^3.5.0", "eslint": "7.22.0", "eslint-config-prettier": "^8.1.0", "eslint-plugin-react": "^7.21.5", "husky": "^5.2.0", "immer": "^9.0.1", "jest": "^26.6.3", "lint-staged": "^10.5.4", "lodash": "^4.17.15", "madge": "^4.0.1", "npm-run-all": "^4.1.5", "parcel": "^1.12.3", "prettier": "^2.2.1", "react": "^17.0.1", "react-dom": "^17.0.1", "react-test-renderer": "^17.0.1", "reflect-metadata": "^0.1.13", "rxjs": "^6.5.2", "shx": "^0.3.2", "ts-jest": "^26.5.4", "tslib": "^2.1.0", "typescript": "^4.2.3" }, "peerDependencies": { "@asuka/di": "^0.2.0", "immer": "^9.0.1", "lodash": "^4.17.15", "react": "^17.0.1", "reflect-metadata": "^0.1.13", "rxjs": "^6.5.2" } }