now supporting proper react-native-compatible browserification/babelification
This commit is contained in:
parent
b81147aa40
commit
d32aa03e66
11
package.json
11
package.json
|
@ -4,7 +4,8 @@
|
|||
"description": "randomBytes for react-native",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"babelify": "mkdir -p browser && ./node_modules/.bin/browserify --exclude react-native -t [ babelify --presets [ react es2015 ] ] ./index.js | sed -e 's/require/bitgoReq/g' > ./browser/react_index.js"
|
||||
},
|
||||
"keywords": [
|
||||
"react-component",
|
||||
|
@ -18,5 +19,11 @@
|
|||
"sjcl": "^1.0.3"
|
||||
},
|
||||
"author": "Mark Vayngrib <mark.vayngrib@lablz.com> (http://github.com/mvayngrib)",
|
||||
"license": "ISC"
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"babel-preset-es2015": "^6.3.13",
|
||||
"babel-preset-react": "^6.3.13",
|
||||
"babelify": "^7.2.0",
|
||||
"browserify": "^13.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue