-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.98 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
{
"name": "@stackbit/storybook-addon",
"version": "1.0.2",
"description": "A storybook addons that lets you generate Stackbit models and presets from your components and stories.",
"keywords": [
"storybook-addons",
"stackbit",
"stackbit-models`",
"stackbit-presets"
],
"repository": {
"type": "git",
"url": "https://github.com/stackbit/storybook-addon.git"
},
"author": "Stackbit <[email protected]>",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/ts/index.d.ts",
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
],
"scripts": {
"clean": "rimraf ./dist",
"buildBabel": "concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"",
"buildBabel:cjs": "babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"",
"buildBabel:esm": "babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"",
"buildTsc": "tsc --declaration --emitDeclarationOnly --outDir ./dist/ts",
"prebuild": "yarn clean",
"build": "concurrently \"yarn buildBabel\" \"yarn buildTsc\"",
"build:watch": "concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"",
"storybook": "start-storybook -p 6006",
"start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"",
"build-storybook": "build-storybook",
"release": "yarn build && auto shipit"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@babel/preset-typescript": "^7.13.0",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/react": "^6.5.13",
"auto": "^10.3.0",
"babel-loader": "^8.1.0",
"boxen": "^5.0.1",
"concurrently": "^6.2.0",
"dedent": "^0.7.0",
"prettier": "^2.3.1",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rimraf": "^3.0.2",
"typescript": "^4.2.4",
"zx": "^1.14.1"
},
"peerDependencies": {
"@storybook/addons": "^6.5.8",
"@storybook/api": "^6.5.8",
"@storybook/components": "^6.5.8",
"@storybook/core-events": "^6.5.8",
"@storybook/theming": "^6.5.8",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"registry": "https://npm.pkg.github.com"
},
"storybook": {
"displayName": "Stackbit Models/Presets Generator",
"supportedFrameworks": [
"react",
"vue",
"angular",
"web-components",
"ember",
"html",
"svelte",
"preact",
"react-native"
],
"icon": "https://raw.githubusercontent.com/stackbit/storybook-addon/main/stackbit-logo.png"
},
"dependencies": {
"@storybook/design-system": "^7.9.0",
"file-saver": "^2.0.5",
"js-yaml": "^4.1.0"
}
}