UNPKG

babel-plugin-typecheck

Version:

Transforms flow type annotations into runtime type checks.

51 lines (50 loc) 1.66 kB
{ "name": "babel-plugin-typecheck", "version": "3.1.0", "description": "Transforms flow type annotations into runtime type checks.", "main": "lib/index.js", "scripts": { "build": "babel --plugins syntax-flow,transform-flow-strip-types -d ./lib ./src", "build-typed": "npm run build && babel --plugins ./lib,syntax-flow,transform-flow-strip-types -d ./lib-checked ./src", "prepublish": "npm run build", "pretest": "npm run build", "test": "mocha ./test/index.js", "test-checked": "npm run build-typed && TYPECHECK_USE_LIBCHECKED=1 mocha ./test/index.js", "watch": "NODE_WATCH=1 mocha --watch" }, "repository": { "type": "git", "url": "https://github.com/codemix/babel-plugin-typecheck" }, "keywords": [ "babel", "babel-plugin", "types", "typing", "typecheck", "type check", "flow" ], "author": "Charles Pick <charles@codemix.com>", "license": "MIT", "bugs": { "url": "https://github.com/codemix/babel-plugin-typecheck/issues" }, "homepage": "https://github.com/codemix/babel-plugin-typecheck", "devDependencies": { "babel-cli": "^6.1.0", "babel-core": "^6.1.0", "babel-generator": "^6.1.2", "babel-plugin-syntax-flow": "^6.0.14", "babel-plugin-syntax-class-properties": "^6.1.18", "babel-plugin-transform-es2015-modules-commonjs": "^6.1.3", "babel-plugin-transform-flow-strip-types": "^6.0.14", "babel-polyfill": "^6.0.16", "babel-preset-es2015": "^6.1.0", "babel-preset-react": "^6.1.0", "babel-preset-stage-0": "^6.1.18", "babel-preset-stage-1": "^6.1.0", "mocha": "~2.2.4", "should": "^6.0.1" } }