Permalink
Cannot retrieve contributors at this time
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?
7955125-back-end/package.json
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45 lines (45 sloc)
1.32 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "coursework-submission", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "cross-env DB_DATABASE=test_db jest --testTimeout=10000", | |
"test:watch": "cross-env DB_DATABASE=test_db jest --watch", | |
"testDB:drop": "mysql --user=root --password=codio -e 'DROP DATABASE test_db;'", | |
"testDB:create": "mysql --user=root --password=codio -e 'CREATE DATABASE test_db;'", | |
"testDB:migrate": "mysqldump --user=root --password=codio Dog | mysql --user=root --password=codio test_db", | |
"pretest": "npm run testDB:drop && npm run testDB:create && npm run testDB:migrate" | |
}, | |
"proxy": "http://localhost:52131", | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"@koa/cors": "^3.1.0", | |
"bcrypt": "^5.0.0", | |
"fs": "^0.0.1-security", | |
"jsonschema": "^1.2.11", | |
"koa": "^2.13.0", | |
"koa-body": "^4.2.0", | |
"koa-bodyparser": "^4.3.0", | |
"koa-passport": "^4.1.3", | |
"koa-router": "^9.4.0", | |
"mime-types": "^2.1.29", | |
"passport-http": "^0.3.0", | |
"promise-mysql": "^4.1.3", | |
"role-acl": "^4.5.4", | |
"uuid": "^8.3.2" | |
}, | |
"devDependencies": { | |
"cross-env": "^7.0.3", | |
"jest": "^26.6.3", | |
"jsdoc": "^3.6.6", | |
"supertest": "^6.1.3" | |
}, | |
"jest": { | |
"testEnvironment": "node", | |
"coveragePathIgnorePatterns": [ | |
"/node_modules/" | |
] | |
} | |
} |