mirror of
https://github.com/status-im/react-native-randombytes.git
synced 2026-08-27 09:01:18 +00:00
now supporting proper react-native-compatible browserification/babelification
This commit is contained in:
+9
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user