Make index.js for more convinience

This commit is contained in:
syuilo 2019-02-05 13:46:06 +09:00
parent 78d22dbd22
commit c71b24987d
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
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",
"clientVersion": "2.0.14026",
"codename": "nighthike",
"main": "./built/index.js",
"main": "./index.js",
"private": true,
"scripts": {
"start": "node ./built",
"debug": "DEBUG=misskey:* node ./built",
"start": "node ./index.js",
"debug": "DEBUG=misskey:* node ./index.js",
"build": "webpack && gulp build",
"webpack": "webpack",
"watch": "webpack --watch",