generated from storybookjs/addon-kit
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.52 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 3.52 KB
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
115
116
117
118
119
120
121
122
123
{
"name": "@amplitude/storybook-addon-amplitude",
"version": "3.0.0",
"description": "A storybook addon to capture events in Amplitude",
"keywords": [
"amplitude",
"design-systems",
"storybook-addons"
],
"repository": {
"type": "git",
"url": "git+https://github.com/amplitude/storybook-addon-amplitude.git"
},
"type": "module",
"author": {
"name": "Jimmy Wilson",
"email": "jimmy@amplitude.com"
},
"license": "MIT",
"exports": {
".": {
"types": "./dist/ts/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
},
"./manager": "./dist/esm/manager.js",
"./package.json": "./package.json"
},
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
],
"scripts": {
"build": "concurrently \"yarn build:babel\" \"yarn build:typescript\"",
"build:babel": "concurrently \"yarn build:babel:cjs\" \"yarn build:babel:esm\"",
"build:babel:cjs": "babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"",
"build:babel:esm": "babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"",
"build:storybook": "storybook build",
"build:typescript": "tsc --declaration --emitDeclarationOnly --outDir ./dist/ts",
"build:watch": "concurrently \"yarn build:babel:esm -- --watch\" \"yarn build:typescript -- --watch\"",
"clean": "rimraf ./dist",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"lint": "prettier --check .",
"lint:fix": "prettier --write .",
"prebuild": "yarn clean",
"prerelease": "zx scripts/prepublish-checks.mjs",
"release": "yarn build && auto shipit",
"storybook": "dotenv -e .env -- storybook dev -p 6006",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@amplitude/analytics-browser": "^1.0.0 || ^2.0.0",
"global": "^4.4.0"
},
"devDependencies": {
"@auto-it/all-contributors": "11.3.0",
"@auto-it/first-time-contributor": "11.3.0",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@storybook/addon-links": "^9.0.12",
"@storybook/manager-api": "^8.6.14",
"@storybook/react": "^9.0.12",
"@storybook/react-vite": "^9.0.12",
"@testing-library/dom": "10.4.0",
"@types/node": "^24.0.3",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@types/webpack-env": "^1.18.8",
"all-contributors-cli": "^6.26.1",
"auto": "^11.1.0",
"babel-loader": "^10.0.0",
"boxen": "^8.0.1",
"concurrently": "^9.1.2",
"dotenv-cli": "^8.0.0",
"prettier": "^3.5.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"storybook": "^9.0.12",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"webpack": "^5.98.0",
"zx": "^8.5.5"
},
"peerDependencies": {
"storybook": "^9.0.0 || ^10.0.0"
},
"publishConfig": {
"access": "public"
},
"storybook": {
"displayName": "Amplitude Storybook Addon",
"supportedFrameworks": [
"react"
],
"icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png"
},
"engines": {
"node": ">=20"
},
"auto": {
"plugins": [
"npm",
"released",
"first-time-contributor",
[
"all-contributors",
{
"exclude": [
"dependabot",
"ci-services"
]
}
]
]
}
}