-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
114 lines (114 loc) · 3.08 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "storybook-addon-playroom",
"version": "0.0.0-development",
"description": "Design with Playroom inside Storybook, using each story source as a starting point",
"keywords": [
"storybook-addons",
"design",
"playroom",
"react",
"jsx"
],
"homepage": "https://github.com/rbardini/storybook-addon-playroom",
"bugs": {
"url": "https://github.com/rbardini/storybook-addon-playroom/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/rbardini/storybook-addon-playroom.git"
},
"license": "MIT",
"author": {
"name": "Rafael Bardini",
"email": "[email protected]",
"url": "https://rbardini.com/"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./preview": {
"types": "./dist/index.d.ts",
"import": "./dist/preview.js",
"require": "./dist/preview.cjs"
},
"./manager": "./dist/manager.js",
"./package.json": "./package.json"
},
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"manager.js",
"preview.js",
"*.d.ts"
],
"scripts": {
"prebuild": "npm run clean",
"build": "tsup",
"postbuild": "tsup --platform node",
"build-playroom": "playroom build",
"build-storybook": "storybook build",
"build:watch": "npm run build -- --watch",
"clean": "rimraf ./dist",
"format": "prettier --ignore-path .gitignore --write .",
"format-check": "prettier --ignore-path .gitignore --check .",
"package-check": "package-check",
"playroom": "playroom",
"prepare": "husky",
"start": "concurrently \"npm run build:watch\" \"npm run storybook -- --quiet\" \"npm run playroom\"",
"storybook": "storybook dev -p 6006",
"type-check": "tsc --noEmit"
},
"dependencies": {
"playroom": "^0.38.0",
"react-element-to-jsx-string": "^15.0.0"
},
"devDependencies": {
"@skypack/package-check": "^0.2.0",
"@storybook/manager": "^8.0.0",
"@storybook/manager-api": "^8.0.0",
"@storybook/preview": "^8.0.0",
"@storybook/preview-api": "^8.0.0",
"@storybook/react": "^8.0.0",
"@storybook/react-vite": "^8.0.0",
"@storybook/theming": "^8.0.0",
"@storybook/types": "^8.0.0",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@vitejs/plugin-react": "^4.2.0",
"concurrently": "^8.0.0",
"husky": "^9.0.0",
"lint-staged": "^15.2.0",
"prettier": "^3.1.0",
"prettier-plugin-packagejson": "^2.4.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^6.0.0",
"storybook": "^8.0.0",
"style-loader": "^4.0.0",
"tsup": "^8.0.0",
"typescript": "^5.3.0",
"vite": "^5.0.0"
},
"bundler": {
"exportEntries": [
"src/index.ts"
],
"managerEntries": [
"src/manager.tsx"
],
"previewEntries": [
"src/preview.ts"
]
},
"storybook": {
"displayName": "Playroom",
"supportedFrameworks": [
"react"
],
"icon": "https://raw.githubusercontent.com/rbardini/storybook-addon-playroom/HEAD/icon.png"
}
}