-
Notifications
You must be signed in to change notification settings - Fork 229
/
package.json
77 lines (77 loc) · 2.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "react-typeahead",
"version": "2.0.0-alpha.7",
"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": "[email protected]"
},
"license": "ISC",
"author": {
"name": "Peter Ruibal",
"email": "[email protected]",
"url": "https://github.com/fmoo"
},
"contributors": [
{
"name": "Sam Breed",
"email": "[email protected]",
"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": "^4.17.19",
"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: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')"
}
}