Alpine.js x-init="init()"
automatically
Usage: Coming soon
- Node 10
- Yarn 1.x or npm
- Clone the repository
- Run
yarn
ornpm install
installs all required dependencies. - Run
yarn build
to build from TypeScript to common JavaScript distribution formats. - Run
yarn test
to run all tests :D.
Equivalent
npm run <script>
should also work
yarn test
run tests against built output with ava. Important: runs against build output so runyarn build
beforehand.yarn build
run build from TypeScript to UMD, CJS, ESM with microbundleyarn watch
runs build in watch mode with microbundleyarn lint
will lint all of the files with xoyarn format
will run lint with--fix
option on all the examples files (and tests).yarn release
, run clean, production build and release withnp
.
This package is maintained by Hugo from Code with Hugo and Alpine.js Weekly.
Special thanks to:
- The developers behind
Code is licensed under the MIT License.