1 | {
|
2 | "name": "action-u",
|
3 | "version": "0.2.0",
|
4 | "description": "Redux Action Generator (promoting action creators and types)",
|
5 | "main": "lib/index.js",
|
6 | "browser": {
|
7 | "main": "dist/action-u.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,reduxAPI.js",
|
32 | "build:plat:lib": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --ignore spec,reduxAPI.js",
|
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 --verbose",
|
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 --helper tooling/docs/escapeAnchor.js --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:publish": "cross-var gh-pages --dist _book --tag v$npm_package_version-docs --message \"documentation for v$npm_package_version\"",
|
47 | "docs:publish:patch": " gh-pages --dist _book --message \"documentation patch\"",
|
48 | "docs:jsdoc2md:help": "jsdoc2md --help",
|
49 | "docs:gitbook:help": "gitbook help",
|
50 | "docs:clean": "rimraf _book",
|
51 | "lint": "echo '*** Verify code quality (lint):' && eslint src",
|
52 | "pkgReview": "echo '*** Showing outdated installed packages:' && npm outdated --long || true",
|
53 | "prepublish": "npm-run-all lint pkgReview clean build:plat:all test:plat:all docs cov",
|
54 | "start": "npm run dev",
|
55 | "test": "mocha --compilers js:babel-core/register --colors \"src/**/*.spec.js\"",
|
56 | "test:all": "npm run test --",
|
57 | "test:all:watch": "npm run test:all -- --watch",
|
58 | "test:lib": "npm run test:samples -- --invert",
|
59 | "test:lib:watch": "npm run test:lib -- --watch",
|
60 | "test:samples": "npm run test -- --grep \"verify sample\"",
|
61 | "test:samples:watch": "npm run test:samples -- --watch",
|
62 | "test:plat:all": "npm-run-all test:plat:src test:plat:bundle test:plat:bundle.min test:plat:lib test:plat:es",
|
63 | "test:plat:bundle": "cross-env MODULE_PLATFORM=bundle npm run test:all",
|
64 | "test:plat:bundle.min": "cross-env MODULE_PLATFORM=bundle.min npm run test:all",
|
65 | "test:plat:es": "cross-env MODULE_PLATFORM=es npm run test:all",
|
66 | "test:plat:lib": "cross-env MODULE_PLATFORM=lib npm run test:all",
|
67 | "test:plat:src": "cross-env MODULE_PLATFORM=src npm run test:all"
|
68 | },
|
69 | "repository": {
|
70 | "type": "git",
|
71 | "url": "https://github.com/KevinAst/action-u.git"
|
72 | },
|
73 | "keywords": [
|
74 | "flux",
|
75 | "redux",
|
76 | "action",
|
77 | "redux action",
|
78 | "creator",
|
79 | "action creator",
|
80 | "redux action creator",
|
81 | "type",
|
82 | "action type",
|
83 | "redux action type",
|
84 | "generator",
|
85 | "action generator",
|
86 | "action creator generator",
|
87 | "higher-order",
|
88 | "higher-order function",
|
89 | "hof",
|
90 | "higher-order component",
|
91 | "hoc",
|
92 | "utility",
|
93 | "util",
|
94 | "utils",
|
95 | "helper",
|
96 | "helpers",
|
97 | "js",
|
98 | "javascript",
|
99 | "geeku",
|
100 | "astx"
|
101 | ],
|
102 | "author": "Kevin J. Bridges <kevinast@gmail.com> (https://github.com/KevinAst)",
|
103 | "license": "MIT",
|
104 | "bugs": {
|
105 | "url": "https://github.com/KevinAst/action-u/issues"
|
106 | },
|
107 | "homepage": "https://github.com/KevinAst/action-u",
|
108 | "nyc": {
|
109 | "include": [
|
110 | "src/**/*.js"
|
111 | ],
|
112 | "exclude": [
|
113 | "**/spec/**",
|
114 | "**/*.spec.js"
|
115 | ],
|
116 | "require": [
|
117 | "babel-register"
|
118 | ],
|
119 | "sourceMap": false,
|
120 | "instrument": false
|
121 | },
|
122 | "devDependencies": {
|
123 | "babel-cli": "^6.24.1",
|
124 | "babel-core": "^6.24.1",
|
125 | "babel-eslint": "^7.2.3",
|
126 | "babel-loader": "^7.0.0",
|
127 | "babel-plugin-istanbul": "^4.1.1",
|
128 | "babel-preset-es2015": "^6.24.1",
|
129 | "babel-preset-stage-1": "^6.24.1",
|
130 | "babel-register": "^6.24.1",
|
131 | "codacy-coverage": "^2.0.2",
|
132 | "cross-env": "^4.0.0",
|
133 | "cross-var": "^1.0.3",
|
134 | "eslint": "^3.19.0",
|
135 | "eslint-loader": "^1.7.1",
|
136 | "expect": "^1.20.2",
|
137 | "gh-pages": "^0.12.0",
|
138 | "gitbook-cli": "^2.3.0",
|
139 | "jsdoc-babel": "^0.3.0",
|
140 | "jsdoc-to-markdown": "^3.0.0",
|
141 | "mocha": "^3.3.0",
|
142 | "npm-run-all": "^4.0.2",
|
143 | "nyc": "^10.2.0",
|
144 | "rimraf": "^2.6.1",
|
145 | "webpack": "^2.4.1"
|
146 | },
|
147 | "dependencies": {
|
148 | "lodash.isfunction": "^3.0.8",
|
149 | "lodash.isplainobject": "^4.0.6"
|
150 | }
|
151 | }
|