rxjs-hooks
Version:
React hooks for RxJS
88 lines (87 loc) • 2.46 kB
JSON
{
"name": "rxjs-hooks",
"version": "0.5.2",
"description": "React hooks for RxJS",
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"author": "LongYinan <lynweklm@gmail.com>",
"license": "MIT",
"typings": "dist/cjs/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "rm -rf dist/esm && tsc -p src/tsconfig.json --module es2015 --target es5 --outDir dist/esm",
"build:cjs": "rm -rf dist/cjs && tsc -p src/tsconfig.json --module commonjs --target es5 --outDir dist/cjs",
"lint": "tslint -c tslint.json -p src/tsconfig.json",
"start": "webpack-dev-server --config ./tools/webpack.config.js --progress --color",
"test": "NODE_ENV=test jest --no-cache --ci"
},
"repository": {
"type": "git",
"url": "git@github.com:LeetCode-OpenSource/rxjs-hooks.git"
},
"devDependencies": {
"@types/jest": "^24.0.22",
"@types/lodash": "^4.14.144",
"@types/react-dom": "^16.9.3",
"@types/react-test-renderer": "^16.9.1",
"@types/sinon": "^7.5.0",
"@types/sinon-chai": "^3.2.3",
"@types/webpack": "^4.39.8",
"coveralls": "^3.0.7",
"fork-ts-checker-webpack-plugin": "^3.0.1",
"happypack": "^5.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"prettier": "^1.18.2",
"react": "16.11.0",
"react-dom": "16.11.0",
"react-test-renderer": "16.11.0",
"rxjs": "^6.5.3",
"sinon": "^7.5.0",
"source-map-loader": "^0.2.4",
"standard": "^14.3.1",
"ts-jest": "^24.1.0",
"ts-loader": "^6.2.1",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^4.1.0",
"tslint-sonarts": "^1.9.0",
"typescript": "^3.7.2",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"dependencies": {
"tslib": "^1.10.0",
"use-constant": "^1.0.0"
},
"lint-staged": {
"*.js": [
"prettier --write",
"standard --fix",
"git add"
],
"*.@(ts|tsx)": [
"prettier --write",
"tslint -c tslint.json --fix",
"git add"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"parser": "typescript"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}