Skip to content

Commit 63be8ac

Browse files
committed
Support only modern browsers and get rid of core-js
1 parent c94e5e4 commit 63be8ac

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

babel.config.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
22
"presets": [
3-
[
4-
"@babel/preset-env",
5-
{
6-
"targets": {
7-
"edge": "17",
8-
"firefox": "60",
9-
"chrome": "67",
10-
"safari": "11.1"
11-
},
12-
"useBuiltIns": "usage",
13-
"corejs": "3.6.5"
14-
}
15-
]
3+
[
4+
"@babel/preset-env",
5+
{
6+
"targets": {
7+
"edge": "79",
8+
"firefox": "72",
9+
"chrome": "80",
10+
"safari": "13.1"
11+
},
12+
"useBuiltIns": false
13+
}
14+
]
1615
]
17-
}
16+
}

package.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
{
2-
"name": "why-search-syntax",
3-
"homepage": "https://github.com/why-haxe/why-search-syntax",
4-
"version": "0.1.4",
5-
"author": "kevinresol",
6-
"main": "bin/js-out/index.js",
7-
"files": [
8-
"bin/js-out",
9-
"search-syntax.d.ts"
10-
],
11-
"types": "search-syntax.d.ts",
12-
"scripts": {
13-
"prepublishOnly": "haxe js.hxml && yarn babel bin/js --out-dir bin/js-out"
14-
},
15-
"devDependencies": {
16-
"@babel/cli": "^7.22.9",
17-
"@babel/core": "^7.22.9",
18-
"@babel/preset-env": "^7.22.9",
19-
"lix": "^15.12.0"
20-
}
2+
"name": "why-search-syntax",
3+
"homepage": "https://github.com/why-haxe/why-search-syntax",
4+
"version": "0.1.5",
5+
"author": "kevinresol",
6+
"main": "bin/js-out/index.js",
7+
"files": [
8+
"bin/js-out",
9+
"search-syntax.d.ts"
10+
],
11+
"types": "search-syntax.d.ts",
12+
"scripts": {
13+
"prepublishOnly": "haxe js.hxml && yarn babel bin/js --out-dir bin/js-out"
14+
},
15+
"devDependencies": {
16+
"@babel/cli": "^7.22.9",
17+
"@babel/core": "^7.22.9",
18+
"@babel/preset-env": "^7.22.9",
19+
"lix": "^15.12.0"
20+
},
21+
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
2122
}

0 commit comments

Comments
 (0)