Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
{
"name": "6003cem-web-api",
"version": "1.0.0",
"description": "IDK",
"main": "index.js",
"scripts": {
"test": "cross-env DB_DATABASE=test_db jest --testTimeout=1000000",
"test:watch": "cross-env DB_DATABASE=test_db jest --watch",
"testDB:drop": "mysql --user=root --password=codio -e 'DROP DATABASE IF EXISTS test_db;'",
"testDB:create": "mysql --user=root --password=codio -e 'CREATE DATABASE test_db;'",
"testDB:migrate": "mysqldump --user=root --password=codio portfolio | mysql --user=root --password=codio test_db",
"lint": "eslint --ignore-path .gitignore --ignore-path .eslintignore .",
"pretest": "npm run testDB:drop && npm run testDB:create && npm run testDB:migrate",
"posttest": "npm run lint",
"start": "node index.js"
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/"
]
},
"repository": {
"type": "git",
"url": "https://github.coventry.ac.uk/marti243/6003CEM-Web-API.git"
},
"author": "me",
"license": "ISC",
"dependencies": {
"@koa/cors": "^4.0.0",
"bcrypt": "^5.1.0",
"cors": "^2.8.5",
"easy-currencies": "^1.7.0",
"jsonschema": "^1.4.1",
"koa": "^2.14.1",
"koa-basic-auth": "^4.0.0",
"koa-bodyparser": "^4.3.0",
"koa-passport": "^6.0.0",
"koa-router": "^12.0.0",
"node-cache": "^5.1.2",
"passport-http": "^0.3.0",
"promise-mysql": "^5.2.0"
},
"devDependencies": {
"cross-env": "^7.0.3",
"jest": "^29.5.0",
"jsdoc": "^4.0.2",
"nodemon": "^2.0.20",
"supertest": "^6.3.3"
}
}