@adonisjs/fold
Version:
A simple and straight forward implementation for IoC container in JavaScript
145 lines (144 loc) • 3.84 kB
JSON
{
"name": "@adonisjs/fold",
"version": "10.1.3",
"description": "A simple and straight forward implementation for IoC container in JavaScript",
"type": "module",
"main": "build/index.js",
"files": [
"build",
"!build/benchmarks",
"!build/bin",
"!build/tests"
],
"engines": {
"node": ">=18.16.0"
},
"imports": {
"#controllers/*": "./tests/app/controllers/*.js",
"#middleware/*": "./tests/app/middleware/*.js",
"#services/*": "./build/benchmarks/services/*.js"
},
"exports": {
".": "./build/index.js",
"./types": "./build/src/types.js"
},
"scripts": {
"pretest": "npm run lint",
"test": "cross-env NODE_DEBUG=adonisjs:fold c8 npm run quick:test",
"quick:test": "node --import=ts-node-maintained/register/esm bin/test.ts",
"citgm": "cross-env FORCE_COLOR=0 npm run quick:test",
"clean": "del-cli build",
"benchmark": "npm run build && node build/benchmarks/module_expression.js && node build/benchmarks/module_importer.js",
"typecheck": "tsc --noEmit",
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"build": "npm run compile",
"release": "release-it",
"version": "npm run build",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"format": "prettier --write .",
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/fold"
},
"license": "MIT",
"keywords": [
"ioc",
"container",
"dependency-injection",
"di"
],
"author": "Harminder Virk <virk@adonisjs.com>",
"devDependencies": {
"@adonisjs/eslint-config": "^1.3.0",
"@adonisjs/prettier-config": "^1.4.0",
"@adonisjs/tsconfig": "^1.4.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@japa/assert": "^3.0.0",
"@japa/file-system": "^2.3.0",
"@japa/runner": "^3.1.4",
"@swc/core": "^1.9.3",
"@types/node": "^20.17.8",
"benchmark": "^2.1.4",
"c8": "^10.1.2",
"cross-env": "^7.0.3",
"del-cli": "^6.0.0",
"eslint": "^8.57.1",
"expect-type": "^1.1.0",
"github-label-sync": "^2.3.1",
"husky": "^9.1.7",
"p-event": "^6.0.1",
"prettier": "^3.3.3",
"reflect-metadata": "^0.2.2",
"release-it": "^17.10.0",
"ts-node-maintained": "^10.9.4",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"dependencies": {
"@poppinss/utils": "^6.8.3"
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"directories": {
"test": "tests"
},
"release-it": {
"git": {
"commitMessage": "chore(release): ${version}",
"tagAnnotation": "v${version}",
"tagName": "v${version}"
},
"github": {
"release": true,
"releaseName": "v${version}",
"web": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/adonisjs/fold.git"
},
"bugs": {
"url": "https://github.com/adonisjs/fold/issues"
},
"homepage": "https://github.com/adonisjs/fold#readme",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**"
]
},
"eslintConfig": {
"extends": "@adonisjs/eslint-config/package"
},
"prettier": "@adonisjs/prettier-config",
"tsup": {
"entry": [
"./index.ts",
"./benchmarks/module_expression.ts",
"./benchmarks/module_importer.ts",
"./benchmarks/services/comments.ts",
"./benchmarks/services/posts.ts",
"./benchmarks/services/thread.ts",
"./benchmarks/services/users.ts",
"./src/types.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": false,
"sourcemap": true,
"target": "esnext"
}
}