generated from storybookjs/addon-kit
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
112 lines (112 loc) · 3.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
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
{
"name": "storybook-source-link",
"version": "4.0.0",
"description": "Provides a link to the story's source in the toolbar",
"keywords": [
"source",
"link",
"storybook",
"storybook-addons"
],
"homepage": "https://storybook.js.org/addons/storybook-source-link/",
"repository": {
"type": "git",
"url": "https://github.com/Sirrine-Jonathan/storybook-source-link"
},
"author": "Jonathan Sirrine <[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",
"typecheck": "tsc",
"prebuild": "yarn clean",
"build": "concurrently \"yarn buildBabel\" \"yarn buildTsc\"",
"build:watch": "concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"",
"test": "jest",
"storybook": "storybook dev -p 6006",
"test-storybook": "test-storybook",
"start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"",
"build-storybook": "storybook build",
"prerelease": "zx scripts/prepublish-checks.mjs",
"release": "yarn build && auto shipit",
"eject-ts": "zx scripts/eject-typescript.mjs"
},
"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": "^7.5.3",
"@storybook/cli": "^7.5.3",
"@storybook/components": "^7.5.3",
"@storybook/manager-api": "^7.5.3",
"@storybook/react-webpack5": "^7.5.3",
"@storybook/test-runner": "^0.15.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@types/node": "^20.9.1",
"@types/semver": "^7",
"@types/styled-components": "^5.1.26",
"auto": "^10.3.0",
"babel-loader": "^8.1.0",
"boxen": "^5.0.1",
"concurrently": "^6.2.0",
"dedent": "^0.7.0",
"detect-package-manager": "^3.0.1",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"prettier": "^2.3.1",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"semver": "^7.5.4",
"storybook": "^7.5.3",
"styled-components": "^6.1.0",
"typescript": "^5.2.2",
"zx": "^1.14.1"
},
"peerDependencies": {
"@storybook/addons": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.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://registry.npmjs.org"
},
"storybook": {
"displayName": "Source Link",
"supportedFrameworks": [
"react"
],
"icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png"
},
"packageManager": "[email protected]",
"dependencies": {
"@storybook/preview-api": "^7.5.3",
"@types/react": "^18.2.37",
"react-error-boundary": "^4.0.11"
}
}