Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_canvas
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
hello_canvas
Commits
fc1da169
Commit
fc1da169
authored
Sep 16, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
b188f161
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
README.md
README.md
+35
-0
No files found.
README.md
View file @
fc1da169
...
@@ -51,3 +51,38 @@ onAddToStage() {
...
@@ -51,3 +51,38 @@ onAddToStage() {
this
.
y
=
this
.
stage
.
viewRect
.
height
/
2
-
1624
/
2
;
this
.
y
=
this
.
stage
.
viewRect
.
height
/
2
-
1624
/
2
;
}
}
```
```
# package.json更新
```
js
{
"name"
:
"tbgame"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"index.html"
,
"devDependencies"
:
{
"mock-webpack-plugin"
:
"^3.0.0"
,
"ts-loader"
:
"^8.0.3"
,
"typescript"
:
"^4.0.2"
,
"webpack-cli"
:
"^3.3.12"
,
"webpack-dev-server"
:
"^3.11.0"
,
"webpack-merge"
:
"^5.1.4"
},
"dependencies"
:
{},
"scripts"
:
{
"psd"
:
"node scripts/psdH.js && node scripts/flushRes"
,
"createModule"
:
"node scripts/createModule"
,
"flushRes"
:
"node scripts/flushRes"
,
"handleRes"
:
"node scripts/delRel && node scripts/copyRes && node scripts/createTm && node scripts/textureMerge && node scripts/delTm && node scripts/imageMin"
,
"upload"
:
"node scripts/upload"
,
"build"
:
"npm run handleRes && node scripts/mergeJson && npm run upload && npm run buildTS"
,
"watch"
:
"webpack --watch"
,
"dev"
:
"webpack-dev-server --open --config webpack.dev.js --host 0.0.0.0"
,
"buildTS"
:
"webpack --config webpack.prod.js && node scripts/mergeJs"
,
"buildTSAndCopy"
:
"webpack --config webpack.prod.js && node scripts/mergeJs && node scripts/copyJs"
,
"copyJs"
:
"node scripts/copyJs"
},
"author"
:
"MrKwon"
,
"license"
:
"ISC"
}
```
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