File: .babelrc

package info (click to toggle)
node-yarnpkg 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 92,980 kB
  • sloc: sh: 323; makefile: 19
file content (58 lines) | stat: -rw-r--r-- 1,159 bytes parent folder | download
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
{
  "only": "*.js",
  "env": {
    "pre-node5": {
      "presets": [
        ["env", {
          "targets": {
            "node": "4"
          },
          "modules": false,
          "loose": true,
          "exclude": [
            "transform-regenerator"
          ]
        }],
        "flow",
        "stage-0"
     ],
     "plugins": [
       ["array-includes"],
       ["transform-inline-imports-commonjs"],
       ["transform-runtime", { "polyfill": true, "regenerator": false }],
       ["transform-builtin-extend", { "globals": ["Error"] }]
     ]
   },
   "test": {
     "presets": [
       ["env", {
         "targets": {
           "node": "current"
         },
         "modules": false,
         "loose": true
        }],
        "flow",
        "stage-0"
      ],
      "plugins": [
        ["transform-inline-imports-commonjs"]
      ]
    }
  },
  "presets": [
    ["env", {
      "targets": {
        "node": "6"
      },
      "modules": false,
      "loose": true
    }],
    "flow",
    "stage-0"
  ],
  "plugins": [
    ["transform-inline-imports-commonjs"],
    ["transform-runtime", { "polyfill": false, "regenerator": true }]
  ]
}