-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
71 lines (71 loc) · 2.57 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "dms",
"version": "1.0.0",
"description": "The system manages documents, users and user roles. Each document defines access rights; the document defines which roles can access it. Also, each document specifies the date it was published.",
"main": "index.js",
"scripts": {
"build": "rimraf dist/ && babel --copy-files ./ --out-dir dist/ --ignore ./node_modules,./server/tests,./coverage",
"coveralls": "npm run cover && cat ./coverage/lcov.info | coveralls",
"start:dev": "babel-watch server.js",
"start": "npm run build && node dist/server.js",
"test-server": "NODE_ENV=test mocha --compilers js:babel-core/register server/tests/**/*.js",
"test": "npm run 'drop:db' && npm run 'create:db' && npm run 'migrate:db' && npm run test-server",
"cover": "NODE_ENV=test node_modules/babel-cli/bin/babel-node.js node_modules/babel-istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha -- server/tests/**/*.js",
"drop:db": "psql -c 'drop database if exists dms_test;' -U postgres",
"create:db": "psql -c 'create database dms_test;' -U postgres",
"migrate:db": "NODE_ENV=test sequelize db:migrate",
"lint": "eslint server/**/*.js"
},
"author": "Olawale Aladeusi",
"license": "ISC",
"devDependencies": {
"babel-istanbul": "^0.12.1",
"babel-plugin-istanbul": "^4.0.0",
"babel-plugin-js-logger": "^1.0.14",
"coveralls": "^2.11.15",
"eslint": "^3.14.1",
"eslint-config-airbnb": "^14.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.9.0",
"faker": "^3.1.0",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"mocha-lcov-reporter": "^1.2.0",
"node-mocks-http": "^1.6.1",
"nodemon": "^1.11.0",
"supertest": "^3.0.0"
},
"dependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.23.0",
"babel-istanbul": "^0.12.1",
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.23.0",
"babel-watch": "^2.0.6",
"bcrypt-nodejs": "0.0.3",
"body-parser": "^1.16.0",
"chai": "^3.5.0",
"chai-spies": "^0.7.1",
"dotenv": "^4.0.0",
"eslint-config-airbnb": "^14.1.0",
"events": "^1.1.1",
"express": "^4.14.0",
"faker": "^3.1.0",
"js-logger": "^1.3.0",
"jsonwebtoken": "^7.2.1",
"mocha": "^3.2.0",
"morgan": "^1.7.0",
"node-mocks-http": "^1.6.1",
"pg": "^4.5.6",
"pg-hstore": "^2.3.2",
"rimraf": "^2.6.1",
"sequelize": "^3.30.1",
"sequelize-cli": "^2.1.0",
"sinon": "^1.17.7",
"supertest": "^3.0.0",
"validator": "^6.2.1"
}
}