|
3 | 3 | "workspaces": [ |
4 | 4 | "packages/*" |
5 | 5 | ], |
6 | | - "scripts": { |
7 | | - "build": "lerna run build", |
8 | | - "commit": "git-cz", |
9 | | - "commit:retry": "git-cz --retry", |
10 | | - "dev": "yarn build && lerna run --parallel --stream dev", |
11 | | - "clean": "lerna run clean", |
12 | | - "lint": "eslint packages/react-sunbeam/src --ext .ts,.tsx && eslint packages/demo/src --ext .ts,.tsx", |
13 | | - "release": "yarn build && lerna publish --conventional-commits", |
14 | | - "test": "lerna run test", |
15 | | - "type-check": "lerna run type-check", |
16 | | - "uninstall": "lerna clean && rimraf ./node_modules" |
17 | | - }, |
18 | | - "husky": { |
19 | | - "hooks": { |
20 | | - "pre-commit": "pretty-quick --staged && yarn type-check && yarn lint && yarn test", |
21 | | - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
22 | | - "pre-push": "yarn type-check && yarn lint && yarn test" |
23 | | - } |
24 | | - }, |
25 | | - "commitlint": { |
26 | | - "extends": [ |
27 | | - "@commitlint/config-conventional" |
28 | | - ], |
29 | | - "rules": { |
30 | | - "scope-case": [ |
31 | | - 0 |
32 | | - ], |
33 | | - "header-max-length": [ |
34 | | - 2, |
35 | | - "always", |
36 | | - 100 |
37 | | - ] |
38 | | - } |
39 | | - }, |
40 | | - "config": { |
41 | | - "commitizen": { |
42 | | - "path": "cz-conventional-changelog" |
43 | | - } |
44 | | - }, |
45 | 6 | "repository": "git+https://github.com/vovaguguiev/react-sunbeam.git", |
46 | 7 | "author": "Vova Guguiev <vladimir.guguiev@gmail.com>", |
47 | 8 | "devDependencies": { |
48 | | - "@commitlint/cli": "^11.0.0", |
49 | | - "@commitlint/config-conventional": "^11.0.0", |
50 | 9 | "@typescript-eslint/eslint-plugin": "^4.7.0", |
51 | 10 | "@typescript-eslint/parser": "^4.7.0", |
52 | | - "commitizen": "^4.2.2", |
53 | | - "cz-conventional-changelog": "^3.3.0", |
54 | 11 | "eslint": "^7.13.0", |
55 | 12 | "eslint-config-prettier": "^6.15.0", |
56 | 13 | "eslint-plugin-import": "^2.22.1", |
57 | 14 | "eslint-plugin-react": "^7.21.5", |
58 | 15 | "eslint-plugin-react-hooks": "^4.2.0", |
59 | | - "husky": "^4.3.0", |
60 | | - "lerna": "^3.22.1", |
61 | | - "prettier": "^2.1.2", |
62 | | - "pretty-quick": "^3.1.0", |
63 | | - "rimraf": "^3.0.2" |
| 16 | + "jest": "^26.6.3", |
| 17 | + "jest-ts-webcompat-resolver": "^1.0.0", |
| 18 | + "ts-jest": "^26.4.4", |
| 19 | + "typescript": "^4.1.2" |
64 | 20 | } |
65 | 21 | } |
0 commit comments