add tests
This commit is contained in:
parent
9e9e8149cc
commit
6ac670a25b
2
install
2
install
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
PACKAGES="gulp-cli gulper gulp"
|
||||
PACKAGES="gulp-cli gulper gulp mocha"
|
||||
|
||||
if [[ $APP_DEBUG == 'true' ]]; then
|
||||
npm i
|
||||
|
|
11
package.json
11
package.json
|
@ -4,7 +4,7 @@
|
|||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "mocha './test'",
|
||||
"dev": "gulp serve_dev",
|
||||
"prod": "node index.js"
|
||||
},
|
||||
|
@ -12,12 +12,15 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"crc-32": "^1.2.2",
|
||||
"dotenv": "^16.0.3",
|
||||
"express": "^4.18.2",
|
||||
"express-session": "^1.17.3",
|
||||
"glob": "^8.1.0",
|
||||
"gulp": "^4.0.2",
|
||||
"js-base64": "^3.7.5",
|
||||
"mocha": "^10.2.0",
|
||||
"pug": "^3.0.2",
|
||||
"gulp": "^4.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"unit.js": "^2.1.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue