@abhir9/pd-design-system 0.1.0 → 0.1.2

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": "@abhir9/pd-design-system",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Production-grade design system with adapter layer support",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -10,14 +10,17 @@
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
12
12
  "import": "./dist/index.js",
13
- "require": "./dist/index.cjs"
13
+ "require": "./dist/index.cjs",
14
+ "default": "./dist/index.cjs"
14
15
  },
15
- "./styles": "./dist/styles.css",
16
+ "./styles": "./dist/index.css",
16
17
  "./tokens": {
17
18
  "types": "./dist/tokens/index.d.ts",
18
19
  "import": "./dist/tokens/index.js",
19
- "require": "./dist/tokens/index.cjs"
20
- }
20
+ "require": "./dist/tokens/index.cjs",
21
+ "default": "./dist/tokens/index.cjs"
22
+ },
23
+ "./package.json": "./package.json"
21
24
  },
22
25
  "files": [
23
26
  "dist",
@@ -28,7 +31,8 @@
28
31
  "scripts": {
29
32
  "storybook": "storybook dev -p 6006",
30
33
  "build-storybook": "storybook build",
31
- "build": "tsup",
34
+ "build": "npm run build:css && tsup",
35
+ "build:css": "postcss src/styles.css -o dist/index.css",
32
36
  "dev": "tsup --watch",
33
37
  "type-check": "tsc --noEmit",
34
38
  "lint": "eslint src --ext .ts,.tsx",
@@ -128,6 +132,7 @@
128
132
  "jsdom": "^23.0.1",
129
133
  "pa11y-ci": "^3.0.1",
130
134
  "postcss": "^8.4.33",
135
+ "postcss-cli": "^11.0.1",
131
136
  "react": "^18.2.0",
132
137
  "react-dom": "^18.2.0",
133
138
  "storybook": "^7.6.17",