Skip to content

Commit e30ff86

Browse files
authored
[handpose]Fix demo. (#765)
1 parent 233b6d1 commit e30ff86

File tree

3 files changed

+1735
-1753
lines changed

3 files changed

+1735
-1753
lines changed

handpose/demo/.babelrc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,5 @@
1212
}
1313
]
1414
],
15-
"plugins": [
16-
[
17-
"transform-runtime",
18-
{
19-
"polyfill": false
20-
}
21-
]
22-
]
15+
"plugins": ["@babel/plugin-transform-runtime"]
2316
}

handpose/demo/package.json

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,26 @@
1919
"watch": "cross-env NODE_ENV=development parcel index.html --no-hmr ",
2020
"build": "cross-env NODE_ENV=production parcel build index.html --public-url ./",
2121
"lint": "eslint .",
22-
"link-local": "yalc link @tensorflow-models/handpose"
22+
"link-local": "yalc link @tensorflow-models/handpose",
23+
"build-dep": "cd ../ && yarn && yarn build"
2324
},
2425
"browser": {
2526
"crypto": false
2627
},
2728
"devDependencies": {
28-
"babel-core": "~6.26.3",
29-
"babel-plugin-transform-runtime": "~6.23.0",
30-
"babel-polyfill": "~6.26.0",
31-
"babel-preset-env": "~1.7.0",
29+
"@babel/core": "^7.7.5",
30+
"@babel/plugin-transform-runtime": "^7.7.6",
31+
"@babel/preset-env": "^7.7.6",
32+
"babel-plugin-external-helpers": "^6.22.0",
33+
"babel-preset-env": "^1.7.0",
3234
"clang-format": "~1.2.2",
3335
"cross-env": "^5.2.0",
34-
"dat.gui": "~0.7.2",
35-
"eslint": "~4.19.1",
36-
"eslint-config-google": "~0.9.1",
37-
"parcel-bundler": "~1.12.5",
38-
"yalc": "~1.0.0-pre.50"
36+
"eslint": "^4.19.1",
37+
"eslint-config-google": "^0.9.1",
38+
"parcel-bundler": "1.12.5",
39+
"parcel-plugin-static-files-copy": "^2.5.1",
40+
"yalc": "~1.0.0-pre.50",
41+
"dat.gui": "~0.7.2"
3942
},
4043
"resolutions": {
4144
"is-svg": "4.3.1"

0 commit comments

Comments
 (0)