PR-188649:

Adding Storybook.
This commit is contained in:
2022-05-30 18:46:55 +00:00
parent c693b4f6a2
commit aa4ac6761b
16 changed files with 29652 additions and 27 deletions

View File

@ -8,7 +8,9 @@
"lint": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx",
"lint:fix": "eslint ./ --ext .js --ext .ts --ext .jsx --ext .tsx --fix",
"test": "jest",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"storybook": "start-storybook -p 3000",
"build-storybook": "build-storybook"
},
"repository": {
"type": "git",
@ -33,6 +35,16 @@
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@babel/register": "^7.17.7",
"@storybook/addon-actions": "^6.5.6",
"@storybook/addon-essentials": "^6.5.6",
"@storybook/addon-interactions": "^6.5.6",
"@storybook/addon-links": "^6.5.6",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/builder-webpack5": "^6.5.6",
"@storybook/manager-webpack5": "^6.5.6",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.6",
"@storybook/testing-library": "^0.0.11",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.0",
@ -48,6 +60,7 @@
"dotenv": "^16.0.1",
"eslint": "^8.16.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-storybook": "^0.5.12",
"eslint-webpack-plugin": "^3.1.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.0",
@ -61,6 +74,7 @@
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.1",
"ts-loader": "^9.3.0",
"tsconfig-paths-webpack-plugin": "^3.5.2",
"typescript": "^4.7.2",
"url-loader": "^4.1.1",
"webpack": "^5.72.1",