babel-preset-evergreen 0.8.6 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +10 -4
  2. package/package.json +12 -12
package/README.md CHANGED
@@ -15,8 +15,7 @@ A [babel] preset for modern javascript syntaxes.
15
15
 
16
16
  This preset can transform:
17
17
 
18
- - ECMAScript 2021 syntax
19
- - Class Fields (ECMAScript 2022)
18
+ - ECMAScript 2022 syntax
20
19
 
21
20
  ## Installation
22
21
 
@@ -26,11 +25,18 @@ npm install babel-preset-evergreen --save-dev
26
25
 
27
26
  ## Usage
28
27
 
29
- ```json
28
+ ```jsonc
30
29
  // example: babel.config.json
31
30
  {
32
31
  "targets": "chrome >= 60",
33
- "presets": [["evergreen", { "polyfill": "global" }]]
32
+ "presets": [
33
+ [
34
+ "evergreen",
35
+ {
36
+ "polyfill": "global"
37
+ }
38
+ ]
39
+ ]
34
40
  }
35
41
  ```
36
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-preset-evergreen",
3
- "version": "0.8.6",
3
+ "version": "0.8.7",
4
4
  "description": "A `babel` preset for modern javascript syntaxes",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -35,25 +35,25 @@
35
35
  "prepare": "git config core.hooksPath .githooks"
36
36
  },
37
37
  "dependencies": {
38
- "@babel/helper-plugin-utils": "^7.16.5",
39
- "@babel/plugin-transform-runtime": "^7.16.5",
40
- "@babel/preset-env": "^7.16.5",
41
- "@babel/runtime-corejs3": "^7.16.5",
42
- "core-js": "^3.19.3"
38
+ "@babel/helper-plugin-utils": "^7.16.7",
39
+ "@babel/plugin-transform-runtime": "^7.16.7",
40
+ "@babel/preset-env": "^7.16.7",
41
+ "@babel/runtime-corejs3": "^7.16.7",
42
+ "core-js": "^3.20.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@babel/core": "^7.16.5",
45
+ "@babel/core": "^7.16.7",
46
46
  "@nice-move/cli": "^0.6.0",
47
- "@nice-move/commitlint-config": "^0.4.0",
48
- "@nice-move/eslint-config-base": "^0.5.75",
47
+ "@nice-move/commitlint-config": "^0.5.0",
48
+ "@nice-move/eslint-config-base": "^0.5.79",
49
49
  "@nice-move/prettier-config": "^0.5.1",
50
- "commitlint": "^15.0.0",
50
+ "commitlint": "^16.0.1",
51
51
  "eslint": "^7.32.0",
52
- "garou": "^0.3.4",
52
+ "garou": "^0.3.6",
53
53
  "prettier": "^2.5.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "@babel/core": "^7.16.5"
56
+ "@babel/core": "^7.16.7"
57
57
  },
58
58
  "engines": {
59
59
  "node": "^12.22.0 || ^14.17.0 || >=16.13.0"