https://github.com/loyep/pkg-compile
Dependent prepackaged
https://github.com/loyep/pkg-compile
Last synced: 4 months ago
JSON representation
Dependent prepackaged
- Host: GitHub
- URL: https://github.com/loyep/pkg-compile
- Owner: loyep
- License: mit
- Created: 2022-04-16T08:17:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-18T17:57:51.000Z (about 2 years ago)
- Last Synced: 2025-02-15T11:46:53.824Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 323 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Pkg-Compile
Inspired by [umi4](https://www.yuque.com/seeconf/2022/ibm88n#z4sct).
## Usage
### Installation
```bash
npm i -g pkg-compile
```### Usage
Create the `compiled.json` file:
```bash
touch compiled.json
```File the content of the `compiled.json` file:
```bash
{
"deps": [
"chalk",
"cross-spawn",
"fs-extra",
"glob",
"lodash",
"pkg-up"
],
"externals": {
"fs-extra": "$$LOCAL"
}
}```
Then can use the `pkg-compile` command:
```bash
pkg-compile
```## LICENSE
[MIT](./LICENSE)