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