Browse Source

Added the configuration of the package managers

tags/v1.0.0
Cédric Belin 1 month ago
parent
commit
c90e5b3479
4 changed files with 102 additions and 1 deletions
  1. +1
    -1
      CHANGELOG.md
  2. +41
    -0
      composer.json
  3. +12
    -0
      haxelib.json
  4. +48
    -0
      package.json

+ 1
- 1
CHANGELOG.md View File

@@ -1,4 +1,4 @@
# Changelog

## Version 0.1.0
## Version 1.0.0
- Initial release.

+ 41
- 0
composer.json View File

@@ -0,0 +1,41 @@
{
"description": "Find the instances of an executable in the system path. Like the `which` Linux command.",
"homepage": "https://docs.belin.io/which.hx",
"license": "MIT",
"name": "cedx/which.hx",
"type": "library",
"version": "1.0.0",
"authors": [
{"email": "cedric@belin.io", "homepage": "https://belin.io", "name": "Cédric Belin"}
],
"autoload": {
"psr-4": {"which\\": "lib/php/which/"}
},
"bin": [
"bin/which"
],
"config": {
"optimize-autoloader": true
},
"funding": [
{"type": "patreon", "url": "https://www.patreon.com/cedx"}
],
"keywords": [
"find",
"path",
"system",
"utility",
"which"
],
"require": {
"php": ">=7.0.0",
"cedx/haxe": "^0.3.0"
},
"scripts": {
"test": "haxe --define php-lib=php --php lib test.hxml && php lib/index.php"
},
"support": {
"docs": "https://api.belin.io/which.hx",
"issues": "https://git.belin.io/cedx/which.hx/issues"
}
}

+ 12
- 0
haxelib.json View File

@@ -0,0 +1,12 @@
{
"classPath": "src/",
"contributors": ["cedx"],
"description": "Find the instances of an executable in the system path. Like the `which` Linux command.",
"license": "MIT",
"main": "Program",
"name": "which",
"releasenote": "Initial release.",
"tags": ["find", "path", "system", "utility", "which"],
"url": "https://docs.belin.io/which.hx",
"version": "1.0.0"
}

+ 48
- 0
package.json View File

@@ -0,0 +1,48 @@
{
"bugs": "https://git.belin.io/cedx/which.hx/issues",
"description": "Find the instances of an executable in the system path. Like the `which` Linux command.",
"homepage": "https://docs.belin.io/which.hx",
"license": "MIT",
"main": "./lib/js/index.js",
"name": "@cedx/which.hx",
"type": "commonjs",
"types": "./lib/js/index.d.ts",
"version": "1.0.0",
"author": {
"email": "cedric@belin.io",
"name": "Cédric Belin",
"url": "https://belin.io"
},
"bin": {
"which": "./bin/which.js"
},
"engines": {
"node": ">=14.0.0"
},
"exports": {
"import": "./lib/js/index.mjs",
"require": "./lib/js/index.js"
},
"files": [
"lib/js/"
],
"funding": {
"type": "patreon",
"url": "https://www.patreon.com/cedx"
},
"keywords": [
"find",
"path",
"system",
"utility",
"which"
],
"repository": {
"type": "git",
"url": "https://git.belin.io/cedx/which.hx.git"
},
"scripts": {
"prepack": "pwsh tool/dist.ps1",
"test": "haxe --define js-es=6 --js var/tests.js --library hxnodejs test.hxml && node var/tests.js"
}
}

Loading…
Cancel
Save