UNPKG

react-typeahead

Version:

React-based typeahead and typeahead-tokenizer

78 lines (77 loc) 2.46 kB
{ "name": "react-typeahead", "version": "2.0.0-alpha.8", "description": "React-based typeahead and typeahead-tokenizer", "keywords": [ "react", "typeahead", "tokenizer", "autocomplete", "react-component" ], "homepage": "https://github.com/fmoo/react-typeahead", "bugs": { "url": "https://github.com/fmoo/react-typeahead/issues", "email": "ruibalp@gmail.com" }, "license": "ISC", "author": { "name": "Peter Ruibal", "email": "ruibalp@gmail.com", "url": "https://github.com/fmoo" }, "contributors": [ { "name": "Sam Breed", "email": "sam@quickleft.com", "url": "http://wookiehangover.com" } ], "repository": { "type": "git", "url": "https://github.com/fmoo/react-typeahead.git" }, "dependencies": { "classnames": "^1.2.0", "create-react-class": "^15.5.2", "fuzzy": "^0.1.0", "prop-types": "^15.5.10" }, "peerDependencies": { "react": ">= 0.14" }, "main": "lib/react-typeahead.js", "devDependencies": { "babel-preset-react": "^6.5.0", "babelify": "^7.2.0", "browserify": "^8.0.2", "chai": "^1.9.1", "es5-shim": "^4.0.1", "gulp": "^3.8.7", "gulp-babel": "^6.1.2", "gulp-mocha-phantomjs": "^0.8.1", "literalify": "^0.4.0", "lodash": "^2.4.1", "mocha": "^1.21.4", "react-tools": "^0.13.3", "sinon": "^1.10.3", "watchify": "^2.2.1" }, "scripts": { "test": "npm run build-test && gulp test", "watchify-test": "watchify test/main.js -t [ babelify --presets [ react ] ] -o test/bundle.js -v", "build-test": "browserify test/main.js -t [ babelify --presets [ react ] ] -o test/bundle.js", "build": "browserify ./src/react-typeahead.js -t [ babelify --presets [ react ] ] -t literalify -x react -s ReactTypeahead -o ./dist/react-typeahead.js", "watchify": "watchify ./src/react-typeahead.js -t [ babelify --presets [ react ] ] -t literalify -x react -s ReactTypeahead -o ./dist/react-typeahead.js", "react:14": "npm i react@0.14 react-dom@0.14 react-addons-test-utils@0.14", "react:15": "npm i react@15 react-dom@15 react-addons-test-utils@15", "test:react:14": "npm run react:14 && npm test", "test:react:15": "npm run react:15 && npm test", "test:all": "npm run test:react:14 && npm run test:react:15", "lib": "gulp build", "prepublish": "npm run lib" }, "literalify": { "react": "window.React || require('react')" } }