UNPKG

namespace-constants

Version:

Add namespace to Redux action type constants without name conflicts.

48 lines (47 loc) 1.42 kB
{ "name": "namespace-constants", "version": "1.0.1", "description": "Add namespace to Redux action type constants without name conflicts.", "homepage": "https://github.com/cheton/namespace-constants", "main": "lib/index.js", "files": [ "lib" ], "scripts": { "prepublish": "npm run eslint && npm test && npm run build", "build": "babel --out-dir ./lib ./src", "eslint": "eslint src", "test": "tap test/*.js --node-arg=--require --node-arg=@babel/register --node-arg=--require --node-arg=@babel/polyfill", "coveralls": "tap test/*.js --coverage --coverage-report=text-lcov --nyc-arg=--require --nyc-arg=@babel/register --nyc-arg=--require --nyc-arg=@babel/polyfill | coveralls" }, "author": "Cheton Wu <cheton@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git@github.com:cheton/namespace-constants.git" }, "keywords": [ "redux", "namespace", "constants" ], "dependencies": {}, "devDependencies": { "@babel/cli": "~7.4.4", "@babel/core": "~7.4.5", "@babel/polyfill": "~7.4.4", "@babel/preset-env": "~7.4.5", "@babel/register": "^7.4.4", "@trendmicro/babel-config": "^1.0.0-alpha", "babel-eslint": "~10.0.1", "coveralls": "~3.0.3", "eslint": "~5.16.0", "eslint-config-recommended": "~4.0.0", "tap": "~14.2.0" }, "nyc": { "exclude": [ "test/index.js" ] } }