motion-start 0.1.1 → 0.1.3

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 (1) hide show
  1. package/package.json +15 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motion-start",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Svelte animation library inspired by the React library framer-motion.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -13,13 +13,23 @@
13
13
  },
14
14
  "type": "module",
15
15
  "files": [
16
- "dist"
16
+ "dist",
17
+ "!dist/**/*.test.*",
18
+ "!dist/**/*.spec.*"
17
19
  ],
18
- "main": "./dist/index.js",
19
- "bin": "./dist/index.js",
20
+ "module": "./dist/index.js",
20
21
  "svelte": "./dist/index.js",
21
22
  "types": "./dist/index.d.ts",
22
- "exports": "./dist/index.js",
23
+ "exports": {
24
+ ".": {
25
+ "types": "./dist/index.d.ts",
26
+ "svelte": "./dist/index.js"
27
+ },
28
+ "./MotionSSR.svelte": {
29
+ "types": "./dist/motion/MotionSSR.svelte.d.ts",
30
+ "svelte": "./dist/motion/MotionSSR.svelte"
31
+ }
32
+ },
23
33
  "scripts": {
24
34
  "dev": "vite dev",
25
35
  "build": "vite build && bun --bun package",