-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
57 lines (57 loc) · 2.08 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
52
53
54
55
56
57
{
"name": "seedpress-api",
"version": "0.1.0",
"description": "A headless CMS built in Express for PostgresQL using Sequelize. Generally follows the Wordpress page, post and media schema.",
"engines": {
"node": "^8.*",
"npm": "^5.6"
},
"main": "index.js",
"scripts": {
"lint": "eslint server ; exit 0",
"dropdev": "psql -c 'DROP DATABASE IF EXISTS seedpress_dev' && psql -c 'CREATE DATABASE seedpress_dev'",
"reset": "yarn dropdev && sequelize db:migrate && sequelize db:seed:all && yarn dev",
"dev": "NODE_ENV=development nodemon index.js",
"stest": "NODE_ENV=test nodemon index.js",
"start": "NODE_ENV=production node index.js",
"startdb": "pg_ctl -D /usr/local/var/postgres start",
"stopdb": "pg_ctl -D /usr/local/var/postgres stop",
"droptest": "psql -c 'DROP DATABASE IF EXISTS seedpress_test' && psql -c 'CREATE DATABASE seedpress_test'",
"resettest": "yarn droptest && ./node_modules/.bin/sequelize db:migrate --env test && ./node_modules/.bin/sequelize db:seed:all --env test",
"test": "export NODE_ENV=test && sequelize db:migrate:undo:all && sequelize db:migrate && sequelize db:seed:all &&./node_modules/.bin/mocha -R spec 'test/**/**.test.js'",
"coverage": "istanbul cover _mocha -- -R spec 'test/**/**/**/**test.js'"
},
"author": "Ezra Keddell",
"license": "MIT",
"dependencies": {
"bcrypt": "^2.0.1",
"body-parser": "^1.15.2",
"change-case": "^3.0.2",
"compression": "^1.6.2",
"cors": "^2.8.1",
"express": "^4.16.3",
"global": "^4.3.2",
"helmet": "^3.1.0",
"jsonwebtoken": "^8.3.0",
"passport": "^0.4.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"pg": "^7.4.3",
"pg-hstore": "^2.3.2",
"sequelize": "^4.38.0",
"sequelize-cli": "^4.0.0"
},
"devDependencies": {
"chai": "^3.5.0",
"codecov": "^3.0.4",
"eslint": "^3.11.1",
"eslint-plugin-import": "^2.2.0",
"faker": "^4.1.0",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "^1.3.0",
"morgan": "^1.7.0",
"nodemon": "^1.17.4",
"supertest": "^2.0.1"
}
}