Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ducthienbui97/ddm
Deno dependencies manager
https://github.com/ducthienbui97/ddm
deno package-json package-manager
Last synced: about 2 months ago
JSON representation
Deno dependencies manager
- Host: GitHub
- URL: https://github.com/ducthienbui97/ddm
- Owner: ducthienbui97
- License: bsd-3-clause
- Created: 2020-05-18T05:29:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T11:45:41.000Z (over 4 years ago)
- Last Synced: 2024-10-30T01:54:35.559Z (3 months ago)
- Topics: deno, package-json, package-manager
- Language: TypeScript
- Size: 694 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deno dependencies manager - ddm
[![GitLicense](https://gitlicense.com/badge/ducthienbui97/ddm)](https://gitlicense.com/license/ducthienbui97/ddm)
[![GithubCI](https://github.com/ducthienbui97/ddm/workflows/CI/badge.svg)](https://github.com/ducthienbui97/ddm)
[![Version](https://img.shields.io/badge/version-0.0.1-blue)](https://github.com/ducthienbui97/ddm/releases)Manage your deno package with `ddm` and the good old `package.json` file.
![demo](demo.gif)
## Install
Latest released version:
```sh
deno install --allow-all -n ddm -f https://github.com/ducthienbui97/ddm/releases/download/v0.0.1/ddm.js
```or master version:
```
deno install --allow-all -n ddm -f https://raw.githubusercontent.com/ducthienbui97/ddm/bundle/bundle/ddm.js
```## Usage
### Overview
```sh
Description:
Manage you project with package.json file.
Options:
-h, --help [arg:boolean] - Show this help.
-V, --version [arg:boolean] - Show the version number for this program.
Commands:
help [command:command] - Show this help or the help of a sub-command.
completions - Generate shell completions for zsh and bash.
install [names@version...:string] - Install one or more package
run [parameters...:string] - Run 'deno run' command
cache [parameters...:string] - Run 'deno cache' command
bundle [parameters...:string] - Run 'deno bundle' command
test [parameters...:string] - Run 'deno test' command
build [parameters...:string] - Run 'build' script defined in package.json
```### `ddm install`
#### Without version:
```sh
ddm install http
```#### With version:
```sh
ddm install [email protected]
```#### Multiple package:
```sh
ddm install http log fmt
```
### `deno run/cache/bundle/test` scripts:```sh
ddm run/cache/bundle/test
```### `package.json` scripts:
package.json:
```json
{
"scripts": {
"something" : "some script",
"presomething": "some prepare script",
"postsomething": "some cleanup script"
}
}
```
run:```sh
ddm something
```
NOTE: scripts writen in `package.json` will override default commands.