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

초기 환경 설정 변경

parent 2eab9ded
...@@ -41,5 +41,6 @@ ...@@ -41,5 +41,6 @@
"last 1 safari version" "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 RoomModel = (sequelize) => {
const Room = sequelize.define( const Room = sequelize.define(
......
import bcrypt from "bcryptjs"; import bcrypt from "bcryptjs";
import { DataTypes } from "sequelize"; import pkg from "sequelize";
const { DataTypes } = pkg;
const UserModel = (sequelize) => { const UserModel = (sequelize) => {
const User = sequelize.define( 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 @@ ...@@ -3,10 +3,12 @@
"version": "1.0.0", "version": "1.0.0",
"description": "Streaming Service", "description": "Streaming Service",
"main": "index.js", "main": "index.js",
"type": "module",
"scripts": { "scripts": {
"start": "nodemon index.js", "start": "node dist/index.js",
"dev": "nodemon -r esm index.js", "build": "tsc",
"build": "tsc -p ." "dev": "nodemon",
"test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": { "repository": {
"type": "git", "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