|
@@ -33,8 +33,9 @@
|
|
"lint": "eslint --ext .js,.ts .",
|
|
"lint": "eslint --ext .js,.ts .",
|
|
"tsc": "tsc",
|
|
"tsc": "tsc",
|
|
"prebuild": "npm run lint",
|
|
"prebuild": "npm run lint",
|
|
- "test": "npm run lint && mocha -r ts-node/register \"test/**/*\"",
|
|
|
|
- "coverage": "nyc mocha -r ts-node/register \"test/**/*\"",
|
|
|
|
|
|
+ "test": "npm run lint && mocha \"test/**/*\"",
|
|
|
|
+ "coverage": "nyc mocha \"test/**/*\"",
|
|
|
|
+ "coverage:lcov": "nyc --reporter=lcov mocha \"test/**/*\"",
|
|
"start": "bin/peerjs --port ${PORT:=9000}",
|
|
"start": "bin/peerjs --port ${PORT:=9000}",
|
|
"dev:start": "npm-run-all build start",
|
|
"dev:start": "npm-run-all build start",
|
|
"dev": "nodemon --watch src -e ts --exec npm run dev:start",
|
|
"dev": "nodemon --watch src -e ts --exec npm run dev:start",
|
|
@@ -47,6 +48,7 @@
|
|
"yargs": "^15.3.1"
|
|
"yargs": "^15.3.1"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
|
|
+ "@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@semantic-release/changelog": "^6.0.1",
|
|
"@semantic-release/changelog": "^6.0.1",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@types/chai": "^4.2.11",
|
|
"@types/chai": "^4.2.11",
|
|
@@ -67,7 +69,8 @@
|
|
"rimraf": "^3.0.2",
|
|
"rimraf": "^3.0.2",
|
|
"semantic-release": "^19.0.5",
|
|
"semantic-release": "^19.0.5",
|
|
"sinon": "^7.5.0",
|
|
"sinon": "^7.5.0",
|
|
- "ts-node": "^8.7.0",
|
|
|
|
|
|
+ "source-map-support": "^0.5.21",
|
|
|
|
+ "ts-node": "^8.10.2",
|
|
"typescript": "^4.1.2"
|
|
"typescript": "^4.1.2"
|
|
},
|
|
},
|
|
"engines": {
|
|
"engines": {
|