Make index.js for more convinience

This commit is contained in:
syuilo 2019-02-05 13:46:06 +09:00
parent d6e0a41d9e
commit 1f85e0f8c9
2 changed files with 4 additions and 3 deletions

1
index.js Normal file
View file

@ -0,0 +1 @@
require('./built');

View file

@ -4,11 +4,11 @@
"version": "10.81.0", "version": "10.81.0",
"clientVersion": "2.0.14026", "clientVersion": "2.0.14026",
"codename": "nighthike", "codename": "nighthike",
"main": "./built/index.js", "main": "./index.js",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "node ./built", "start": "node ./index.js",
"debug": "DEBUG=misskey:* node ./built", "debug": "DEBUG=misskey:* node ./index.js",
"build": "webpack && gulp build", "build": "webpack && gulp build",
"webpack": "webpack", "webpack": "webpack",
"watch": "webpack --watch", "watch": "webpack --watch",