Skip to content
This repository was archived by the owner on Jul 24, 2019. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
40 changes: 28 additions & 12 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
{
"presets": [
["@babel/preset-env", {
"modules": false
}],
"@babel/preset-react"
],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-syntax-dynamic-import"],
["@babel/plugin-proposal-class-properties", { "loose" : true }],
]
}
"presets": [
"@babel/preset-react",
[
"@babel/preset-env",
{
"targets": {
"browsers": [
"last 2 versions",
"ios_saf >= 8",
"not IE <= 10",
"chrome >= 49",
"firefox >= 49",
"> 1%"
]
},
"loose": true,
"useBuiltIns": "usage",
"corejs": "2.6.5",
}
]
],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-syntax-dynamic-import"],
["@babel/plugin-proposal-object-rest-spread", { "useBuiltIns": "usage", "corejs": "2.6.5" }],
["@babel/plugin-proposal-class-properties", { "useBuiltIns": "usage", "corejs": "2.6.5", "loose": true }]
]
}
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ module.exports = {
amd : true,
jquery : true,
jest : true,
jasmine: true,
},
globals: {
Blockly: false,
trackJs: false,
jest: false,
dataLayer: false
dataLayer: false,
goog: false,
google: false,
gapi: false,
},
rules: {
camelcase : 0,
Expand Down
File renamed without changes.
Binary file removed examples/.DS_Store
Binary file not shown.
Binary file removed examples/cli-examples/.DS_Store
Binary file not shown.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
<link rel="stylesheet" type="text/css" href="./dist/bot.css" media="screen" />
</head>
<body>
<div id="root" role="main"></div>
<script src="./dist/bot.js"></script>
<div id="root" role="main"></div>
<script src="./dist/scratch-compressed.js"></script>
<script src="./dist/scratch-messages.js"></script>
<script src="./dist/bot.js"></script>
</body>
</html>

</html>
Loading