2023-03-13 08:24:20 +00:00
|
|
|
# babel-preset-amigo
|
|
|
|
|
|
|
|
|
|
A shared babel config for [CDR Tech][cdrtech].
|
|
|
|
|
|
|
|
|
|
# Install
|
|
|
|
|
|
|
|
|
|
We recommend using [@digiresilience/amigo-dev][amigo-dev] to manage your dev dependencies.
|
|
|
|
|
|
|
|
|
|
[amigo-dev]: https://gitlab.com/digiresilience/link/amigo-dev
|
|
|
|
|
|
|
|
|
|
But if you want to do it manually, then:
|
|
|
|
|
|
|
|
|
|
```console
|
2023-06-21 12:48:07 +00:00
|
|
|
$ npm install --save-dev @digiresilience/babel-preset-amigo
|
2023-03-13 08:24:20 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
|
|
**`babel.config.json`**
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"presets": [
|
|
|
|
|
"@digiresilience/babel-preset-amigo"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# Credits
|
|
|
|
|
|
|
|
|
|
Copyright © 2020-present [Center for Digital Resilience][cdr]
|
|
|
|
|
|
|
|
|
|
### Contributors
|
|
|
|
|
|
|
|
|
|
| [![Abel Luck][abelxluck_avatar]][abelxluck_homepage]<br/>[Abel Luck][abelxluck_homepage] |
|
|
|
|
|
|---|
|
|
|
|
|
|
|
|
|
|
[abelxluck_homepage]: https://gitlab.com/abelxluck
|
|
|
|
|
[abelxluck_avatar]: https://secure.gravatar.com/avatar/0f605397e0ead93a68e1be26dc26481a?s=100&d=identicon
|
|
|
|
|
|
|
|
|
|
### License
|
|
|
|
|
|
|
|
|
|
[](https://www.gnu.org/licenses/agpl-3.0.en.html)
|
|
|
|
|
|
|
|
|
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
|
|
|
Version 3, 19 November 2007
|
|
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU Affero General Public License as
|
|
|
|
|
published by the Free Software Foundation, either version 3 of the
|
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
[cdrtech]: https://digiresilience.org/tech/
|
|
|
|
|
[cdr]: https://digiresilience.org
|