-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 1.75 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "url-shortener",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"start": "node app.js",
"dev": "nodemon --inspect -r dotenv/config app.js",
"test": "NODE_ENV=test npx sequelize-cli db:drop && NODE_ENV=test npx sequelize-cli db:create && NODE_ENV=test npx sequelize-cli db:migrate && NODE_ENV=test npx sequelize-cli db:seed:all && NODE_ENV=test BASE_URL=http://127.0.0.1:5000 PORT=5000 nyc --reporter=html --reporter=text mocha --exit && NODE_ENV=test npx sequelize-cli db:drop",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"db:reset": "npx sequelize-cli db:drop && npx sequelize-cli db:create && npx sequelize-cli db:migrate && npx sequelize-cli db:seed:all",
"db:init": "npx sequelize-cli db:drop && npx sequelize-cli db:create && npx sequelize-cli db:migrate && npx sequelize-cli db:seed:all"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HermannKK/url-shortener.git"
},
"author": "HermannKK",
"license": "ISC",
"bugs": {
"url": "https://github.com/HermannKK/url-shortener/issues"
},
"homepage": "https://github.com/HermannKK/url-shortener#readme",
"engines": {
"node": "12.x"
},
"dependencies": {
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"config": "^3.3.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"http-errors": "^1.8.0",
"pg": "^8.3.3",
"pg-hstore": "^2.3.3",
"sequelize": "^6.3.5",
"serve-favicon": "^2.5.0",
"shortid": "^2.2.15",
"valid-url": "^1.0.9"
},
"devDependencies": {
"coveralls": "^3.1.0",
"eslint": "^7.9.0",
"eslint-config-google": "^0.14.0",
"mocha": "^8.1.3",
"morgan": "^1.10.0",
"nodemon": "^2.0.4",
"nyc": "^15.1.0",
"sequelize-cli": "^6.2.0"
}
}