added mocha

This commit is contained in:
srgooglo 2022-01-10 11:59:19 +01:00
parent c890511d77
commit bea587f56a

View File

@ -6,7 +6,8 @@
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
"start": "corenode-node ./src/bin/server.js", "start": "corenode-node ./src/bin/server.js",
"build": "corenode-cli build --parallel --clean --fix && chmod -R 777 ./dist" "build": "corenode-cli build --parallel --clean --fix && chmod -R 777 ./dist",
"test": "mocha"
}, },
"bin": { "bin": {
"linebridge": "./bin/server.js" "linebridge": "./bin/server.js"
@ -31,5 +32,8 @@
"nanoid": "^3.1.30", "nanoid": "^3.1.30",
"socket.io": "^4.4.0", "socket.io": "^4.4.0",
"uuid": "^8.3.2" "uuid": "^8.3.2"
},
"devDependencies": {
"mocha": "^9.1.3"
} }
} }