mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-11-14 19:35:30 -05:00
ci: update babel
This commit is contained in:
parent
22bbfa47b2
commit
1ad519fcc9
5 changed files with 9323 additions and 41155 deletions
2
.babelrc
2
.babelrc
|
@ -5,5 +5,5 @@
|
|||
"messagesDir": "./translations/messages/"
|
||||
}]
|
||||
],
|
||||
"presets": [["env", {"targets": {"browsers": ["last 3 versions", "Safari >= 8", "iOS >= 8"]}}], "react"]
|
||||
"presets": [["@babel/preset-env", {"targets": {"browsers": ["last 3 versions", "Safari >= 8", "iOS >= 8"]}}], "@babel/preset-react"]
|
||||
}
|
||||
|
|
50470
package-lock.json
generated
50470
package-lock.json
generated
File diff suppressed because it is too large
Load diff
11
package.json
11
package.json
|
@ -46,18 +46,19 @@
|
|||
"scratch-render-fonts": "^1.0.0-prerelease.20210401210003"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.23.0",
|
||||
"@babel/core": "^7.23.2",
|
||||
"@babel/node": "^7.22.19",
|
||||
"@babel/preset-env": "^7.23.2",
|
||||
"@babel/preset-react": "^7.22.15",
|
||||
"@commitlint/cli": "17.0.3",
|
||||
"@commitlint/config-conventional": "17.0.3",
|
||||
"autoprefixer": "9.7.4",
|
||||
"babel-cli": "6.26.0",
|
||||
"babel-core": "6.26.3",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babel-jest": "23.6.0",
|
||||
"babel-loader": "7.1.5",
|
||||
"babel-loader": "8.2.5",
|
||||
"babel-plugin-react-intl": "3.0.1",
|
||||
"babel-plugin-transform-object-rest-spread": "6.26.0",
|
||||
"babel-preset-env": "1.7.0",
|
||||
"babel-preset-react": "6.24.1",
|
||||
"css-loader": "3.4.0",
|
||||
"enzyme": "3.11.0",
|
||||
"enzyme-adapter-react-16": "1.15.6",
|
||||
|
|
0
tmp.js
Normal file
0
tmp.js
Normal file
|
@ -20,7 +20,10 @@ const base = {
|
|||
include: path.resolve(__dirname, 'src'),
|
||||
options: {
|
||||
plugins: ['transform-object-rest-spread'],
|
||||
presets: [['env', {browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}], 'react']
|
||||
presets: [
|
||||
['@babel/preset-env', {
|
||||
targets: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}],
|
||||
'@babel/preset-react']
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue