Commit ae08058e authored by wildfirecode's avatar wildfirecode

1

parent d4a697b7
No preview for this file type
{
"name": "dogborn",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "webpack --config webpack.prod.js",
"watch": "webpack --watch",
"start": "webpack-dev-server --config webpack.dev.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"ts-loader": "^4.0.0",
"tslint": "^5.9.1",
"typescript": "^2.7.2",
"webpack": "^4.4.1",
"webpack-cli": "^2.0.13",
"webpack-dev-server": "^3.1.0",
"webpack-merge": "^4.1.2",
"@types/createjs": "^0.0.29"
}
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"compilerOptions": {
"target": "es5",
"module": "es6",
"outDir": "./dist/",
"sourceMap": true,
"allowJs": false,
"noImplicitAny": false,
"removeComments": true,
"noEmitOnError": true
},
"exclude": [
"node_modules",
"src/components",
"dist"
]
}
\ No newline at end of file
exports.__esModule = true;
exports.rules = {
"only-arrow-functions": true,
"no-namespace": true,
"no-var-keyword": true,
"prefer-const": true,
"no-conditional-assignment": true,
"prefer-for-of": true,
"no-inferrable-types": true,
// "no-magic-numbers": [true, -1, 0, 1],
"cyclomatic-complexity": [true, 20],
"max-line-length": [true, 150],
"max-file-line-count": [true, 500],
"max-classes-per-file": [true, 6],
"quotemark": [true, "single"],
"no-empty-interface": true,
"adjacent-overload-signatures": true,
// "member-access":true,
"no-non-null-assertion": true,
"no-consecutive-blank-lines": true,
// "no-console": [true, "log"],
"no-empty": [true, "allow-empty-catch"],
"no-unused-expression": [true, "allow-fast-null-checks"],
"no-duplicate-super": true,
};
\ No newline at end of file
{
"defaultSeverity": "error",
"extends": [
// "tslint:recommended"
"./tslint-config"
],
"jsRules": {},
"rules": {},
"rulesDirectory": []
}
\ No newline at end of file
const path = require('path');
module.exports = {
entry: './src/index.ts',
module: {
rules: [
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/
}
]
},
resolve: {
extensions: ['.tsx', '.ts', '.js']
},
output: {
filename: 'output.js',
path: path.resolve(__dirname, './dist')
}
};
\ No newline at end of file
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
devtool: 'eval-source-map',
devServer: {
contentBase: './dist',
}
});
\ No newline at end of file
const merge = require('webpack-merge');
const common = require('./webpack.common.js');
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
module.exports = merge(common, {
devtool: 'source-map',
plugins: [
new UglifyJSPlugin(
{ sourceMap: true }
)
]
});
\ No newline at end of file
# phaser3
# 链接
- Welcome to Phaser 3 https://phaser.io/phaser3
- Getting Started with Phaser 3 https://phaser.io/tutorials/getting-started-phaser3
- Getting Started https://phaser.io/phaser3/gettingstarted
- Making your first Phaser 3 game https://phaser.io/tutorials/making-your-first-phaser-3-game
- Phaser 3 Contributors Guide https://phaser.io/phaser3/contributing/index
- The Evolution of Phaser 3 https://phaser.io/phaser3/history
\ No newline at end of file
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