-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
84 lines (84 loc) · 2.48 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
{
"name": "storybook-addon-code-editor",
"version": "3.2.0",
"description": "A Storybook add-on for live editing stories. Supports React and TypeScript.",
"keywords": [
"storybook-addons",
"code-editor"
],
"repository": {
"type": "git",
"url": "https://github.com/JeremyRH/storybook-addon-code-editor"
},
"author": "JeremyRH <holcomb227@gmail.com>",
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./dist/es/index.d.ts",
"import": "./dist/es/index.js",
"require": "./dist/cjs/index.js"
},
"./getStaticDirs": {
"types": "./dist/es/getStaticDirs.d.ts",
"import": "./dist/es/getStaticDirs.js",
"require": "./dist/cjs/getStaticDirs.js"
},
"./manager": "./dist/es/manager.js",
"./package.json": "./package.json"
},
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"types": "dist/es/index.d.ts",
"files": [
"dist",
"manager.js"
],
"scripts": {
"build": "node scripts/rm.js dist && tsc --outDir dist/es && babel src --out-dir dist/cjs --extensions '.ts,.tsx' && node scripts/post-build.js",
"format": "prettier src example/src --write",
"start:example": "npm run build && cd example && npm i ../storybook-addon-code-editor-0.0.0.tgz && npm run storybook:dev",
"build:example": "npm run build && cd example && npm i ../storybook-addon-code-editor-0.0.0.tgz && npm run storybook:build",
"test": "jest src"
},
"dependencies": {
"@babel/standalone": "^7.26.4",
"@storybook/components": "^8.4.7",
"@storybook/manager-api": "^8.4.7",
"@storybook/types": "^8.4.7",
"monaco-editor": "0.50.0"
},
"peerDependencies": {
"@types/react": "17.x.x || 18.x.x || 19.x.x",
"react": "17.x.x || 18.x.x || 19.x.x"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.16",
"@types/react-dom": "^18.3.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.7.2"
},
"storybook": {
"displayName": "Addon Code Editor",
"supportedFrameworks": [
"react"
]
}
}