@felangel/bloc
Version:
A predictable state management library that helps implement the BLoC design pattern in JavaScript
104 lines (103 loc) • 2.67 kB
JSON
{
"name": "@felangel/bloc",
"version": "0.3.0",
"description": "A predictable state management library that helps implement the BLoC design pattern in JavaScript",
"keywords": [
"state-management",
"business-logic",
"BLoC",
"bloc"
],
"main": "dist/bloc.umd.js",
"module": "dist/bloc.es5.js",
"typings": "dist/types/bloc.d.ts",
"files": [
"dist"
],
"author": "Felix Angelov <felangelov@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/**/*.ts' 'test/**/*.ts'",
"format": "prettier --write \"lib/src/**/*.ts\"",
"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}/**/*.ts": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"collectCoverageFrom": [
"lib/src/*.{js,ts}"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"devDependencies": {
"@types/jest": "^23.3.2",
"@types/node": "^10.14.15",
"colors": "^1.3.2",
"cross-env": "^5.2.0",
"jest": "^26.4.2",
"jest-config": "^26.4.2",
"lint-staged": "^8.0.0",
"lodash.camelcase": "^4.3.0",
"prettier": "^1.14.3",
"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",
"rxjs": "^6.5.3",
"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"
},
"peerDependencies": {
"rxjs": "6.x.x"
}
}