@kitmi/config
Version:
JavaScript env-aware config system
68 lines • 1.62 kB
JSON
{
"name": "@kitmi/config",
"version": "1.3.0",
"description": "JavaScript env-aware config system",
"main": "cjs/index.js",
"module": "src/index.js",
"react-native": "src/index.js",
"exports": {
".": {
"import": "./src/index.js",
"require": "./cjs/index.js"
},
"./*": {
"import": "./src/*.js",
"require": "./cjs/*.js"
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"author": "Rockie Guo <rockie@kitmi.com.au>",
"repository": {
"type": "git",
"url": "git+https://github.com/kitmi/jacaranda.git"
},
"license": "MIT",
"keywords": [
"kit",
"kitmi",
"jacaranda",
"env",
"node",
"config",
"json",
"yml"
],
"nyc": {
"exclude": [
".*",
"cjs",
"test",
"**/*.spec.js"
]
},
"dependencies": {
"yaml": "^2.3.4",
"@kitmi/utils": "^1.3.0"
},
"prettier": {
"quoteProps": "consistent",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 4,
"useTabs": false
},
"scripts": {
"test": "mocha --recursive test/**/*.spec.js",
"doc": "jsdoc --configure .jsdoc.json --verbose && node ../../scripts/prepack.js",
"cover": "nyc --reporter=html --reporter=text mocha --recursive test/**/*.spec.js && open ./coverage/index.html",
"prettier": "prettier --write .",
"lint": "eslint \"**/*.js\"",
"lint-fix": "eslint \"**/*.js\" --fix",
"clean": "shx rm -rf cjs coverage .nyc_output",
"build": "pnpm clean && swc ./src -d ./cjs --strip-leading-paths"
}
}