@adobe/aio-app-scripts
Version:
Utility tooling scripts to build, deploy and run an Adobe I/O App
58 lines (42 loc) • 2.23 kB
Markdown
<!--
Copyright 2018 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
-->
[](https://npmjs.org/package/@adobe/aio-app-scripts)
[](https://npmjs.org/package/@adobe/aio-app-scripts)
[](https://travis-ci.com/adobe/aio-app-scripts)
[](https://opensource.org/licenses/Apache-2.0)
[](https://codecov.io/gh/adobe/aio-app-scripts/)
# AIO App Scripts
Utility tooling scripts to build, deploy and run Adobe I/O Apps
## Include as a library in your nodejs project
```bash
npm i --save @adobe/aio-app-scripts
```
```js
const appScripts = require('@adobe/aio-app-scripts')({
listeners: {
onStart: taskName => console.error(`${taskName} ...`),
onEnd: (taskName, res) => { console.error(`${taskName} done!`); if (res) console.log(res) },
onWarning: warning => console.error(warning),
onProgress: item => console.error(` > ${item}`)
}
})
appScripts.buildUI()
.then(appScripts.buildActions)
.then(appScripts.deployActions)
.then(appScripts.deployUI)
.catch(e => { console.error(e); process.exit(1) })
```
## Explore
- `goto` [API](doc/api.md)
## Contributing
Contributions are welcomed! Read the [Contributing Guide](./.github/CONTRIBUTING.md) for more information.
## Licensing
This project is licensed under the Apache V2 License. See [LICENSE](LICENSE) for more information.