-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 2 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
{
"name": "epochtalk-core-pg",
"version": "1.0.10",
"description": "Epochtalk Core for PostgreSQL",
"main": "index.js",
"scripts": {
"db-drop": "dropdb epoch_test --if-exists",
"db-create": "createdb epoch_test",
"test-migrate": "NODE_ENV=test npm run db-drop && NODE_ENV=test npm run db-create && psql epoch_test < schema.sql",
"test-migrate-down": "NODE_ENV=test npm run db-drop",
"test-report": "NODE_ENV=test npm run db-drop && NODE_ENV=test npm run db-create && npm run test-migrate && NODE_ENV=test node_modules/.bin/lab --flat -r html -o test/coverage.html",
"test-fixtures": "NODE_ENV=test npm run db-drop && NODE_ENV=test npm run db-create && npm run test-migrate && NODE_ENV=test node_modules/.bin/lab test/seed/test-fixtures.js --flat -v",
"test-categories": "NODE_ENV=test npm run db-drop && NODE_ENV=test npm run db-create && npm run test-migrate && NODE_ENV=test node_modules/.bin/lab test/categories.js --flat -v",
"test-boards": "NODE_ENV=test npm run db-drop && NODE_ENV=test npm run db-create && npm run test-migrate && NODE_ENV=test node_modules/.bin/lab test/boards.js --flat -v",
"test-threads": "NODE_ENV=test npm run db-drop && NODE_ENV=test npm run db-create && npm run test-migrate && NODE_ENV=test node_modules/.bin/lab test/threads.js --flat -v",
"test": "npm run test-migrate && npm run test-migrate-down"
},
"repository": {
"type": "git",
"url": "https://github.com/epochtalk/core-pg.git"
},
"author": "James Wang <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/epochtalk/core-pg/issues"
},
"homepage": "https://github.com/epochtalk/core-pg",
"dependencies": {
"bcrypt": "^3.0.3",
"bluebird": "^3.5.1",
"change-case": "^2.3.0",
"deep-rename-keys": "^0.1.0",
"flat": "^1.6.0",
"json": "^9.0.3",
"lodash": "^4.17.11",
"pg": "^7.8.0",
"slugid": "^1.0.3"
},
"devDependencies": {
"brototype": "0.0.5",
"code": "^5.2.4",
"faker": "^3.0.1",
"lab": "^18.0.1"
}
}