-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
83 lines (83 loc) · 2.42 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
{
"name": "storybook-addon-code-editor",
"version": "3.0.1",
"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",
"getStaticDirs.js",
"getStaticDirs.d.ts"
],
"scripts": {
"build": "node scripts/rm.js dist && tsc --outDir dist/es && babel src --out-dir dist/cjs --extensions '.ts,.tsx' && node scripts/npmPackDev.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.24.5",
"@storybook/components": "^8.1.1",
"@storybook/manager-api": "^8.1.1",
"@storybook/types": "^8.1.1",
"monaco-editor": "^0.48.0"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0",
"react": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.24.5",
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@testing-library/react": "^15.0.7",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.2.5",
"react": "^18.3.1",
"typescript": "^5.4.5"
},
"storybook": {
"displayName": "Addon Code Editor",
"supportedFrameworks": [
"react"
]
}
}