UNPKG

@felangel/react-bloc

Version:

React Components that make it easy to implement the BLoC (Business Logic Component) design pattern. Built to be used with the bloc.js state management package.

124 lines (123 loc) 3.33 kB
{ "name": "@felangel/react-bloc", "version": "0.3.0", "description": "React Components that make it easy to implement the BLoC (Business Logic Component) design pattern. Built to be used with the bloc.js state management package.", "keywords": [ "react", "state", "reactjs", "state-management", "business-logic", "BLoC", "bloc" ], "main": "dist/react-bloc.umd.js", "module": "dist/react-bloc.es5.js", "typings": "dist/types/react-bloc.d.ts", "files": [ "dist" ], "author": "Felix Angelov <felangelov@gmail.com>", "contributors": [ "Erick Torres <ericktorresdeveloper@gmail.com>" ], "repository": { "type": "git", "url": "https://github.com/felangel/bloc.js" }, "license": "MIT", "engines": { "node": ">=6.0.0" }, "scripts": { "lint": "tslint --project tsconfig.json -t codeFrame 'lib/src/**/*.tsx' 'test/**/*.tsx'", "format": "prettier --write \"lib/src/**/*.ts\" \"lib/src/**/*.tsx\" \"test/**/*.tsx\"", "prebuild": "rimraf dist", "build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file lib", "start": "rollup -c rollup.config.ts -w", "test": "jest --coverage", "test:watch": "jest --coverage --watch", "test:prod": "npm run lint && npm run test -- --no-cache" }, "lint-staged": { "{src,test}/**/*.tsx": [ "prettier --write", "git add" ] }, "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "setupFilesAfterEnv": [ "./setupTests.ts" ], "testEnvironment": "node", "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "coveragePathIgnorePatterns": [ "/node_modules/", "/test/" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } }, "collectCoverageFrom": [ "lib/src/*.{js,ts,tsx}" ] }, "prettier": { "semi": false, "singleQuote": true }, "devDependencies": { "@types/enzyme": "^3.10.3", "@types/enzyme-adapter-react-16": "^1.0.5", "@types/jest": "^23.3.2", "@types/node": "^10.11.0", "@types/react": "16.9.1", "@types/react-dom": "16.8.5", "colors": "^1.3.2", "cross-env": "^5.2.0", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.14.0", "jest": "^26.4.2", "jest-config": "^26.4.2", "jsdom": "15.1.1", "jsdom-global": "3.0.2", "lint-staged": "^8.0.0", "lodash.camelcase": "^4.3.0", "prettier": "^1.14.3", "react-dom": "^16.9.0", "replace-in-file": "^3.4.2", "rimraf": "^2.6.2", "rollup": "^0.67.0", "rollup-plugin-commonjs": "^9.1.8", "rollup-plugin-json": "^3.1.0", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-sourcemaps": "^0.4.2", "rollup-plugin-typescript2": "^0.22.1", "travis-deploy-once": "^5.0.9", "ts-jest": "^26.3.0", "ts-node": "^7.0.1", "tslint": "^5.11.0", "tslint-config-prettier": "^1.15.0", "tslint-config-standard": "^8.0.1", "typedoc": "^0.15.0", "typescript": "^3.0.3" }, "dependencies": { "@felangel/bloc": "^0.3.0", "react": "^16.9.0", "rxjs": "^6.5.2" } }