UNPKG

@jhessin/react-hyperscript-helpers

Version:

Terse syntax for hyperscript using react avoiding the use of brackets

53 lines (52 loc) 1.9 kB
{ "name": "@jhessin/react-hyperscript-helpers", "version": "1.2.0", "description": "Terse syntax for hyperscript using react avoiding the use of brackets", "main": "./lib/index.js", "typings": "./lib/index.d.ts", "scripts": { "build": "npm run build:babel && npm run build:ts-def", "build:babel": "babel src --out-dir lib", "build:ts-def": "babel-node ./generate-ts-def.js", "lint": "eslint src test", "test": "npm run test:mocha && npm run test:tsc", "test:mocha": "mocha -c -r babel-core/register ./test/**/*Spec.js", "test:tsc": "npm run build && npm run test:tsc:fake-install && npm run test:tsc:compile && npm run test:tsc:cleanup", "test:tsc:clean-fake": "rm -f node_modules/react-hyperscript-helpers", "test:tsc:fake-install": "npm run test:tsc:clean-fake && ln -s .. node_modules/react-hyperscript-helpers", "test:tsc:compile": "tsc test/type-definitions.ts --module commonjs", "test:tsc:cleanup": "npm run test:tsc:clean-fake && rm test/type-definitions.js", "prepublish": "npm run clean && npm run build", "postversion": "git push && git push --tags", "clean": "rimraf lib" }, "keywords": [ "hyperscript", "react", "jsx", "hyperscript-helpers", "react-hyperscript", "react-hyperscript-helpers" ], "author": "Jim Hessin <jhessin@gmail.com> & Tyler Graham <tyler.graham.prog@gmail.com>", "repository": "github:jhessin/react-hyperscript-helpers", "license": "ISC", "devDependencies": { "babel-cli": "^6.5.1", "babel-core": "^6.2.1", "babel-preset-es2015": "^6.1.18", "babel-preset-stage-2": "^6.1.18", "chai": "^3.4.1", "eslint": "^2.7.0", "eslint-config-airbnb": "^6.2.0", "eslint-plugin-react": "^4.2.3", "mocha": "^2.3.4", "rimraf": "^2.4.4", "typescript": "^1.7.5" }, "peerDependencies": { "react": ">=0.13.0" } }