UNPKG

6.09 kBJSONView Raw
1{
2 "name": "astx-redux-util",
3 "version": "1.0.0",
4 "description": "Several redux reducer composition utilities.",
5 "main": "lib/index.js",
6 "browser": {
7 "main": "dist/astx-redux-util.js"
8 },
9 "module": "es/index.js",
10 "jsnext:main": "es/index.js",
11 "files": [
12 "package.json",
13 "CHANGELOG.md",
14 "LICENSE.md",
15 "README.md",
16 "dist",
17 "es",
18 "lib",
19 "src"
20 ],
21 "scripts": {
22 "COMMENT1": "***--------------------------------------------------------------------------***",
23 "COMMENT2": "*** Please refer to SCRIPTS.md for an overview of the project's npm scripts. ***",
24 "COMMENT3": "***--------------------------------------------------------------------------***",
25 "COMMENT4": " ",
26 "build": "cross-env BABEL_ENV=commonjs webpack --progress --colors",
27 "build:clean": "rimraf dist lib es",
28 "build:plat:all": "npm-run-all build:plat:bundle build:plat:bundle.min build:plat:lib build:plat:es",
29 "build:plat:bundle": "cross-env NODE_ENV=development npm run build",
30 "build:plat:bundle.min": "cross-env NODE_ENV=production npm run build",
31 "build:plat:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore spec,tooling",
32 "build:plat:lib": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --ignore spec,tooling",
33 "build:watch": "npm run build -- --watch",
34 "check": "npm-run-all lint pkgReview cov",
35 "clean": "npm-run-all build:clean docs:clean cov:clean",
36 "cov": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha --compilers js:babel-core/register --colors \"src/**/*.spec.js\"",
37 "cov:clean": "rimraf coverage",
38 "cov:publish": "cat coverage/lcov.info | codacy-coverage",
39 "dev": "npm run test:lib:watch",
40 "docs": "npm run docs:prepare && npm run docs:build",
41 "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",
42 "docs:prepare": "gitbook install",
43 "docs:build:COMMENT": "NOTE: fore gitbook build/serve, add following diagnostic: --log=debug --debug",
44 "docs:build": "npm run docs:api && gitbook build",
45 "docs:serve": "npm run docs:api && gitbook serve",
46 "docs:jsdoc2md:help": "jsdoc2md --help",
47 "docs:gitbook:help": "gitbook help",
48 "docs:clean": "rimraf _book",
49 "lint": "echo '*** Verify code quality (lint):' && eslint src",
50 "pkgReview": "echo '*** Showing outdated installed packages:' && npm outdated --long || true",
51 "prepublish": "npm-run-all lint pkgReview clean build:plat:all test:plat:all docs cov",
52 "start": "npm run dev",
53 "test": "mocha --compilers js:babel-core/register --colors \"src/**/*.spec.js\"",
54 "test:all": "npm run test --",
55 "test:all:watch": "npm run test:all -- --watch",
56 "test:lib": "npm run test:samples -- --invert",
57 "test:lib:watch": "npm run test:lib -- --watch",
58 "test:samples": "npm run test -- --grep \"verify sample\"",
59 "test:samples:watch": "npm run test:samples -- --watch",
60 "test:plat:all": "npm-run-all test:plat:src test:plat:bundle test:plat:bundle.min test:plat:lib test:plat:es",
61 "test:plat:bundle": "cross-env MODULE_PLATFORM=bundle npm run test:all",
62 "test:plat:bundle.min": "cross-env MODULE_PLATFORM=bundle.min npm run test:all",
63 "test:plat:es": "cross-env MODULE_PLATFORM=es npm run test:all",
64 "test:plat:lib": "cross-env MODULE_PLATFORM=lib npm run test:all",
65 "test:plat:src": "cross-env MODULE_PLATFORM=src npm run test:all"
66 },
67 "repository": {
68 "type": "git",
69 "url": "https://github.com/KevinAst/astx-redux-util.git"
70 },
71 "keywords": [
72 "astx",
73 "js",
74 "javascript",
75 "flux",
76 "redux",
77 "reducer",
78 "redux reducer",
79 "action",
80 "compose",
81 "composition",
82 "functional decomposition",
83 "higher order",
84 "higher-order",
85 "higher-order function",
86 "higher-order reducer",
87 "higher-order component",
88 "hof",
89 "hoc",
90 "switch",
91 "case",
92 "utility",
93 "util",
94 "utils",
95 "helper",
96 "helpers"
97 ],
98 "author": "Kevin J. Bridges <kevinast@gmail.com> (https://github.com/KevinAst)",
99 "license": "MIT",
100 "bugs": {
101 "url": "https://github.com/KevinAst/astx-redux-util/issues"
102 },
103 "homepage": "https://github.com/KevinAst/astx-redux-util",
104 "devDependencies": {
105 "babel-cli": "^6.23.0",
106 "babel-core": "^6.22.1",
107 "babel-eslint": "^7.1.1",
108 "babel-loader": "^6.2.10",
109 "babel-plugin-istanbul": "^4.1.1",
110 "babel-preset-es2015": "^6.22.0",
111 "babel-preset-stage-1": "^6.22.0",
112 "babel-register": "^6.24.0",
113 "codacy-coverage": "^2.0.1",
114 "cross-env": "^3.2.3",
115 "eslint": "^3.16.1",
116 "eslint-loader": "^1.6.3",
117 "expect": "^1.20.2",
118 "gitbook-cli": "^2.3.0",
119 "jsdoc-babel": "^0.3.0",
120 "jsdoc-to-markdown": "^3.0.0",
121 "mocha": "^3.2.0",
122 "npm-run-all": "^4.0.1",
123 "nyc": "^10.2.0",
124 "redux": "^3.6.0",
125 "rimraf": "^2.5.4",
126 "webpack": "^2.2.1"
127 },
128 "dependencies": {
129 "lodash.identity": "^3.0.0",
130 "lodash.isfunction": "^3.0.8",
131 "lodash.last": "^3.0.0"
132 },
133 "nyc": {
134 "include": [
135 "src/**/*.js"
136 ],
137 "exclude": [
138 "**/tooling/**",
139 "**/spec/**",
140 "**/*.spec.js"
141 ],
142 "require": [
143 "babel-register"
144 ],
145 "sourceMap": false,
146 "instrument": false
147 }
148}