forked from formatjs/formatjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
58 lines (58 loc) · 1.75 KB
/
tsconfig.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
{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"target": "es5",
"lib": [
"dom",
"ES2017.Intl",
"ES2018.Intl",
"ES2020.Intl",
"ESNext.Intl",
"ES2015"
],
"baseUrl": ".",
"declaration": true,
"strict": true,
"resolveJsonModule": true,
"noUnusedLocals": true,
"esModuleInterop": true,
"noUnusedParameters": true,
"preserveConstEnums": true,
"allowSyntheticDefaultImports": true,
"noFallthroughCasesInSwitch": true,
"declarationMap": true,
"importHelpers": true,
"jsx": "react",
"typeRoots": [
// Stop TS from climbing up the tree to arbitrary node_modules, thus
// making build non-hermetic
"./node_modules/@types",
// This is for tests where working dir is formatjs/
"../npm/node_modules/@types"
],
"paths": {
"@formatjs/*": [
// k8 is 64-bit GNU/Linux output location, darwin is macOS.
"bazel-out/k8-fastbuild/bin/packages/*",
"bazel-out/darwin-fastbuild/bin/packages/*"
],
"intl-messageformat": [
"bazel-out/k8-fastbuild/bin/packages/intl-messageformat",
"bazel-out/darwin-fastbuild/bin/packages/intl-messageformat"
],
"babel-plugin-formatjs": [
"bazel-out/k8-fastbuild/bin/packages/babel-plugin-formatjs",
"bazel-out/darwin-fastbuild/bin/packages/babel-plugin-formatjs"
],
"eslint-plugin-formatjs": [
"bazel-out/k8-fastbuild/bin/packages/eslint-plugin-formatjs",
"bazel-out/darwin-fastbuild/bin/packages/eslint-plugin-formatjs"
],
"react-intl": [
"bazel-out/k8-fastbuild/bin/packages/react-intl",
"bazel-out/darwin-fastbuild/bin/packages/react-intl"
]
}
}
}