Skip to content

Commit

Permalink
update package.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Mar 27, 2024
1 parent 9f4c631 commit a5256b9
Show file tree
Hide file tree
Showing 4 changed files with 2,390 additions and 2,315 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "msw-storybook-addon-workspace",
"private": true,
"workspaces": [
"packages/*"
],
Expand Down
33 changes: 17 additions & 16 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,26 @@
"version": "0.1.0",
"private": true,
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "npx jest",
"build-storybook": "storybook build",
"chromatic": "npx chromatic",
"eject": "react-scripts eject",
"msw:update": "msw init public",
"start": "react-scripts start",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"msw:update": "msw init public"
"test": "npx jest"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"eslintConfig": {
"extends": [
Expand All @@ -27,18 +40,6 @@
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@apollo/client": "^3.3.6",
"@testing-library/jest-dom": "^5.11.4",
Expand Down
64 changes: 32 additions & 32 deletions packages/msw-addon/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
{
"name": "msw-storybook-addon",
"description": "Mock API requests in Storybook with Mock Service Worker.",
"version": "1.6.0",
"description": "Mock API requests in Storybook with Mock Service Worker.",
"keywords": [
"storybook-addon",
"msw",
"mocking",
"api",
"graphql",
"network",
"data-state"
],
"homepage": "https://msw-sb.vercel.app/",
"bugs": {
"url": "https://github.com/mswjs/msw-storybook-addon/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mswjs/msw-storybook-addon.git",
"directory": "packages/msw-addon"
},
"license": "MIT",
"author": "Aditya Agarwal (@dev__adi)",
"type": "module",
"main": "./dist/index.browser.js",
"types": "./dist/index.browser.d.ts",
"exports": {
".": {
"types": "./dist/index.browser.d.ts",
Expand All @@ -14,36 +32,18 @@
"default": "./dist/index.browser.js"
}
},
"main": "./dist/index.browser.js",
"types": "./dist/index.browser.d.ts",
"files": [
"dist/"
],
"scripts": {
"dev": "yarn build --watch",
"clean": "rimraf ./dist",
"build": "tsup",
"clean": "rimraf ./dist",
"dev": "yarn build --watch",
"prepublishOnly": "yarn clean && yarn build",
"release": "auto shipit"
},
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mswjs/msw-storybook-addon.git",
"directory": "packages/msw-addon"
},
"keywords": [
"storybook-addon",
"msw",
"mocking",
"api",
"graphql",
"network",
"data-state"
],
"author": "Aditya Agarwal (@dev__adi)",
"bugs": {
"url": "https://github.com/mswjs/msw-storybook-addon/issues"
},
"homepage": "https://msw-sb.vercel.app/",
"license": "MIT",
"dependencies": {
"is-node-process": "^1.0.1"
},
Expand All @@ -58,10 +58,6 @@
"peerDependencies": {
"msw": "^2.0.0"
},
"storybook": {
"displayName": "Mock Service Worker",
"icon": "https://user-images.githubusercontent.com/1671563/144888802-84346d8f-77c9-4377-98c7-4b0364797978.png"
},
"auto": {
"prereleaseBranches": [
"next",
Expand All @@ -71,5 +67,9 @@
"npm",
"released"
]
},
"storybook": {
"displayName": "Mock Service Worker",
"icon": "https://user-images.githubusercontent.com/1671563/144888802-84346d8f-77c9-4377-98c7-4b0364797978.png"
}
}
Loading

0 comments on commit a5256b9

Please sign in to comment.