UNPKG

react-native-safe-modules

Version:

A safe way to consume React Native NativeModules (forked from react-native-safe-module by @lelandrichardson)

55 lines (54 loc) 1.76 kB
{ "name": "react-native-safe-modules", "version": "1.0.3", "description": "A safe way to consume React Native NativeModules (forked from react-native-safe-module by @lelandrichardson)", "main": "lib/index.js", "scripts": { "prepublish": "npm run --silent build", "build": "rm -rf lib && babel -d lib src", "lint": "eslint ./src ./test", "test": "npm run --silent lint && npm run --silent test:all", "test:all": "npm run --silent test:base -- --recursive test/", "test:watch": "npm run --silent test:base -- --recursive test/ --watch", "test:base": "mocha --require ./test/_setup.js --require react-native-mock/mock.js --compilers js:babel-core/register" }, "repository": { "type": "git", "url": "git+https://github.com/emilioicai/react-native-safe-modules.git" }, "keywords": [ "react-native", "react", "native-modules", "code-push" ], "author": "Emilio Rodriguez <emiliorodriguez@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/emilioicai/react-native-safe-modules/issues" }, "homepage": "https://github.com/emilioicai/react-native-safe-modules#readme", "peerDependencies": { "react-native": "*" }, "dependencies": { "dedent": "^0.6.0" }, "devDependencies": { "babel-cli": "^6.14.0", "babel-core": "^6.14.0", "babel-preset-react-native": "^1.9.0", "chai": "^3.5.0", "eslint": "^4.18.2", "eslint-config-airbnb": "^11.0.0", "eslint-plugin-import": "^1.14.0", "eslint-plugin-jsx-a11y": "^2.2.1", "eslint-plugin-react": "^6.2.0", "mocha": "^3.0.2", "react": "^15.2.0", "react-native": "^0.30.0", "react-native-mock": "^0.2.6", "sinon": "^1.17.5", "sinon-chai": "^2.8.0" } }