pcm-shared-components 0.0.1

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 (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +54 -0
package/README.md ADDED
@@ -0,0 +1,4 @@
1
+ # Tailwind 3 With Storybook Example
2
+
3
+ This is a hacky but working example of tailwind 3 in storybook.
4
+ [Please refer to this issue before copying anything in this repo](https://github.com/tailwindlabs/tailwindcss/issues/6314)
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "pcm-shared-components",
3
+ "version": "0.0.1",
4
+ "main": "dist/index.cjs.js",
5
+ "module": "dist/index.es.js",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "require": "./dist/index.cjs.js",
10
+ "import": "./dist/index.es.js"
11
+ },
12
+ "./dist/style.css": "./dist/style.css"
13
+ },
14
+ "sideEffects": false,
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "scripts": {
19
+ "publish": "npm publish",
20
+ "storybook": "start-storybook -p 6006",
21
+ "build-storybook": "build-storybook"
22
+ },
23
+ "peerDependencies": {
24
+ "react": "^17.0.2",
25
+ "react-dom": "^17.0.2",
26
+ "tailwindcss": "^3.0.1"
27
+ },
28
+ "devDependencies": {
29
+ "@babel/core": "^7.16.0",
30
+ "@storybook/addon-actions": "^6.4.9",
31
+ "@storybook/addon-essentials": "^6.4.9",
32
+ "@storybook/addon-links": "^6.4.9",
33
+ "@storybook/react": "^6.4.9",
34
+ "autoprefixer": "^10.4.0",
35
+ "babel-loader": "^8.2.3",
36
+ "postcss": "^8.4.4",
37
+ "react": "^17.0.2",
38
+ "react-dom": "^17.0.2",
39
+ "sass": "^1.32.6",
40
+ "tailwindcss": "^3.0.1",
41
+ "tailwindcss-dir": "^4.0.0",
42
+ "@storybook/addon-postcss": "^2.0.0",
43
+ "postcss-import": "^14.0.2"
44
+ },
45
+ "dependencies": {
46
+ "@mdi/js": "^6.5.95",
47
+ "@mdi/react": "^1.5.0",
48
+ "@mdx-js/loader": "^2.0.0",
49
+ "@mui/icons-material": "^5.3.1",
50
+ "@mui/material": "^5.3.1",
51
+ "@mui/styles": "^5.3.0",
52
+ "moment": "^2.29.1"
53
+ }
54
+ }