diff --git a/.eslintrc.json b/.eslintrc.json index 285f121c12b659a30f02afac79848a3c640eb414..8b778ff44191480ece43d95379f3efcc6f00cbaa 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,7 +5,7 @@ "node": true, "jest": true }, - "extends": "eslint:recommended", + "extends": ["eslint:recommended", "prettier"], "globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" diff --git a/package-lock.json b/package-lock.json index 51e5ec1581f8c44133cb5bedfe5574245bddc23b..e88266b839c919cc811be65632c52d7a667af8ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2140,9 +2140,9 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, "ejs": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.7.1.tgz", - "integrity": "sha512-kS/gEPzZs3Y1rRsbGX4UOSjtP/CeJP0CxSNZHYxGfVM/VgLcv0ZqM7C45YyTj2DI2g7+P9Dd24C+IMIg6D0nYQ==", + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.7.2.tgz", + "integrity": "sha512-rHGwtpl67oih3xAHbZlpw5rQAt+YV1mSCu2fUZ9XNrfaGEhom7E+AUiMci+ByP4aSfuAWx7hE0BPuJLMrpXwOw==", "dev": true }, "elliptic": { @@ -2436,6 +2436,15 @@ } } }, + "eslint-config-prettier": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.5.0.tgz", + "integrity": "sha512-cjXp8SbO9VFGW/Z7mbTydqS9to8Z58E5aYhj3e1+Hx7lS9s6gL5ILKNpCqZAFOVYRcSkWPFYljHrEh8QFEK5EQ==", + "dev": true, + "requires": { + "get-stdin": "^6.0.0" + } + }, "eslint-scope": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", @@ -3559,6 +3568,12 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, + "get-stdin": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", + "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", + "dev": true + }, "get-stream": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", @@ -3678,9 +3693,9 @@ } }, "handlebars": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.1.tgz", - "integrity": "sha512-C29UoFzHe9yM61lOsIlCE5/mQVGrnIOrOq7maQl76L7tYPCgC1og0Ajt6uWnX4ZTxBPnjw+CUvawphwCfJgUnA==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.2.tgz", + "integrity": "sha512-29Zxv/cynYB7mkT1rVWQnV7mGX6v7H/miQ6dbEpYTKq5eJBN7PsRB+ViYJlcT6JINTSu4dVB9kOqEun78h6Exg==", "dev": true, "requires": { "neo-async": "^2.6.0", diff --git a/package.json b/package.json index 022fbe40914f4f187cb5994b1661c9cea97c6770..7767796697e115d85aa50bda71bc22f26bbb6ba2 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "liowebrtc": "file:src/liowebrtc", "pako": "^1.0.10", "signalbuddy": "file:src/signalbuddy", + "rtcpeerconnection": "file:src/rtcpeerconnection", "uuid": "^3.3.3", "webrtc-adapter": "^7.3.0", "what-the-pack": "^2.0.3", @@ -42,6 +43,7 @@ "devDependencies": { "@babel/plugin-transform-modules-commonjs": "^7.6.0", "eslint": "^6.5.1", + "eslint-config-prettier": "^6.5.0", "jest": "^24.9.0", "prettier": "^1.18.2", "webpack": "^4.41.0",