@openally/config
Version:
Reactive configuration loader
48 lines (47 loc) • 1.1 kB
JSON
{
"name": "@openally/config",
"version": "1.1.0",
"description": "Reactive configuration loader",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"type": "module",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"prepublishOnly": "npm run build",
"test-only": "glob -c \"tsx --test\" \"./test/**/*.test.ts\"",
"test": "c8 --all --src ./src -r html npm run test-only",
"lint": "cross-env eslint src/**/*.ts"
},
"files": [
"dist"
],
"keywords": [
"openally",
"config",
"json",
"schema",
"safe",
"loader",
"observable",
"reactive",
"hotreload"
],
"author": "GENTILHOMME Thomas <gentilhomme.thomas@gmail.com>",
"license": "MIT",
"dependencies": {
"ajv": "^8.17.1",
"smol-toml": "^1.2.2",
"zen-observable": "^0.10.0"
},
"devDependencies": {
"@types/zen-observable": "^0.8.7"
}
}