Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
DuibaGameTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
钱根
DuibaGameTemplate
Commits
4a852e6a
Commit
4a852e6a
authored
Jun 06, 2022
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
@babel/core
parent
7767e888
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
4 deletions
+74
-4
package.json
test/package.json
+5
-4
GamePage.jsx
test/src/GamePage/GamePage.jsx
+1
-0
yarn.lock
test/yarn.lock
+68
-0
No files found.
test/package.json
View file @
4a852e6a
...
@@ -10,20 +10,21 @@
...
@@ -10,20 +10,21 @@
"react-dom"
:
"17.0.2"
"react-dom"
:
"17.0.2"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@babel/core"
:
"^7.18.2"
,
"@babel/preset-env"
:
"^7.18.2"
,
"@babel/preset-env"
:
"^7.18.2"
,
"@babel/preset-react"
:
"^7.17.12"
,
"@babel/preset-react"
:
"^7.17.12"
,
"@rollup/plugin-babel"
:
"^5.3.1"
,
"@rollup/plugin-json"
:
"^4.1.0"
,
"@rollup/plugin-json"
:
"^4.1.0"
,
"@rollup/plugin-node-resolve"
:
"^13.1.1"
,
"@rollup/plugin-node-resolve"
:
"^13.1.1"
,
"less"
:
"^4.1.2"
,
"less-loader"
:
"^11.0.0"
,
"less-loader"
:
"^11.0.0"
,
"rollup"
:
"^2.61.1"
,
"rollup"
:
"^2.61.1"
,
"rollup-plugin-commonjs"
:
"^10.1.0"
,
"rollup-plugin-commonjs"
:
"^10.1.0"
,
"rollup-plugin-livereload"
:
"^2.0.5"
,
"rollup-plugin-livereload"
:
"^2.0.5"
,
"rollup-plugin-peer-deps-external"
:
"^2.2.4"
,
"rollup-plugin-progress"
:
"^1.1.2"
,
"rollup-plugin-progress"
:
"^1.1.2"
,
"rollup-plugin-serve"
:
"^1.1.0"
,
"rollup-plugin-serve"
:
"^1.1.0"
,
"less"
:
"^4.1.2"
,
"rollup-plugin-styles"
:
"^4.0.0"
"rollup-plugin-styles"
:
"^4.0.0"
,
"@rollup/plugin-babel"
:
"^5.3.1"
,
"rollup-plugin-peer-deps-external"
:
"^2.2.4"
},
},
"author"
:
"haiyoucuv"
,
"author"
:
"haiyoucuv"
,
"license"
:
"ISC"
"license"
:
"ISC"
...
...
test/src/GamePage/GamePage.jsx
View file @
4a852e6a
...
@@ -27,6 +27,7 @@ export default class GamePage extends Component {
...
@@ -27,6 +27,7 @@ export default class GamePage extends Component {
this
.
div
.
appendChild
(
canvas
);
this
.
div
.
appendChild
(
canvas
);
this
.
game
=
new
Game
(
canvas
);
this
.
game
=
new
Game
(
canvas
);
this
.
game
.
initWebEvent
();
this
.
game
.
initWebEvent
();
}
}
componentWillUnmount
()
{
componentWillUnmount
()
{
...
...
test/yarn.lock
View file @
4a852e6a
...
@@ -2,6 +2,14 @@
...
@@ -2,6 +2,14 @@
# yarn lockfile v1
# yarn lockfile v1
"@ampproject/remapping@^2.1.0":
version "2.2.0"
resolved "http://npm.dui88.com:80/@ampproject%2fremapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d"
integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==
dependencies:
"@jridgewell/gen-mapping" "^0.1.0"
"@jridgewell/trace-mapping" "^0.3.9"
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.16.7":
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.16.7":
version "7.16.7"
version "7.16.7"
resolved "http://npm.dui88.com:80/@babel%2fcode-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789"
resolved "http://npm.dui88.com:80/@babel%2fcode-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789"
...
@@ -14,6 +22,27 @@
...
@@ -14,6 +22,27 @@
resolved "http://npm.dui88.com:80/@babel%2fcompat-data/-/compat-data-7.17.10.tgz#711dc726a492dfc8be8220028b1b92482362baab"
resolved "http://npm.dui88.com:80/@babel%2fcompat-data/-/compat-data-7.17.10.tgz#711dc726a492dfc8be8220028b1b92482362baab"
integrity sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==
integrity sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw==
"@babel/core@^7.18.2":
version "7.18.2"
resolved "http://npm.dui88.com:80/@babel%2fcore/-/core-7.18.2.tgz#87b2fcd7cce9becaa7f5acebdc4f09f3dd19d876"
integrity sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==
dependencies:
"@ampproject/remapping" "^2.1.0"
"@babel/code-frame" "^7.16.7"
"@babel/generator" "^7.18.2"
"@babel/helper-compilation-targets" "^7.18.2"
"@babel/helper-module-transforms" "^7.18.0"
"@babel/helpers" "^7.18.2"
"@babel/parser" "^7.18.0"
"@babel/template" "^7.16.7"
"@babel/traverse" "^7.18.2"
"@babel/types" "^7.18.2"
convert-source-map "^1.7.0"
debug "^4.1.0"
gensync "^1.0.0-beta.2"
json5 "^2.2.1"
semver "^6.3.0"
"@babel/generator@^7.18.2":
"@babel/generator@^7.18.2":
version "7.18.2"
version "7.18.2"
resolved "http://npm.dui88.com:80/@babel%2fgenerator/-/generator-7.18.2.tgz#33873d6f89b21efe2da63fe554460f3df1c5880d"
resolved "http://npm.dui88.com:80/@babel%2fgenerator/-/generator-7.18.2.tgz#33873d6f89b21efe2da63fe554460f3df1c5880d"
...
@@ -211,6 +240,15 @@
...
@@ -211,6 +240,15 @@
"@babel/traverse" "^7.16.8"
"@babel/traverse" "^7.16.8"
"@babel/types" "^7.16.8"
"@babel/types" "^7.16.8"
"@babel/helpers@^7.18.2":
version "7.18.2"
resolved "http://npm.dui88.com:80/@babel%2fhelpers/-/helpers-7.18.2.tgz#970d74f0deadc3f5a938bfa250738eb4ac889384"
integrity sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg==
dependencies:
"@babel/template" "^7.16.7"
"@babel/traverse" "^7.18.2"
"@babel/types" "^7.18.2"
"@babel/highlight@^7.16.7":
"@babel/highlight@^7.16.7":
version "7.17.12"
version "7.17.12"
resolved "http://npm.dui88.com:80/@babel%2fhighlight/-/highlight-7.17.12.tgz#257de56ee5afbd20451ac0a75686b6b404257351"
resolved "http://npm.dui88.com:80/@babel%2fhighlight/-/highlight-7.17.12.tgz#257de56ee5afbd20451ac0a75686b6b404257351"
...
@@ -910,6 +948,14 @@
...
@@ -910,6 +948,14 @@
"@babel/helper-validator-identifier" "^7.16.7"
"@babel/helper-validator-identifier" "^7.16.7"
to-fast-properties "^2.0.0"
to-fast-properties "^2.0.0"
"@jridgewell/gen-mapping@^0.1.0":
version "0.1.1"
resolved "http://npm.dui88.com:80/@jridgewell%2fgen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996"
integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==
dependencies:
"@jridgewell/set-array" "^1.0.0"
"@jridgewell/sourcemap-codec" "^1.4.10"
"@jridgewell/gen-mapping@^0.3.0":
"@jridgewell/gen-mapping@^0.3.0":
version "0.3.1"
version "0.3.1"
resolved "http://npm.dui88.com:80/@jridgewell%2fgen-mapping/-/gen-mapping-0.3.1.tgz#cf92a983c83466b8c0ce9124fadeaf09f7c66ea9"
resolved "http://npm.dui88.com:80/@jridgewell%2fgen-mapping/-/gen-mapping-0.3.1.tgz#cf92a983c83466b8c0ce9124fadeaf09f7c66ea9"
...
@@ -1178,6 +1224,13 @@ commander@^7.2.0:
...
@@ -1178,6 +1224,13 @@ commander@^7.2.0:
resolved "http://npm.dui88.com:80/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
resolved "http://npm.dui88.com:80/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7"
integrity sha1-o2y1fQtQHOEI5NIFWaFQo5HZerc=
integrity sha1-o2y1fQtQHOEI5NIFWaFQo5HZerc=
convert-source-map@^1.7.0:
version "1.8.0"
resolved "http://npm.dui88.com:80/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369"
integrity sha1-8zc8MtIbTXgN2ABFFGhPt5HKQ2k=
dependencies:
safe-buffer "~5.1.1"
copy-anything@^2.0.1:
copy-anything@^2.0.1:
version "2.0.6"
version "2.0.6"
resolved "http://npm.dui88.com:80/copy-anything/-/copy-anything-2.0.6.tgz#092454ea9584a7b7ad5573062b2a87f5900fc480"
resolved "http://npm.dui88.com:80/copy-anything/-/copy-anything-2.0.6.tgz#092454ea9584a7b7ad5573062b2a87f5900fc480"
...
@@ -1446,6 +1499,11 @@ function-bind@^1.1.1:
...
@@ -1446,6 +1499,11 @@ function-bind@^1.1.1:
resolved "http://npm.dui88.com:80/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
resolved "http://npm.dui88.com:80/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=
integrity sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=
gensync@^1.0.0-beta.2:
version "1.0.0-beta.2"
resolved "http://npm.dui88.com:80/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0"
integrity sha1-MqbudsPX9S1GsrGuXZP+qFgKJeA=
get-intrinsic@^1.0.2, get-intrinsic@^1.1.1:
get-intrinsic@^1.0.2, get-intrinsic@^1.1.1:
version "1.1.1"
version "1.1.1"
resolved "http://npm.dui88.com:80/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6"
resolved "http://npm.dui88.com:80/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6"
...
@@ -1601,6 +1659,11 @@ json-parse-even-better-errors@^2.3.0:
...
@@ -1601,6 +1659,11 @@ json-parse-even-better-errors@^2.3.0:
resolved "http://npm.dui88.com:80/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d"
resolved "http://npm.dui88.com:80/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d"
integrity sha1-fEeAWpQxmSjgV3dAXcEuH3pO4C0=
integrity sha1-fEeAWpQxmSjgV3dAXcEuH3pO4C0=
json5@^2.2.1:
version "2.2.1"
resolved "http://npm.dui88.com:80/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c"
integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==
jsonfile@^6.0.1:
jsonfile@^6.0.1:
version "6.1.0"
version "6.1.0"
resolved "http://npm.dui88.com:80/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
resolved "http://npm.dui88.com:80/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
...
@@ -2266,6 +2329,11 @@ rollup@^2.61.1:
...
@@ -2266,6 +2329,11 @@ rollup@^2.61.1:
optionalDependencies:
optionalDependencies:
fsevents "~2.3.2"
fsevents "~2.3.2"
safe-buffer@~5.1.1:
version "5.1.2"
resolved "http://npm.dui88.com:80/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha1-mR7GnSluAxN0fVm9/St0XDX4go0=
"safer-buffer@>= 2.1.2 < 3":
"safer-buffer@>= 2.1.2 < 3":
version "2.1.2"
version "2.1.2"
resolved "http://npm.dui88.com:80/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
resolved "http://npm.dui88.com:80/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment