-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
35 lines (35 loc) · 1010 Bytes
/
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
{
"description": "Easily create JS controllers for XHP elements, and XHP wrappers for React elements",
"scripts": {
"build": "npm run build:example",
"build:example": "npm run build:exampleBundle && npm run build:exampleJSX",
"build:exampleBundle": "browserify -r xhpjs -r react -r MyJSController -r MyJSModule -r MyReactClass -o build/bundle.js",
"build:exampleJSX": "jsx js/ build/"
},
"repository": {
"type": "git",
"url": "git://github.com/hhvm/xhp-js-example.git"
},
"author": "Fred Emmott",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/hhvm/xhp-js-example/issues"
},
"dependencies": {
"xhpjs": "~1.0.0",
"browserify": "~9.0.8",
"reactify": "~1.1.0",
"react": "~0.13.1",
"react-tools": "~0.13.1"
},
"browser": {
"MyJSController": "./js/MyJSController.js",
"MyJSModule": "./js/MyJSModule.js",
"MyReactClass": "./js/MyReactClass.js"
},
"browserify": {
"transform": [
"reactify"
]
}
}