UNPKG

react-native-dotenv

Version:

Load environment variables using import statements.

97 lines (96 loc) 2.07 kB
{ "name": "react-native-dotenv", "version": "3.3.0", "description": "Load environment variables using import statements.", "repository": "github:goatandsheep/react-native-dotenv", "homepage": "https://github.com/goatandsheep/react-native-dotenv", "bugs": "https://github.com/goatandsheep/react-native-dotenv/issues", "main": "index.js", "scripts": { "lint": "xo", "lint:fix": "xo --fix", "test": "jest" }, "keywords": [ "dotenv", "babel-plugin", "babel", "dotenv-flow", "react", "react-native", "config", "env", "12factor" ], "dependencies": { "dotenv": "^10.0.0" }, "devDependencies": { "@babel/core": "7.15.5", "codecov": "^3.8.2", "jest": "27.2.4", "jest-junit": "^13.0.0", "xo": "^0.46.3" }, "author": "Kemal Ahmed", "license": "MIT", "jest": { "testEnvironment": "node", "testPathIgnorePatterns": [ "/node_modules/", "/__fixtures__/" ], "reporters": [ "default", [ "jest-junit", { "outputDirectory": "reports/tests" } ] ], "collectCoverage": true, "collectCoverageFrom": [ "index.js" ], "coverageReporters": [ "lcov", "text-summary" ] }, "xo": { "semicolon": false, "space": 2, "overrides": [ { "files": "**/*", "rules": { "unicorn/prefer-module": "off", "node/prefer-global/process": "off" } }, { "files": "__tests__/**/*.js", "env": [ "jest" ] }, { "files": "__tests__/__fixtures__/**/*.js", "rules": { "import/no-unresolved": [ "error", { "ignore": [ "@env", "foo" ] } ], "unicorn/import-style": "off", "no-unused-vars": "off" } } ] } }