forked from formatjs/formatjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
188 lines (188 loc) · 6.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
{
"name": "formatjs-repo",
"version": "1.0.0",
"private": true,
"description": "This repository is the home of FormatJS and related libraries.",
"repository": {
"type": "git",
"url": "https://github.com/formatjs/formatjs"
},
"scripts": {
"bazel:lint": "find . -type f \\( -name \"*.BUILD\" -or -name \"*.bzl\" -or -name WORKSPACE -or -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs buildifier -v --warnings=attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,git-repository,http-archive,integer-division,load,load-on-top,native-build,native-package,out-of-order-load,output-group,package-name,package-on-top,positional-args,redefined-variable,repository-name,same-origin-load,string-iteration,unsorted-dict-items,unused-variable",
"build": "bazel build //...",
"examples": "bazel run //packages/react-intl/examples",
"format": "yarn bazel:lint --lint=fix && bazel run :prettier_all",
"karma:ci": "bazel test :karma-ci",
"karma:local": "bazel test :karma",
"release:next": "lerna version prerelease --yes && lerna exec --no-bail -- bazel run :publish --tag next",
"release": "lerna version --yes && lerna exec --no-bail -- bazel run :publish",
"test": "yarn bazel:lint --lint=warn && bazel test //...",
"postinstall": "husky install && patch-package"
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-jsx": "^7.10.4",
"@babel/types": "^7.12.11",
"@bazel/bazelisk": "^1.5.0",
"@bazel/buildifier": "^4.0.0",
"@bazel/ibazel": "^0.14.0",
"@bazel/rollup": "3.1.0",
"@bazel/terser": "3.1.0",
"@bazel/typescript": "3.1.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-angular": "^11.0.0",
"@docusaurus/core": "^2.0.0-alpha.70",
"@docusaurus/plugin-google-analytics": "^2.0.0-alpha.70",
"@docusaurus/preset-classic": "^2.0.0-alpha.70",
"@docusaurus/theme-live-codeblock": "^2.0.0-alpha.70",
"@jest/transform": "^26.6.2",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@testing-library/jest-dom": "^5.11.5",
"@testing-library/react": "^11.1.1",
"@types/babel__core": "^7.1.7",
"@types/emoji-regex": "9",
"@types/enzyme": "^3.10.5",
"@types/eslint": "^7.2.0",
"@types/fs-extra": "^9.0.1",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^26.0.4",
"@types/json-stable-stringify": "^1.0.32",
"@types/lodash": "^4.14.150",
"@types/minimist": "^1.2.1",
"@types/node": "14",
"@types/react-dom": "^17.0.0",
"@types/rimraf": "^3.0.0",
"@types/serialize-javascript": "^5.0.0",
"@types/webpack": "^4.41.25",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.11.0",
"@typescript-eslint/typescript-estree": "^4.11.0",
"@vue/compiler-core": "^3.0.5",
"@vue/compiler-sfc": "^3.0.5",
"@vue/test-utils": "2.0.0-beta.13",
"babel-loader": "^8.2.2",
"benchmark": "^2.1.4",
"chalk": "^4.0.0",
"classnames": "^2.2.6",
"cldr-core": "38",
"cldr-dates-full": "38",
"cldr-localenames-full": "38",
"cldr-misc-full": "38",
"cldr-numbers-full": "38",
"cldr-units-full": "38",
"commander": "^7.0.0",
"core-js": "^3.6.5",
"emoji-regex": "^9.2.0",
"eslint": "^7.4.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^24.0.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"fast-glob": "^3.2.4",
"fast-memoize": "^2.5.2",
"fs-extra": "^9.0.0",
"hoist-non-react-statics": "^3.3.2",
"husky": "5",
"jasmine-expect": "^5.0.0",
"jest": "26",
"json-schema-to-typescript": "^10.0.0",
"json-stable-stringify": "^1.0.1",
"karma": "^6.0.4",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^4.0.0",
"karma-jasmine-matchers": "^4.0.2",
"karma-sauce-launcher": "4.3.5",
"lerna": "^3.20.2",
"lint-staged": "^10.2.11",
"lodash": "^4.17.15",
"loud-rejection": "^2.2.0",
"make-plural-compiler": "^5.1.0",
"minimist": "^1.2.5",
"parcel": "^1.12.4",
"patch-package": "^6.2.2",
"pegjs": "^0.10.0",
"prettier": "^2.0.5",
"react": "^16.3.0 || 17",
"react-dom": "^16.3.0 || 17",
"rimraf": "^3.0.2",
"rollup": "^2.7.2",
"schema-utils": "^3.0.0",
"serialize-javascript": "^5.0.0",
"shallow-equal": "^1.2.1",
"terser": "^4.8.0",
"test262-harness": "^7.3.1",
"ts-jest": "^26.4.0",
"ts-node": "^9.0.0",
"ts-pegjs": "0.3",
"tslib": "^2.0.1",
"typescript": "4",
"vue": "3",
"vue-eslint-parser": "^7.3.0",
"vue-loader": "16",
"webpack": "4"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier",
"import",
"jest"
],
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
"plugin:import/typescript"
],
"rules": {
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-object-literal-type-assertion": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 0,
"import/dynamic-import-chunkname": "error",
"import/no-cycle": "error",
"import/no-duplicates": "error",
"import/no-self-import": "error",
"import/no-useless-path-segments": "error"
},
"overrides": [
{
"files": [
"*.test.ts",
"*.test.tsx"
],
"rules": {
"jest/no-focused-tests": "error",
"@typescript-eslint/no-var-requires": "off"
}
}
]
},
"devEngines": {
"node": ">= 10.x",
"npm": "6.x"
},
"lint-staged": {
"(BUILD|WORKSPACE|BUILD.bazel|*.bzl)": "yarn bazel:lint --lint=fix"
},
"resolutions": {
"**/chokidar": "^3.4.2",
"terser": "4.8.0"
},
"author": "Seth Bertalotto <[email protected]>",
"dependencies": {
"chokidar": "^3.4.2"
}
}