|
43 | 43 | "dev": "npm run storybook", |
44 | 44 | "dev:watch": "rollup -cw", |
45 | 45 | "build": "rollup -c", |
46 | | - "test": "run-s test:unit test:lint test:build", |
47 | | - "test:build": "run-s build", |
48 | | - "test:lint": "eslint \"./src/**/*.+(ts|tsx)\"", |
49 | | - "test:unit": "cross-env CI=1 react-scripts test --env=jsdom", |
50 | | - "test:watch": "react-scripts test --env=jsdom", |
| 46 | + "test": "vitest", |
51 | 47 | "release": "npm run test && npm run prepare && dotenv release-it", |
52 | 48 | "lint": "eslint src --ext .js,.ts,.tsx", |
53 | 49 | "format": "prettier --write src", |
|
71 | 67 | "@storybook/manager-webpack5": "^6.5.12", |
72 | 68 | "@storybook/react": "^6.5.12", |
73 | 69 | "@storybook/testing-library": "^0.0.13", |
74 | | - "@testing-library/jest-dom": "^5.16.5", |
75 | 70 | "@testing-library/react": "^13.4.0", |
76 | 71 | "@testing-library/user-event": "^14.4.3", |
77 | | - "@types/jest": "^29.0.3", |
78 | 72 | "@types/node": "^18.7.18", |
79 | 73 | "@types/react": "^18.0.20", |
80 | 74 | "@types/react-dom": "^18.0.6", |
| 75 | + "@types/styled-components": "^5.1.26", |
81 | 76 | "@typescript-eslint/eslint-plugin": "^5.38.0", |
82 | 77 | "@typescript-eslint/parser": "^5.38.0", |
83 | 78 | "babel-loader": "^8.2.5", |
84 | | - "babel-plugin-styled-components": "^2.0.7", |
85 | 79 | "cross-env": "^7.0.3", |
86 | 80 | "dotenv-cli": "^6.0.0", |
87 | 81 | "eslint": "^8.23.1", |
|
104 | 98 | "rollup-plugin-postcss": "^4.0.2", |
105 | 99 | "rollup-plugin-typescript2": "^0.34.0", |
106 | 100 | "styled-components": "^5.3.5", |
107 | | - "typescript": "^4.8.3" |
| 101 | + "typescript": "^4.8.3", |
| 102 | + "vitest": "^0.23.4" |
108 | 103 | }, |
109 | 104 | "author": "Ugo Onali", |
110 | 105 | "license": "MIT" |
|
0 commit comments