Skip to content

Commit 25841ca

Browse files
committed
refactor(skin): refactor skin renderer into a webapp component
1 parent 491e5a9 commit 25841ca

22 files changed

+1519
-7250
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
es2020: true,
77
node: true,
88
},
9-
"parser": "babel-eslint",
9+
parser: 'babel-eslint',
1010
extends: [
1111
'eslint:recommended',
1212
],

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,12 @@ _You need to do these commands in a series._
1010
1. Clone the project.
1111
2. Run `npm install`.
1212
3. Rename `config.example.yml` to `config.yml`, read it and update it with your preferences.
13-
4. Run `npm start`. It might take a long time runing several tasks for each of your players, so be patient. The result data will be written to the directory you defined as `render.output` in `config.yml`.
13+
4. Run `npm start`. It might take a long time running several tasks for each of your players, so be patient. The result data will be written to the directory you defined as `render.output` in `config.yml`.
1414

1515
## Build web pages
1616
1. Go into `web` folder.
1717
2. Run `npm install && npm run build`.
1818

19-
## Build skin render
20-
1. Go into `skin` folder.
21-
2. Run `npm install && npm run build`.
22-
2319
## Prepare to deploy
2420
Now you can find all the files you need in the `web/dist` folder. Create a folder named `webroot` and collect your files:
2521

@@ -39,7 +35,6 @@ Your webroot folder should now look like this:
3935
+ fonts
4036
+ img
4137
+ js
42-
+ skin
4338
```
4439

4540
## That's all!

skin/.babelrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

skin/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

skin/.eslintrc

Lines changed: 0 additions & 22 deletions
This file was deleted.

skin/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

skin/index.html

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)