@zumer/orbit 1.4.12 → 1.5.0

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.
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@zumer/orbit",
3
- "version": "1.4.12",
4
- "description": "Orbit is a CSS framework for radial interfaces",
3
+ "version": "1.5.0",
4
+ "description": "Orbit builds radial interfaces with CSS geometry and a small JavaScript layout runtime",
5
5
  "main": "./dist/orbit.js",
6
+ "module": "./dist/orbit.mjs",
6
7
  "exports": {
7
- ".": "./dist/orbit.js",
8
+ ".": {
9
+ "import": "./dist/orbit.mjs",
10
+ "default": "./dist/orbit.js"
11
+ },
8
12
  "./style": "./dist/orbit.css"
9
13
  },
10
14
  "files": [
@@ -13,10 +17,14 @@
13
17
  ],
14
18
  "scripts": {
15
19
  "compile": "node esbuild.config.mjs",
20
+ "demo": "npm run compile && node scripts/demo.mjs",
16
21
  "bump:dry": "npx @zumerbox/bump -d",
17
22
  "bump": "npx @zumerbox/bump && npx @zumerbox/changelog",
18
23
  "build": "npm run compile && npm pack",
19
- "prebuild": "git add CHANGELOG.md && git commit -m \"Bumped version\" && git push --follow-tags"
24
+ "test": "npm run compile && npm run test:package && npm run test:browser && npm run test:shadow",
25
+ "test:package": "node test/package.mjs",
26
+ "test:browser": "node test/browser.mjs",
27
+ "test:shadow": "node test/shadow.mjs"
20
28
  },
21
29
  "repository": {
22
30
  "type": "git",
@@ -40,6 +48,7 @@
40
48
  "homepage": "https://github.com/zumerlab/orbit#readme",
41
49
  "devDependencies": {
42
50
  "esbuild": "^0.25.12",
51
+ "playwright": "^1.55.1",
43
52
  "sass": "^1.77.0"
44
53
  }
45
54
  }