|
14 | 14 | },
|
15 | 15 | "main": "./packages/extension/dist/index.js",
|
16 | 16 | "devDependencies": {
|
| 17 | + "@babel/core": "^7.13.8", |
| 18 | + "@storybook/addon-actions": "^6.1.20", |
| 19 | + "@storybook/addon-essentials": "^6.1.20", |
| 20 | + "@storybook/addon-links": "^6.1.20", |
| 21 | + "@storybook/react": "^6.1.20", |
| 22 | + "@testing-library/cypress": "^7.0.4", |
17 | 23 | "@types/jest": "^26.0.20",
|
18 | 24 | "@typescript-eslint/eslint-plugin": "^4.5.0",
|
19 | 25 | "@typescript-eslint/parser": "^4.5.0",
|
20 | 26 | "babel-eslint": "^10.0.0",
|
| 27 | + "babel-loader": "^8.2.2", |
| 28 | + "core-js": "^3.9.1", |
| 29 | + "cypress": "^6.6.0", |
21 | 30 | "eslint": "^7.11.0",
|
22 | 31 | "eslint-config-react-app": "^6.0.0",
|
| 32 | + "eslint-plugin-cypress": "^2.11.2", |
23 | 33 | "eslint-plugin-flowtype": "^5.2.0",
|
24 | 34 | "eslint-plugin-header": "^3.1.0",
|
25 | 35 | "eslint-plugin-import": "^2.22.1",
|
26 | 36 | "eslint-plugin-jest": "^24.1.0",
|
| 37 | + "eslint-plugin-jest-dom": "^3.6.5", |
27 | 38 | "eslint-plugin-jsx-a11y": "^6.3.1",
|
28 | 39 | "eslint-plugin-react": "^7.21.5",
|
29 | 40 | "eslint-plugin-react-hooks": "^4.2.0",
|
| 41 | + "eslint-plugin-testing-library": "^3.10.1", |
30 | 42 | "husky": "^3.1.0",
|
31 | 43 | "jest": "^26.6.3",
|
32 | 44 | "lerna": "^3.22.1",
|
33 | 45 | "lint-staged": "^9.4.3",
|
34 | 46 | "prettier": "^2.2.1",
|
| 47 | + "start-server-and-test": "^1.12.0", |
35 | 48 | "ts-jest": "^26.5.1",
|
36 | 49 | "typescript": "4.1.3"
|
37 | 50 | },
|
|
45 | 58 | "prettier --write",
|
46 | 59 | "git add"
|
47 | 60 | ]
|
48 |
| - } |
| 61 | + }, |
| 62 | + "scripts": { |
| 63 | + "postinstall": "lerna bootstrap", |
| 64 | + "build": "lerna run build", |
| 65 | + "sb:start": "start-storybook -p 6006", |
| 66 | + "sb:ci": "start-storybook -p 6006 --ci", |
| 67 | + "test:cypress:dev": "start-server-and-test sb:ci http://localhost:6006 cy:open", |
| 68 | + "test:cypress": "start-server-and-test sb:ci http://localhost:6006 cy:run", |
| 69 | + "cy:run": "cypress run", |
| 70 | + "cy:open": "cypress open" |
| 71 | + }, |
| 72 | + "dependencies": {} |
49 | 73 | }
|
0 commit comments