https://github.com/newfuture/package-teams-app
Package Microsoft Teams App Manifest
https://github.com/newfuture/package-teams-app
msteams msteamsdev teams
Last synced: 8 months ago
JSON representation
Package Microsoft Teams App Manifest
- Host: GitHub
- URL: https://github.com/newfuture/package-teams-app
- Owner: NewFuture
- License: mit
- Created: 2020-12-29T03:39:46.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T11:17:20.000Z (about 3 years ago)
- Last Synced: 2025-02-01T10:49:12.994Z (8 months ago)
- Topics: msteams, msteamsdev, teams
- Language: JavaScript
- Homepage: http://newfuture.cc/package-teams-app/
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# package-teams-app
Package Microsoft Teams App Manifest
## Features
- [x] Package all files to Zip;
- [x] Replace environment variables `${VAR}` in `.json` and support `.env`;
- [x] Generate template manifest;
- [x] Validate JSON Schema;## Usage
```sh
npx package-teams-app [manifestFolder] [outputFolder]
```You can run `npm i package-teams-app -g` or `yarn global add package-teams-app` to install it globally.
## Details
### CLI options
#### package
Pacakge your manifest folder. (default name is `manifest`)
```sh
package-teams-app [inputFolder] [outputFile]
```#### `--init`
Init an template manifest folder.
```sh
package-teams-app --init [initDir]
```#### `--help`
Print help messages.
```sh
package-teams-app --help
```### Examples:
```
package-teams-app manifest
package-teams-app manifest build/download.zip
package-teams-app --init manifest
```### env order:
- `.env.${NODE_ENV}.local`
- `.env.local`
- `.env.${NODE_ENV}`
- `.env`