@scalably/ui 0.9.8 → 0.9.9

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalably/ui",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "description": "Scalably Design System - Shared UI Components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -29,17 +29,26 @@
29
29
  "**/*.css"
30
30
  ],
31
31
  "scripts": {
32
- "build": "tsup && npm run build:css && npm run generate:styles-inline",
32
+ "prepare-styles": "npm run build:css && npm run generate:styles-inline",
33
33
  "build:css": "tailwindcss -c tailwind.config.js -i ./src/styles.css -o ./dist/styles.css --minify",
34
34
  "generate:styles-inline": "node scripts/generate-styles-inline.js",
35
+ "prebuild": "npm run prepare-styles",
36
+ "build": "tsup",
37
+ "predev": "npm run prepare-styles",
35
38
  "dev": "tsup --watch",
36
- "storybook": "npm run build:css && npm run generate:styles-inline && storybook dev -p 6006",
39
+ "prestorybook": "npm run prepare-styles",
40
+ "storybook": "storybook dev -p 6006",
41
+ "prebuild-storybook": "npm run prepare-styles",
37
42
  "build-storybook": "storybook build",
38
43
  "lint": "eslint src",
39
44
  "lint:fix": "eslint src --fix",
45
+ "pretype-check": "npm run prepare-styles",
40
46
  "type-check": "tsc --noEmit",
47
+ "pretest": "npm run prepare-styles",
41
48
  "test": "vitest --environment jsdom",
49
+ "pretest:watch": "npm run prepare-styles",
42
50
  "test:watch": "vitest --environment jsdom --watch",
51
+ "pretest:ci": "npm run prepare-styles",
43
52
  "test:ci": "vitest --environment jsdom --run --coverage",
44
53
  "verify": "bash scripts/verify.sh",
45
54
  "test-push": "npm run build && yalc push",