UNPKG

babel-plugin-fail-explicit

Version:

A babel plugin that kills javascript's coercion and other silent failure

83 lines (82 loc) 2.63 kB
{ "name": "babel-plugin-fail-explicit", "version": "0.0.6", "description": "A babel plugin that kills javascript's coercion and other silent failure", "main": "lib/index.js", "repository": { "type": "git", "url": "git+https://github.com/amilajack/babel-plugin-fail-explicit.git" }, "scripts": { "build": "cross-env NODE_ENV=production rm -rf lib && mkdir lib && babel src/index.js --out-file lib/index.js --source-maps", "build-watch": "npm run build -- --watch", "coverage": "npm run spec -- --coverage && nyc report --temp-directory=coverage --reporter=text-lcov | coveralls", "flow": "flow check", "flow-typed": "flow-typed install", "lint": "eslint --cache --format=node_modules/eslint-formatter-pretty .", "spec": "cross-env BABEL_DISABLE_CACHE=1 NODE_ENV=test jest", "test": "cross-env BABEL_DISABLE_CACHE=1 NODE_ENV=test npm run lint && npm run spec", "version": "npm run build" }, "jest": { "testEnvironment": "node" }, "keywords": [ "babel", "plugin", "fail", "explicit", "coercion", "silent" ], "author": "Amila Welihinda", "license": "MIT", "bugs": { "url": "https://github.com/amilajack/babel-plugin-fail-explicit/issues" }, "files": [ "lib" ], "homepage": "https://github.com/amilajack/babel-plugin-fail-explicit#readme", "dependencies": { "safe-access-check": "^0.0.15" }, "devDependencies": { "babel-cli": "^6.24.1", "babel-core": "^6.24.1", "babel-eslint": "^7.2.2", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-async-to-bluebird": "^1.0.1", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-es2015-modules-umd": "^6.24.1", "babel-plugin-transform-flow-strip-types": "^6.22.0", "babel-plugin-transform-promise-to-bluebird": "^1.1.1", "babel-plugin-transform-runtime": "^6.23.0", "babel-polyfill": "^6.23.0", "babel-preset-env": "^1.4.0", "babel-preset-es2015": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "babel-register": "^6.24.1", "babel-traverse": "^6.24.1", "babel-types": "^6.24.1", "chai": "^3.5.0", "coveralls": "^2.13.0", "cross-env": "^4.0.0", "dedent": "^0.7.0", "eslint": "^3.19.0", "eslint-config-bliss": "^1.0.3", "eslint-formatter-pretty": "^1.1.0", "flow-bin": "^0.44.0", "flow-typed": "^2.0.0", "jest-cli": "^19.0.2" }, "engines": { "node": ">=4.x", "npm": ">=3.x" }, "devEngines": { "node": ">=7.x", "npm": ">=4.x" } }