Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
new_taobao
Commits
bc6e79f1
Commit
bc6e79f1
authored
Sep 16, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
697d0773
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
31 deletions
+47
-31
package.json
project/src/canvas/game/package.json
+44
-30
StartScene.ts
project/src/canvas/game/src/scenes/StartScene.ts
+2
-0
webpack.dev.js
project/src/canvas/game/webpack.dev.js
+1
-1
No files found.
project/src/canvas/game/package.json
View file @
bc6e79f1
...
@@ -4,12 +4,26 @@
...
@@ -4,12 +4,26 @@
"description"
:
""
,
"description"
:
""
,
"main"
:
"index.html"
,
"main"
:
"index.html"
,
"devDependencies"
:
{
"devDependencies"
:
{
"mock-webpack-plugin"
:
"^3.0.0"
,
"ali-oss"
:
"^4.11.4"
,
"ts-loader"
:
"^8.0.3"
,
"chalk"
:
"^2.3.0"
,
"co"
:
"^4.6.0"
,
"del"
:
"^2.2.1"
,
"fs"
:
"0.0.2"
,
"imagemin"
:
"^7.0.1"
,
"imagemin-mozjpeg"
:
"^8.0.0"
,
"imagemin-pngquant"
:
"^8.0.0"
,
"mock-webpack-plugin"
:
"^2.0.0"
,
"path"
:
"^0.12.7"
,
"progress"
:
"^2.0.0"
,
"ts-loader"
:
"^4.0.0"
,
"tslint"
:
"^5.9.1"
,
"typescript"
:
"^4.0.2"
,
"typescript"
:
"^4.0.2"
,
"webpack-cli"
:
"^3.3.12"
,
"webpack"
:
"^4.1.0"
,
"webpack-dev-server"
:
"^3.11.0"
,
"webpack-cli"
:
"^3.1.1"
,
"webpack-merge"
:
"^5.1.4"
"webpack-dev-server"
:
"^3.1.0"
,
"webpack-merge"
:
"^4.1.2"
,
"uglifyjs-webpack-plugin"
:
"^2.1.2"
,
"psd"
:
"^3.2.0"
},
},
"dependencies"
:
{},
"dependencies"
:
{},
"scripts"
:
{
"scripts"
:
{
...
...
project/src/canvas/game/src/scenes/StartScene.ts
View file @
bc6e79f1
...
@@ -7,5 +7,7 @@ export class StartScene extends Scene {
...
@@ -7,5 +7,7 @@ export class StartScene extends Scene {
var
gamecanvas
:
FYGE
.
Container
=
new
FYGE
.
Container
();
var
gamecanvas
:
FYGE
.
Container
=
new
FYGE
.
Container
();
gamecanvas
.
position
.
set
(
0
,
0
);
gamecanvas
.
position
.
set
(
0
,
0
);
this
.
addChild
(
gamecanvas
);
this
.
addChild
(
gamecanvas
);
console
.
log
(
'hello canvas '
)
}
}
}
}
project/src/canvas/game/webpack.dev.js
View file @
bc6e79f1
const
merge
=
require
(
'webpack-merge'
);
const
{
merge
}
=
require
(
'webpack-merge'
);
const
common
=
require
(
'./webpack.common.js'
);
const
common
=
require
(
'./webpack.common.js'
);
const
webpack
=
require
(
'webpack'
);
const
webpack
=
require
(
'webpack'
);
const
MockWebpackPlugin
=
require
(
'mock-webpack-plugin'
);
const
MockWebpackPlugin
=
require
(
'mock-webpack-plugin'
);
...
...
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