-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
107 lines (107 loc) · 3.04 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
{
"name": "storybook-addon-fetch-mock",
"version": "2.0.1",
"description": "Adds fetch() mocking to Storybook.js using fetch-mock",
"author": "John Albin Wilkins <[email protected]> (https://john.albin.net/)",
"homepage": "https://github.com/JohnAlbin/storybook-addon-fetch-mock#readme",
"bugs": {
"url": "https://github.com/JohnAlbin/storybook-addon-fetch-mock/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JohnAlbin/storybook-addon-fetch-mock.git"
},
"license": "(MIT OR GPL-2.0-only)",
"keywords": [
"storybook-addons",
"data-state",
"fetch",
"fetch-mock"
],
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./preview": {
"import": {
"types": "./dist/preview.d.ts",
"default": "./dist/preview.js"
},
"require": {
"types": "./dist/preview.d.cts",
"default": "./dist/preview.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist/",
"README.md",
"preview.js"
],
"scripts": {
"build": "tsup",
"build:watch": "npm run build --watch",
"prepare": "npm run build",
"lint": "eslint src/",
"lint:fix": "eslint --fix src/",
"prettier": "prettier --write \"{.*/**/*,*,**/*}.{js,jsx,ts,tsx,json,md,yml,css,scss}\"",
"prettier:check": "prettier --check \"{.*/**/*,*,**/*}.{js,jsx,ts,tsx,json,md,yml,css,scss}\"",
"format": "npm run lint:fix && npm run prettier",
"ci:lint": "npm run lint && npm run prettier:check",
"pretest": "npm run ci:lint",
"test": "echo \"Error: no test specified\" && exit 1",
"storybook": "start-storybook -p 6006",
"storybook:build": "build-storybook"
},
"dependencies": {
"fetch-mock": "^9.11.0"
},
"peerDependencies": {
"@storybook/preview-api": "^7.0.0 || ^8.0.0 || next"
},
"devDependencies": {
"@storybook/preview-api": "^8.0.0",
"@storybook/react": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unused-imports": "^3.1.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"release-please": "^16.10.1",
"tsup": "^7.3.0",
"typescript": "^5.4.2"
},
"storybook": {
"displayName": "Mock fetch()",
"supportedFrameworks": [
"react",
"vue",
"angular",
"web-components",
"ember",
"html",
"svelte",
"preact",
"react-native"
],
"icon": "https://raw.githubusercontent.com/JohnAlbin/storybook-addon-fetch-mock/main/storybook-addon-fetch-mock.png"
}
}