Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psmyrdek/ng-manifest
Generate JSON manifest based on Angular build artifacts
https://github.com/psmyrdek/ng-manifest
angular bundle front-end json manifest
Last synced: about 1 month ago
JSON representation
Generate JSON manifest based on Angular build artifacts
- Host: GitHub
- URL: https://github.com/psmyrdek/ng-manifest
- Owner: psmyrdek
- License: mit
- Created: 2020-03-27T13:19:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T16:26:22.000Z (about 2 years ago)
- Last Synced: 2024-10-28T12:39:19.196Z (3 months ago)
- Topics: angular, bundle, front-end, json, manifest
- Language: HTML
- Homepage:
- Size: 2.12 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ng-manifest
Generate JSON manifest based on Angular build artifacts
## Installation
`npm install ng-manifest --save-dev`
## Usage
```
$ ng-manifest --rootOptions:
--root [required] Angular project root
--output [optional] Output directory. Default ${root}/dist
```## Output
```json
{
"stats": {
"js": {
"legacy": [
{
"src": "runtime-es5.6a940273ca5e26c05ba0.js",
"type": "text"
},
{
"src": "polyfills-es5.aaacd79a041f45949317.js",
"type": "text"
},
{
"src": "scripts.634b7bd385f188694b28.js",
"type": "text"
},
{
"src": "vendor-es5.c259679667c7ac672a6f.js",
"type": "text"
},
{
"src": "main-es5.7776ac510f3b474d036e.js",
"type": "text"
}
],
"modern": [
{
"src": "runtime-es2015.6a940273ca5e26c05ba0.js",
"type": "module"
},
{
"src": "polyfills-es2015.7d43a779b0c7e0afb61f.js",
"type": "module"
},
{
"src": "scripts.634b7bd385f188694b28.js",
"type": "text"
},
{
"src": "vendor-es2015.c259679667c7ac672a6f.js",
"type": "module"
},
{
"src": "main-es2015.7776ac510f3b474d036e.js",
"type": "module"
}
],
"files": {
"runtimeES5": "runtime-es5.6a940273ca5e26c05ba0.js",
"runtimeES2015": "runtime-es2015.6a940273ca5e26c05ba0.js",
"polyfillsES5": "polyfills-es5.aaacd79a041f45949317.js",
"polyfillsES2015": "polyfills-es2015.7d43a779b0c7e0afb61f.js",
"vendorES5": "vendor-es5.c259679667c7ac672a6f.js",
"vendorES2015": "vendor-es2015.c259679667c7ac672a6f.js",
"mainES5": "main-es5.7776ac510f3b474d036e.js",
"mainES2015": "main-es2015.7776ac510f3b474d036e.js",
"scripts": "scripts.634b7bd385f188694b28.js"
}
},
"css": "styles.3d39eed1adc54183abac.css"
}
}
```## Credits
Special thanks to [@smartrecruiters](https://github.com/smartrecruiters)