animl 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,12 +12,12 @@ npm install animl
12
12
  ## In a page, no build step
13
13
 
14
14
  ```html
15
- <script type="module" src="https://cdn.jsdelivr.net/npm/animl@0.1.0/packages/web/dist/anima-icon.js"></script>
15
+ <script type="module" src="https://cdn.jsdelivr.net/npm/animl@0.1.1/packages/web/dist/anima-icon.js"></script>
16
16
  <anima-icon src="bell.ani" style="width: 48px; height: 48px"></anima-icon>
17
17
  ```
18
18
 
19
19
  `anima-icon.js` is the base runtime; optional modules have their own bundles next to it
20
- (`anima-paint.js`, `anima-machine.js`, `anima-input.js`, …). `npx anima bundle --modules paint,input`
20
+ (`anima-paint.js`, `anima-machine.js`, `anima-input.js`, …). `npx -p animl-cli anima bundle --modules paint,input`
21
21
  (from [animl-cli](https://www.npmjs.com/package/animl-cli)) builds one file with just the modules a scene needs.
22
22
 
23
23
  ## With a bundler
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "animl",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Anima runtime, AniML compiler, web component, and optional modules.",
5
5
  "license": "MIT",
6
6
  "type": "module",