@jahia/scripts
v1.3.6
Published
In your project:
Downloads
408
Keywords
Readme
Jahia internal build script
Install
In your project:
yarn add @jahia/scripts
Then add in your package.json
those scripts:
"scripts": {
"babel:js": "jahia-babel-js",
"babel:module": "jahia-babel-module",
"react2dts": "jahia-react2dts",
"publish-script": "jahia-publish",
"prepare-build": "jahia-prepare-build",
"build": "jahia-build",
"build-umd": "jahia-build-umd"
}
Usage
Once installed the following scripts are available and can be used in package.json :
- jahia-babel-js : generates transpiled JS files in build/js folder, used for "main" entry
- jahia-babel-module : generates transpiled JS files, keeping module import/exports, in build/esm folder, used for "module" entry
- jahia-prepare-build : copy d.ts and resource files to builds directories
- jahia-build : calls jahia-prepare-build , jahia-babel-js and jahia-babel-module
- jahia-publish : publish the module ( deprecated )
- jahia-react2dts : just call react2dts to generate typings from react component
- jahia-build-umd : build the umd file based on rollup ( deprecated )
Author
👤 Jahia
🤝 Contributing
Contributions, issues and feature requests are welcome!Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2019 Jahia. This project is JAHIA'S DUAL LICENSING licensed.
This README was generated with ❤️ by readme-md-generator