Commit 2bf918de authored by Kim, Chaerin's avatar Kim, Chaerin
Browse files

초기 환경 설정 변경

parent 2eab9ded
......@@ -41,5 +41,6 @@
"last 1 safari version"
]
},
"proxy": "http://localhost:8080"
"proxy": "http://localhost:8080",
"secure": false
}
import { DataTypes } from "sequelize";
import pkg from "sequelize";
const { DataTypes } = pkg;
const RoomModel = (sequelize) => {
const Room = sequelize.define(
......
import bcrypt from "bcryptjs";
import { DataTypes } from "sequelize";
import pkg from "sequelize";
const { DataTypes } = pkg;
const UserModel = (sequelize) => {
const User = sequelize.define(
......
{
"watch": ["server"],
"ext": "js,jsx,json",
"ignore": ["src/**/*.spec.js"],
"exec": "node ./index.js"
}
\ No newline at end of file
......@@ -3,10 +3,12 @@
"version": "1.0.0",
"description": "Streaming Service",
"main": "index.js",
"type": "module",
"scripts": {
"start": "nodemon index.js",
"dev": "nodemon -r esm index.js",
"build": "tsc -p ."
"start": "node dist/index.js",
"build": "tsc",
"dev": "nodemon",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment