|
11 | 11 | "@babel/plugin-transform-runtime": "^7.12.10", |
12 | 12 | "@babel/preset-env": "^7.12.11", |
13 | 13 | "@babel/preset-react": "^7.13.13", |
| 14 | + "@babel/preset-typescript": "^7.14.5", |
14 | 15 | "@commitlint/cli": "^12.0.0", |
15 | 16 | "@commitlint/config-conventional": "^12.0.0", |
16 | 17 | "@rollup/plugin-babel": "^5.2.2", |
17 | 18 | "@rollup/plugin-node-resolve": "^13.0.0", |
18 | 19 | "@testing-library/jest-dom": "^5.11.9", |
19 | 20 | "@testing-library/react": "^12.0.0", |
20 | 21 | "@testing-library/react-hooks": "^7.0.0", |
| 22 | + "@types/react-router-dom": "^5.1.8", |
21 | 23 | "builtin-modules": "^3.2.0", |
22 | 24 | "cross-env": "^7.0.3", |
23 | 25 | "eslint": "^7.18.0", |
|
30 | 32 | "prettier": "^2.2.1", |
31 | 33 | "read-pkg": "^6.0.0", |
32 | 34 | "rollup": "^2.36.1", |
33 | | - "rollup-plugin-visualizer": "^5.5.0" |
| 35 | + "rollup-plugin-dts": "^3.0.2", |
| 36 | + "rollup-plugin-visualizer": "^5.5.0", |
| 37 | + "typescript": "^4.3.5" |
34 | 38 | }, |
35 | 39 | "scripts": { |
36 | | - "lint": "eslint --cache .", |
| 40 | + "lint": "eslint --ext js,ts,tsx --cache .", |
37 | 41 | "lint:fix": "yarn run lint --fix", |
38 | 42 | "build": "lerna exec --stream --ignore @scaleway/eslint-* --ignore @scaleway/countries -- rollup -c ../../rollup.config.mjs", |
39 | 43 | "build:profile": "cross-env PROFILE=true yarn run build", |
|
65 | 69 | "jest-localstorage-mock" |
66 | 70 | ], |
67 | 71 | "collectCoverageFrom": [ |
68 | | - "packages/*/src/**/*.{js,jsx}" |
| 72 | + "packages/*/src/**/*.{ts,tsx,js,jsx}" |
69 | 73 | ], |
70 | 74 | "modulePathIgnorePatterns": [ |
71 | 75 | "locales" |
|
0 commit comments