UNPKG

react-to-typescript-definitions

Version:
58 lines (57 loc) 1.71 kB
{ "name": "react-to-typescript-definitions", "version": "0.9.0", "description": "Create typescript definitions files (d.ts) from react components", "main": "index.js", "bin": { "react2dts": "cli.js" }, "scripts": { "clean": "rm -f index.js index.js.map tests/*.js tests/*.js.map", "prebuild": "npm run clean", "build": "tsc --sourceMap", "pretest": "tsc --inlineSourceMap", "test": "mocha --compilers js:babel-register 'tests/**/*-test.js'", "coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -w", "preversion": "npm test", "version": "npm run build && conventional-changelog -p angular -v -r 0 > CHANGELOG.md && git add -A .", "postversion": "git push && git push --tags", "prepublish": "not-in-install && npm run build || echo 'In install cycle, skipping prepublish'" }, "author": { "name": "Markus Wolf", "email": "knister.peter@shadowrun-clan.de" }, "repository": { "type": "git", "url": "KnisterPeter/react-to-typescript-definitions" }, "license": "MIT", "devDependencies": { "babel-core": "6.4.5", "babel-preset-es2015": "6.3.13", "babel-register": "6.4.3", "chai": "3.5.0", "coveralls": "2.11.6", "cz-conventional-changelog": "1.1.5", "in-publish": "2.0.0", "mocha": "2.4.5", "nyc": "5.5.0", "react": "0.14.7", "tslint": "3.3.0", "typescript": "1.7.5" }, "dependencies": { "babylon": "6.4.5", "minimist": "1.2.0" }, "publishConfig": { "tag": "next" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }