|
1 | 1 | { |
2 | 2 | "name": "extract-react-intl-messages", |
3 | | - "version": "2.3.3", |
| 3 | + "version": "4.0.0", |
4 | 4 | "description": "Extract react-intl messages", |
5 | 5 | "license": "MIT", |
6 | 6 | "repository": "akameco/extract-react-intl-messages", |
|
10 | 10 | "url": "https://akameco.github.io" |
11 | 11 | }, |
12 | 12 | "engines": { |
13 | | - "node": ">=8" |
| 13 | + "node": ">=10" |
14 | 14 | }, |
15 | 15 | "main": "dist/index.js", |
16 | 16 | "scripts": { |
17 | | - "add-contributor": "all-contributors add", |
18 | | - "fmt": "prettier --write '**/*.{json,js,md}'", |
| 17 | + "fmt": "prettier --write .", |
19 | 18 | "example": "./cli.js -l=en,ja -o example/i18n -d en --extractFromFormatMessageCall=true 'example/**/*.{js,tsx}'", |
20 | 19 | "prepublish": "npm run build", |
21 | 20 | "build": "tsc", |
22 | 21 | "lint": "eslint src/**/*.ts --fix --cache", |
23 | | - "test": "npm run lint && jest" |
| 22 | + "test": "jest" |
24 | 23 | }, |
25 | 24 | "bin": { |
26 | 25 | "extract-react-intl-messages": "cli.js", |
|
40 | 39 | "messages" |
41 | 40 | ], |
42 | 41 | "dependencies": { |
43 | | - "@babel/core": "^7.5.5", |
44 | | - "babel-plugin-react-intl": "^4.1.16", |
45 | | - "flat": "^4.1.0", |
46 | | - "glob": "^7.1.4", |
| 42 | + "@babel/core": "^7.9.0", |
| 43 | + "babel-plugin-react-intl": "^7.0.0", |
| 44 | + "flat": "^5.0.0", |
| 45 | + "glob": "^7.1.6", |
47 | 46 | "js-yaml": "^3.13.1", |
48 | 47 | "load-json-file": "^6.2.0", |
49 | 48 | "lodash.merge": "^4.6.2", |
50 | 49 | "lodash.mergewith": "^4.6.2", |
51 | 50 | "lodash.pick": "^4.4.0", |
52 | | - "meow": "^5.0.0", |
53 | | - "mkdirp": "^0.5.1", |
54 | | - "pify": "^4.0.1", |
55 | | - "read-babelrc-up": "^0.4.0", |
| 51 | + "meow": "^6.1.0", |
| 52 | + "mkdirp": "^1.0.3", |
| 53 | + "pify": "^5.0.0", |
| 54 | + "read-babelrc-up": "^1.1.0", |
56 | 55 | "sort-keys": "^4.0.0", |
57 | | - "write-json-file": "^4.1.1" |
| 56 | + "write-json-file": "^4.3.0" |
58 | 57 | }, |
59 | 58 | "devDependencies": { |
60 | | - "@akameco/tsconfig": "^0.3.0", |
61 | | - "@babel/plugin-proposal-class-properties": "^7.5.5", |
62 | | - "@babel/preset-env": "^7.5.5", |
63 | | - "@babel/preset-flow": "^7.0.0", |
64 | | - "@babel/preset-react": "^7.0.0", |
65 | | - "@types/flat": "^0.0.28", |
66 | | - "@types/jest": "^24.0.18", |
67 | | - "@types/js-yaml": "^3.12.1", |
| 59 | + "@akameco/tsconfig": "^0.4.0", |
| 60 | + "@babel/plugin-proposal-class-properties": "^7.8.3", |
| 61 | + "@babel/preset-env": "^7.9.0", |
| 62 | + "@babel/preset-flow": "^7.9.0", |
| 63 | + "@babel/preset-react": "^7.9.1", |
| 64 | + "@types/flat": "^5.0.0", |
| 65 | + "@types/glob": "^7.1.1", |
| 66 | + "@types/jest": "^25.1.4", |
| 67 | + "@types/js-yaml": "^3.12.2", |
68 | 68 | "@types/lodash.merge": "^4.6.6", |
69 | 69 | "@types/lodash.mergewith": "^4.6.6", |
70 | 70 | "@types/lodash.pick": "^4.4.6", |
71 | | - "@types/mkdirp": "^0.5.2", |
| 71 | + "@types/mkdirp": "^1.0.0", |
72 | 72 | "@types/pify": "^3.0.2", |
73 | 73 | "@types/temp-write": "^4.0.0", |
74 | | - "@types/tempy": "^0.3.0", |
75 | | - "all-contributors-cli": "^6.8.2", |
76 | 74 | "babel-core": "7.0.0-bridge.0", |
77 | | - "babel-jest": "^24.8.0", |
78 | | - "babel-plugin-react-intl-auto": "^2.2.0", |
79 | | - "eslint": "^6.3.0", |
80 | | - "eslint-config-precure": "^5.0.2", |
81 | | - "husky": "^3.0.5", |
82 | | - "jest": "^24.8.0", |
83 | | - "lint-staged": "^9.2.5", |
84 | | - "prettier": "^1.18.2", |
85 | | - "react": "^16.8.6", |
86 | | - "react-intl": "^3.2.0", |
| 75 | + "babel-plugin-react-intl-auto": "^3.2.0", |
| 76 | + "eslint": "^6.8.0", |
| 77 | + "eslint-config-precure": "^5.3.1", |
| 78 | + "husky": "^4.2.3", |
| 79 | + "jest": "^25.1.0", |
| 80 | + "lint-staged": "^10.0.9", |
| 81 | + "prettier": "^2.0.2", |
| 82 | + "react": "^16.13.1", |
| 83 | + "react-intl": "^4.2.2", |
87 | 84 | "temp-write": "^4.0.0", |
88 | | - "tempy": "^0.3.0", |
89 | | - "ts-jest": "^24.0.2", |
90 | | - "typescript": "^3.6.2" |
| 85 | + "tempy": "^0.5.0", |
| 86 | + "ts-jest": "^25.2.1", |
| 87 | + "typescript": "^3.8.3" |
91 | 88 | }, |
92 | 89 | "lint-staged": { |
93 | | - "*.{js}": [ |
| 90 | + "*.{ts}": [ |
94 | 91 | "prettier --write", |
95 | | - "eslint --fix", |
96 | | - "git add" |
| 92 | + "eslint --fix" |
97 | 93 | ], |
98 | | - "*.{json,md}": [ |
99 | | - "prettier --write", |
100 | | - "git add" |
| 94 | + "*.{js,json,md}": [ |
| 95 | + "prettier --write" |
101 | 96 | ] |
102 | 97 | }, |
103 | 98 | "husky": { |
|
0 commit comments