Skip to content

Commit a29f5ca

Browse files
committed
some command
1 parent 7430b7b commit a29f5ca

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"no-console": 0,
1212
"no-mixed-operators": 0,
1313
"no-continue": 0,
14-
"no-nested-ternary": 0
14+
"no-nested-ternary": 0,
15+
"no-await-in-loop": 0
1516
},
1617
"env": {
1718
"node": true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ npm-debug.log
66
public
77
data
88
.DS_Store
9+
dist

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ logger.Default.info('CREATE OUTPUT DIR', output);
6868
}
6969
let data;
7070
try {
71-
data = await utils.createPlayerData(uuid, banned); // eslint-disable-line
71+
data = await utils.createPlayerData(uuid, banned);
7272
} catch (error) {
7373
progress.tick(uuid);
7474
continue;

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
},
99
"scripts": {
1010
"test": "echo \"Error: no test specified\" && exit 1",
11-
"start": "babel-node -- index.js"
11+
"start": "babel-node -- index.js",
12+
"prod": "node dist/index.js",
13+
"build": "rm -rf dist && babel *.js --out-dir dist"
1214
},
1315
"repository": {
1416
"type": "git",

0 commit comments

Comments
 (0)