astx-redux-util
Version:
Several redux reducer composition utilities.
149 lines (148 loc) • 6.09 kB
JSON
{
"name": "astx-redux-util",
"version": "1.0.0",
"description": "Several redux reducer composition utilities.",
"main": "lib/index.js",
"browser": {
"main": "dist/astx-redux-util.js"
},
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"package.json",
"CHANGELOG.md",
"LICENSE.md",
"README.md",
"dist",
"es",
"lib",
"src"
],
"scripts": {
"COMMENT1": "***--------------------------------------------------------------------------***",
"COMMENT2": "*** Please refer to SCRIPTS.md for an overview of the project's npm scripts. ***",
"COMMENT3": "***--------------------------------------------------------------------------***",
"COMMENT4": " ",
"build": "cross-env BABEL_ENV=commonjs webpack --progress --colors",
"build:clean": "rimraf dist lib es",
"build:plat:all": "npm-run-all build:plat:bundle build:plat:bundle.min build:plat:lib build:plat:es",
"build:plat:bundle": "cross-env NODE_ENV=development npm run build",
"build:plat:bundle.min": "cross-env NODE_ENV=production npm run build",
"build:plat:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore spec,tooling",
"build:plat:lib": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --ignore spec,tooling",
"build:watch": "npm run build -- --watch",
"check": "npm-run-all lint pkgReview cov",
"clean": "npm-run-all build:clean docs:clean cov:clean",
"cov": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --compilers js:babel-core/register --colors \"src/**/*.spec.js\"",
"cov:clean": "rimraf coverage",
"cov:publish": "cat coverage/lcov.info | codacy-coverage",
"dev": "npm run test:lib:watch",
"docs": "npm run docs:prepare && npm run docs:build",
"docs:api": "jsdoc2md --configure tooling/docs/jsdoc.json --global-index-format none --partial tooling/docs/header.hbs --partial tooling/docs/link.hbs --partial tooling/docs/body.hbs --files src/**/*.js > docs/api.md",
"docs:prepare": "gitbook install",
"docs:build:COMMENT": "NOTE: fore gitbook build/serve, add following diagnostic: --log=debug --debug",
"docs:build": "npm run docs:api && gitbook build",
"docs:serve": "npm run docs:api && gitbook serve",
"docs:jsdoc2md:help": "jsdoc2md --help",
"docs:gitbook:help": "gitbook help",
"docs:clean": "rimraf _book",
"lint": "echo '*** Verify code quality (lint):' && eslint src",
"pkgReview": "echo '*** Showing outdated installed packages:' && npm outdated --long || true",
"prepublish": "npm-run-all lint pkgReview clean build:plat:all test:plat:all docs cov",
"start": "npm run dev",
"test": "mocha --compilers js:babel-core/register --colors \"src/**/*.spec.js\"",
"test:all": "npm run test --",
"test:all:watch": "npm run test:all -- --watch",
"test:lib": "npm run test:samples -- --invert",
"test:lib:watch": "npm run test:lib -- --watch",
"test:samples": "npm run test -- --grep \"verify sample\"",
"test:samples:watch": "npm run test:samples -- --watch",
"test:plat:all": "npm-run-all test:plat:src test:plat:bundle test:plat:bundle.min test:plat:lib test:plat:es",
"test:plat:bundle": "cross-env MODULE_PLATFORM=bundle npm run test:all",
"test:plat:bundle.min": "cross-env MODULE_PLATFORM=bundle.min npm run test:all",
"test:plat:es": "cross-env MODULE_PLATFORM=es npm run test:all",
"test:plat:lib": "cross-env MODULE_PLATFORM=lib npm run test:all",
"test:plat:src": "cross-env MODULE_PLATFORM=src npm run test:all"
},
"repository": {
"type": "git",
"url": "https://github.com/KevinAst/astx-redux-util.git"
},
"keywords": [
"astx",
"js",
"javascript",
"flux",
"redux",
"reducer",
"redux reducer",
"action",
"compose",
"composition",
"functional decomposition",
"higher order",
"higher-order",
"higher-order function",
"higher-order reducer",
"higher-order component",
"hof",
"hoc",
"switch",
"case",
"utility",
"util",
"utils",
"helper",
"helpers"
],
"author": "Kevin J. Bridges <kevinast@gmail.com> (https://github.com/KevinAst)",
"license": "MIT",
"bugs": {
"url": "https://github.com/KevinAst/astx-redux-util/issues"
},
"homepage": "https://github.com/KevinAst/astx-redux-util",
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-core": "^6.22.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.2.10",
"babel-plugin-istanbul": "^4.1.1",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-1": "^6.22.0",
"babel-register": "^6.24.0",
"codacy-coverage": "^2.0.1",
"cross-env": "^3.2.3",
"eslint": "^3.16.1",
"eslint-loader": "^1.6.3",
"expect": "^1.20.2",
"gitbook-cli": "^2.3.0",
"jsdoc-babel": "^0.3.0",
"jsdoc-to-markdown": "^3.0.0",
"mocha": "^3.2.0",
"npm-run-all": "^4.0.1",
"nyc": "^10.2.0",
"redux": "^3.6.0",
"rimraf": "^2.5.4",
"webpack": "^2.2.1"
},
"dependencies": {
"lodash.identity": "^3.0.0",
"lodash.isfunction": "^3.0.8",
"lodash.last": "^3.0.0"
},
"nyc": {
"include": [
"src/**/*.js"
],
"exclude": [
"**/tooling/**",
"**/spec/**",
"**/*.spec.js"
],
"require": [
"babel-register"
],
"sourceMap": false,
"instrument": false
}
}