env-var-base
Version:
Base configuration class that uses env-var and dotenv
102 lines (101 loc) • 2.31 kB
JSON
{
"name": "env-var-base",
"version": "1.4.0",
"description": "Base configuration class that uses env-var and dotenv",
"keywords": [
"config",
"env-var",
"dotenv",
"typescript"
],
"main": "lib/env-var-base.js",
"types": "lib/env-var-base.d.ts",
"files": [
"lib"
],
"author": "glebbash <glebbash@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/glebbash/env-var-base"
},
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"lint": "eslint --fix 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf lib",
"build": "tsc",
"build:docs": "typedoc --out docs src/env-var-base.ts",
"test": "jest --coverage",
"test:prod": "npm run lint && npm run test -- --no-cache"
},
"peerDependencies": {
"dotenv": ">= 8",
"env-var": ">= 7"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"eslint --fix"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "17.0.1",
"@commitlint/config-conventional": "17.0.0",
"@types/jest": "27.5.1",
"@types/node": "^17.0.35",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"dotenv": "16.0.1",
"env-var": "^7.1.1",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"jest": "28.1.0",
"jest-config": "28.1.0",
"lint-staged": "^12.4.2",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.2",
"ts-jest": "^28.0.3",
"typedoc": "^0.22.15",
"typescript": "^4.7.2"
}
}