Commit bc6e79f1 authored by wildfirecode13's avatar wildfirecode13

1

parent 697d0773
{ {
"name": "tbgame", "name": "tbgame",
"version": "1.0.0", "version": "1.0.0",
"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",
"typescript": "^4.0.2", "co": "^4.6.0",
"webpack-cli": "^3.3.12", "del": "^2.2.1",
"webpack-dev-server": "^3.11.0", "fs": "0.0.2",
"webpack-merge": "^5.1.4" "imagemin": "^7.0.1",
}, "imagemin-mozjpeg": "^8.0.0",
"dependencies": {}, "imagemin-pngquant": "^8.0.0",
"scripts": { "mock-webpack-plugin": "^2.0.0",
"psd": "node scripts/psdH.js && node scripts/flushRes", "path": "^0.12.7",
"createModule": "node scripts/createModule", "progress": "^2.0.0",
"flushRes": "node scripts/flushRes", "ts-loader": "^4.0.0",
"handleRes": "node scripts/delRel && node scripts/copyRes && node scripts/createTm && node scripts/textureMerge && node scripts/delTm && node scripts/imageMin", "tslint": "^5.9.1",
"upload": "node scripts/upload", "typescript": "^4.0.2",
"build": "npm run handleRes && node scripts/mergeJson && npm run upload && npm run buildTS", "webpack": "^4.1.0",
"watch": "webpack --watch", "webpack-cli": "^3.1.1",
"dev": "webpack-dev-server --open --config webpack.dev.js --host 0.0.0.0", "webpack-dev-server": "^3.1.0",
"buildTS": "webpack --config webpack.prod.js && node scripts/mergeJs", "webpack-merge": "^4.1.2",
"buildTSAndCopy": "webpack --config webpack.prod.js && node scripts/mergeJs && node scripts/copyJs", "uglifyjs-webpack-plugin": "^2.1.2",
"copyJs": "node scripts/copyJs" "psd": "^3.2.0"
}, },
"author": "MrKwon", "dependencies": {},
"license": "ISC" "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"
}
...@@ -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 ')
} }
} }
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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment