Skip to content

Commit

Permalink
removed babelrc files and update package.json (tensorflow#813)
Browse files Browse the repository at this point in the history
* removed babelrc files and update package.json

* fix the parcel/babel errors

* fix jena-weather

* fix lstm-text-generation

* fix quantiztaion

* fix sentiment
  • Loading branch information
pyu10055 authored Jun 9, 2022
1 parent 2f1828f commit 0ea22fb
Show file tree
Hide file tree
Showing 23 changed files with 10,893 additions and 11,325 deletions.
18 changes: 1 addition & 17 deletions date-conversion-attention/.babelrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@

{
"presets": [
[
"env",
{
"esmodules": false,
"targets": {
"browsers": [
"> 3%"
]
}
}
]
],
"plugins": [
"transform-runtime"
]
"presets": ["@babel/preset-env"]
}
9 changes: 9 additions & 0 deletions date-conversion-attention/.parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "@parcel/config-default",
"transformers": {
"*.{js,mjs,jsx,cjs,ts,tsx}": [
"@parcel/transformer-js",
"@parcel/transformer-react-refresh-wrap"
]
}
}
12 changes: 3 additions & 9 deletions date-conversion-attention/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
"name": "tfjs-examples-date-conversion-attention",
"version": "0.1.0",
"description": "",
"main": "index.js",
"license": "Apache-2.0",
"private": true,
"engines": {
"node": ">=8.11.0"
},
"scripts": {
"build": "cross-env NODE_ENV=production parcel build index.html --public-url ./",
"test": "babel-node run_tests.js",
Expand All @@ -19,13 +15,11 @@
"@tensorflow/tfjs-vis": "^1.4.3"
},
"devDependencies": {
"@babel/core": "7.18.2",
"@babel/node": "7.17.10",
"@babel/preset-env": "7.18.2",
"@tensorflow/tfjs-node": "3.0.0",
"@tensorflow/tfjs-node-gpu": "3.0.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-runtime": "~6.23.0",
"babel-polyfill": "~6.26.0",
"babel-preset-env": "~1.6.1",
"argparse": "^1.0.10",
"buffer": "^6.0.3",
"clang-format": "~1.2.2",
Expand Down
3,115 changes: 1,530 additions & 1,585 deletions date-conversion-attention/yarn.lock

Large diffs are not rendered by default.

18 changes: 1 addition & 17 deletions jena-weather/.babelrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@

{
"presets": [
[
"env",
{
"esmodules": false,
"targets": {
"browsers": [
"> 3%"
]
}
}
]
],
"plugins": [
"transform-runtime"
]
"presets": ["@babel/preset-env"]
}
9 changes: 9 additions & 0 deletions jena-weather/.parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "@parcel/config-default",
"transformers": {
"*.{js,mjs,jsx,cjs,ts,tsx}": [
"@parcel/transformer-js",
"@parcel/transformer-react-refresh-wrap"
]
}
}
14 changes: 4 additions & 10 deletions jena-weather/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
"name": "tfjs-examples-jena-weather",
"version": "0.1.0",
"description": "",
"main": "index.js",
"license": "Apache-2.0",
"private": true,
"engines": {
"node": ">=8.9.0"
},
"dependencies": {
"@tensorflow/tfjs": "^2.6.0",
"@tensorflow/tfjs-vis": "^1.4.3"
Expand All @@ -20,18 +16,16 @@
"train-rnn": "babel-node --max_old_space_size=4096 train-rnn.js"
},
"devDependencies": {
"@babel/core": "7.18.2",
"@babel/node": "7.17.10",
"@babel/preset-env": "7.18.2",
"@tensorflow/tfjs-node": "^2.6.0",
"@tensorflow/tfjs-node-gpu": "^2.6.0",
"argparse": "^1.0.10",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-runtime": "~6.23.0",
"babel-polyfill": "~6.26.0",
"babel-preset-env": "~1.6.1",
"buffer": "^6.0.3",
"clang-format": "~1.2.2",
"cross-env": "^5.1.6",
"parcel": "~2.3.2",
"parcel": "~2.6.0",
"process": "^0.11.10",
"yalc": "~1.0.0-pre.53"
},
Expand Down
Loading

0 comments on commit 0ea22fb

Please sign in to comment.