|
17 | 17 | }, |
18 | 18 | "repository": { |
19 | 19 | "type": "git", |
20 | | - "url": "git+https://github.com/devmehq/react-qr-code.git" |
| 20 | + "url": "https://github.com/devmehq/react-qr-code.git" |
21 | 21 | }, |
22 | 22 | "license": "MIT", |
23 | 23 | "author": { |
24 | | - "name": "Mohamed Meabed", |
25 | | - "email": "mo@meabed.com", |
26 | | - "url": "https://meabed.com" |
| 24 | + "name": "DEV.ME Team", |
| 25 | + "email": "support@dev.me", |
| 26 | + "url": "https://devme.com" |
27 | 27 | }, |
28 | 28 | "maintainers": [ |
29 | 29 | { |
30 | | - "name": "Mohamed Meabed", |
31 | | - "email": "mo@meabed.com", |
32 | | - "url": "https://meabed.com" |
| 30 | + "name": "DEV.ME Team", |
| 31 | + "email": "support@dev.me", |
| 32 | + "url": "https://devme.com" |
33 | 33 | } |
34 | 34 | ], |
35 | 35 | "sideEffects": false, |
|
43 | 43 | "build": "rollup -c rollup.config.mjs", |
44 | 44 | "build:prod": "NODE_ENV=production rollup -c rollup.config.mjs", |
45 | 45 | "lint-js": "eslint src/**/*.ts", |
| 46 | + "prepare": "yarn husky install", |
46 | 47 | "prepublishOnly": "rm -rf dist/* && NODE_ENV=production rollup -c rollup.config.mjs", |
47 | 48 | "prettier": "prettier --write '**/*.{ts,tsx,css,scss}'", |
48 | | - "test": "echo \"Error: no test specified\" && exit 0", |
| 49 | + "test": "echo \"Error: no test specified\"", |
49 | 50 | "test-watch": "jest --watch" |
50 | 51 | }, |
51 | 52 | "lint-staged": { |
52 | | - "**/*.{ts,tsx,js,jsx,css,scss,sass,less,md}": [ |
53 | | - "prettier --write", |
54 | | - "git add" |
55 | | - ], |
56 | | - "src/**/*.{ts,tsx}": [ |
57 | | - "npm run lint:fix", |
58 | | - "git add" |
59 | | - ] |
60 | | - }, |
61 | | - "config": { |
62 | | - "commitizen": { |
63 | | - "path": "cz-conventional-changelog" |
64 | | - } |
| 53 | + "src/*.{ts,tsx,js,jsx}": "prettier --write", |
| 54 | + "__tests__/*.{ts,tsx,js,jsx}": "prettier --write" |
65 | 55 | }, |
66 | 56 | "devDependencies": { |
67 | 57 | "@ianvs/prettier-plugin-sort-imports": "3.7.1", |
68 | 58 | "@rollup/plugin-commonjs": "24.0.0", |
69 | 59 | "@rollup/plugin-node-resolve": "15.0.1", |
70 | 60 | "@rollup/plugin-replace": "5.0.2", |
71 | | - "@rollup/plugin-typescript": "10.0.1", |
| 61 | + "@rollup/plugin-typescript": "11.0.0", |
72 | 62 | "@types/jasmine": "4.3.1", |
73 | | - "@types/jest": "29.2.4", |
| 63 | + "@types/jest": "29.2.5", |
74 | 64 | "@types/react": "18.0.26", |
75 | 65 | "@types/react-dom": "18.0.10", |
76 | | - "@typescript-eslint/eslint-plugin": "5.47.1", |
77 | | - "@typescript-eslint/parser": "5.47.1", |
78 | | - "eslint": "8.30.0", |
79 | | - "eslint-config-prettier": "8.5.0", |
| 66 | + "@typescript-eslint/eslint-plugin": "5.48.2", |
| 67 | + "@typescript-eslint/parser": "5.48.2", |
| 68 | + "eslint": "8.32.0", |
| 69 | + "eslint-config-prettier": "8.6.0", |
| 70 | + "husky": "8.0.3", |
80 | 71 | "jest": "29.3.1", |
81 | | - "prettier": "2.8.1", |
82 | | - "rollup": "3.9.0", |
| 72 | + "lint-staged": "13.1.0", |
| 73 | + "prettier": "2.8.3", |
| 74 | + "pretty-quick": "3.1.3", |
| 75 | + "rollup": "3.10.0", |
83 | 76 | "rollup-plugin-uglify": "6.0.4", |
84 | | - "ts-jest": "29.0.3", |
| 77 | + "ts-jest": "29.0.5", |
85 | 78 | "tslib": "2.4.1", |
86 | 79 | "typescript": "4.9.4" |
87 | 80 | }, |
88 | 81 | "peerDependencies": { |
89 | 82 | "react": ">=17.0.2", |
90 | 83 | "react-dom": ">=17.0.2" |
91 | | - }, |
92 | | - "engines": { |
93 | | - "node": ">=8.5", |
94 | | - "npm": ">=6.0", |
95 | | - "yarn": "^1.0" |
96 | 84 | } |
97 | 85 | } |
0 commit comments