rn-config-env
Version:
Expose config variables to React Native apps
126 lines (125 loc) • 2.48 kB
JSON
{
"name": "rn-config-env",
"version": "1.1.3",
"description": "Expose config variables to React Native apps",
"scripts": {
"lint": "xo",
"lint:fix": "xo --fix",
"test": "jest",
"publish": "npm publish --access public"
},
"keywords": [
"12factor",
"android",
"babel",
"babel-plugin",
"config",
"config-var",
"dotenv-flow",
"dotenv",
"env",
"ios",
"react",
"react-native",
"windows"
],
"homepage": "https://github.com/arifr007/rn-config-env",
"main": "index.js",
"contributors": [
"Arif R <r07.arif@gmail.com> (https://github.com/arifr007)"
],
"repository": {
"type": "git",
"url": "https://github.com/arifr007/rn-config-env"
},
"private": false,
"author": "Arif R",
"files": [
"android/",
"ios/",
"windows/",
"index.js",
"rn-config-env.podspec",
"!.*ignore"
],
"license": "MIT",
"dependencies": {
"dotenv": "^16.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.7",
"@semantic-release/git": "^9.0.0",
"codecov": "^3.8.3",
"jest": "27.5.1",
"jest-junit": "^13.0.0",
"semantic-release": "^17.0.4",
"xo": "^0.48.0"
},
"peerDependencies": {
"react-native-windows": ">=0.61"
},
"peerDependenciesMeta": {
"react-native-windows": {
"optional": true
}
},
"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"
}
}
]
}
}