Refactor
This commit is contained in:
parent
5cb338d5b1
commit
e6c782c617
3 changed files with 3 additions and 2 deletions
|
@ -9,8 +9,9 @@
|
||||||
"bugs": "https://github.com/syuilo/misskey/issues",
|
"bugs": "https://github.com/syuilo/misskey/issues",
|
||||||
"main": "./built/index.js",
|
"main": "./built/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"config": "node ./init.js",
|
"config": "node ./tools/init.js",
|
||||||
"start": "node ./built/index.js",
|
"start": "node ./built/index.js",
|
||||||
|
"update": "./tools/update.sh",
|
||||||
"swagger": "node ./swagger.js",
|
"swagger": "node ./swagger.js",
|
||||||
"build": "gulp build",
|
"build": "gulp build",
|
||||||
"rebuild": "gulp rebuild",
|
"rebuild": "gulp rebuild",
|
||||||
|
|
|
@ -2,7 +2,7 @@ const fs = require('fs');
|
||||||
const yaml = require('js-yaml');
|
const yaml = require('js-yaml');
|
||||||
const inquirer = require('inquirer');
|
const inquirer = require('inquirer');
|
||||||
|
|
||||||
const configDirPath = `${__dirname}/.config`;
|
const configDirPath = `${__dirname}/../.config`;
|
||||||
const configPath = `${configDirPath}/config.yml`;
|
const configPath = `${configDirPath}/config.yml`;
|
||||||
|
|
||||||
const form = [
|
const form = [
|
Loading…
Reference in a new issue