initial commit
commit
dbc08d2eac
|
@ -0,0 +1 @@
|
||||||
|
node_modules
|
|
@ -0,0 +1,3 @@
|
||||||
|
# AnimationTool
|
||||||
|
|
||||||
|
The animation tool used by Scrambler
|
|
@ -0,0 +1,5 @@
|
||||||
|
export class Page {
|
||||||
|
public Load() {
|
||||||
|
// do load here
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
import { Page } from './app/page';
|
||||||
|
|
||||||
|
const page = new Page();
|
||||||
|
page.Load();
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"name": "animationtool",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "The animation tool by Scrambler",
|
||||||
|
"main": "main.ts",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"build": "webpack --config webpack/prod.config.js",
|
||||||
|
"start:dev": "webpack-dev-server --config webpack/dev.config.js"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/MoonsideGames/AnimationTool.git"
|
||||||
|
},
|
||||||
|
"author": "",
|
||||||
|
"license": "UNLICENSED",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/MoonsideGames/AnimationTool/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/MoonsideGames/AnimationTool#readme",
|
||||||
|
"devDependencies": {
|
||||||
|
"prettier": "^1.18.2",
|
||||||
|
"tslint": "^5.20.0",
|
||||||
|
"tslint-config-prettier": "^1.18.0",
|
||||||
|
"webpack-dev-server": "^3.8.1"
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": [ "tslint:latest", "tslint-config-prettier" ]
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
const path = require("path");
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
mode: "development",
|
||||||
|
devtool: "inline-source-map",
|
||||||
|
entry: "./index.ts",
|
||||||
|
output: {
|
||||||
|
filename: "bundle.js"
|
||||||
|
},
|
||||||
|
resolve: {
|
||||||
|
// Add `.ts` and `.tsx` as a resolvable extension.
|
||||||
|
extensions: [".ts", ".tsx", ".js"]
|
||||||
|
},
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
// all files with a `.ts` or `.tsx` extension will be handled by `ts-loader`
|
||||||
|
{
|
||||||
|
test: /\.tsx?$/,
|
||||||
|
loader: "ts-loader",
|
||||||
|
options: {
|
||||||
|
allowTsInNodeModules: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
devServer: {
|
||||||
|
contentBase: path.join(__dirname, '../dist'),
|
||||||
|
compress: false,
|
||||||
|
port: 8080
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,25 @@
|
||||||
|
const path = require("path");
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
mode: "production",
|
||||||
|
entry: "./index.ts",
|
||||||
|
output: {
|
||||||
|
filename: "bundle.js"
|
||||||
|
},
|
||||||
|
resolve: {
|
||||||
|
// Add `.ts` and `.tsx` as a resolvable extension.
|
||||||
|
extensions: [".ts", ".tsx", ".js"]
|
||||||
|
},
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
// all files with a `.ts` or `.tsx` extension will be handled by `ts-loader`
|
||||||
|
{
|
||||||
|
test: /\.tsx?$/,
|
||||||
|
loader: "ts-loader",
|
||||||
|
options: {
|
||||||
|
allowTsInNodeModules: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in New Issue