@yahoo/uds 0.1.0 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
- "version": "0.1.0",
3
+ "version": "0.1.4",
4
4
  "description": "Yahoo Universal System",
5
5
  "type": "module",
6
- "main": "./dist/index.js",
6
+ "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "sideEffects": false,
10
10
  "exports": {
11
11
  ".": "./dist/index.js",
12
12
  "./fixtures": "./dist/fixtures.js",
13
+ "./styles/*": "./dist/styles/*",
13
14
  "./package.json": "./package.json"
14
15
  },
15
16
  "files": [
@@ -17,13 +18,15 @@
17
18
  "package.json"
18
19
  ],
19
20
  "devDependencies": {
20
- "@types/react": "^18.2.37",
21
- "@types/react-dom": "^18.2.15",
21
+ "@types/react": "^18.2.39",
22
+ "@types/react-dom": "^18.2.17",
23
+ "concurrently": "^8.2.2",
22
24
  "react": "^18.2.0",
23
25
  "react-dom": "^18.2.0",
24
- "tsup": "^8.0.0",
26
+ "tsup": "^8.0.1",
27
+ "tsx": "^4.6.1",
25
28
  "typescript": "^5.3.2",
26
- "eslint-config-custom": "0.0.2",
29
+ "eslint-config-custom": "0.0.4",
27
30
  "tsconfig": "0.0.1"
28
31
  },
29
32
  "dependencies": {
@@ -31,12 +34,16 @@
31
34
  "clsx": "^2.0.0",
32
35
  "tailwind-merge": "^2.0.0",
33
36
  "tailwindcss": "^3.3.5",
34
- "zod": "^3.22.4"
37
+ "zod": "^3.22.4",
38
+ "shared": "0.0.1"
35
39
  },
36
40
  "scripts": {
37
- "build": "tsup",
41
+ "build": "pnpm build:fontcss && tsup",
42
+ "build:fontcss": "tsx ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
43
+ "dev": "concurrently pnpm:dev:*",
44
+ "dev:ts": "tsup --watch",
45
+ "dev:fontcss": "tsx watch --clear-screen=false ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
38
46
  "debug:css": "tailwindcss --input ./src/tailwind/styles.css --output ./dist/styles.css --config ./src/tailwind/tailwind.config.ts",
39
- "dev": "tsup --watch",
40
47
  "lint": "eslint .",
41
48
  "test": "vitest run",
42
49
  "test:watch": "vitest",