commit | author | age
|
6ef0cc
|
1 |
{ |
D |
2 |
"name": "todolist", |
|
3 |
"version": "1.0.0", |
|
4 |
"main": "server/app.js", |
|
5 |
"dependencies": { |
c382ab
|
6 |
"bench-rest": "^1.2.4", |
1512f7
|
7 |
"body-parser": "1.18.2", |
6ef0cc
|
8 |
"composable-middleware": "0.3.0", |
1512f7
|
9 |
"compression": "1.7.2", |
D |
10 |
"connect-mongo": "2.0.1", |
|
11 |
"cookie-parser": "1.4.3", |
|
12 |
"ejs": "2.5.7", |
|
13 |
"errorhandler": "1.5.0", |
|
14 |
"express": "4.16.3", |
|
15 |
"express-jwt": "5.3.1", |
|
16 |
"express-session": "1.15.6", |
|
17 |
"jsonwebtoken": "8.2.0", |
|
18 |
"lodash": "4.17.5", |
|
19 |
"method-override": "2.3.10", |
|
20 |
"mongoose": "5.0.11", |
|
21 |
"morgan": "1.9.0", |
|
22 |
"serve-favicon": "2.4.5" |
6ef0cc
|
23 |
}, |
D |
24 |
"devDependencies": { |
1512f7
|
25 |
"blanket": "1.2.3", |
D |
26 |
"connect-livereload": "0.6.0", |
|
27 |
"fs-extra": "5.0.0", |
|
28 |
"grunt": "1.0.2", |
|
29 |
"grunt-build-control": "0.7.1", |
|
30 |
"grunt-concurrent": "2.3.1", |
|
31 |
"grunt-contrib-clean": "1.1.0", |
|
32 |
"grunt-contrib-concat": "1.0.1", |
|
33 |
"grunt-contrib-copy": "1.0.0", |
|
34 |
"grunt-contrib-jshint": "1.1.0", |
6ef0cc
|
35 |
"grunt-env": "0.4.4", |
1512f7
|
36 |
"grunt-express-server": "0.5.4", |
D |
37 |
"grunt-mocha-test": "0.13.3", |
|
38 |
"grunt-newer": "1.3.0", |
|
39 |
"grunt-nodemon": "0.4.2", |
6ef0cc
|
40 |
"grunt-open": "0.2.3", |
D |
41 |
"grunt-rev": "0.1.0", |
1512f7
|
42 |
"jasmine-reporters": "2.3.0", |
D |
43 |
"jit-grunt": "0.10.0", |
6ef0cc
|
44 |
"jshint-jenkins-checkstyle-reporter": "0.1.2", |
1512f7
|
45 |
"jshint-junit-reporter": "0.2.3", |
D |
46 |
"jshint-stylish": "2.2.1", |
|
47 |
"mocha": "5.0.5", |
6ef0cc
|
48 |
"mocha-cobertura-reporter": "1.0.4", |
1512f7
|
49 |
"mocha-junit-reporter": "1.17.0", |
D |
50 |
"mocha-lcov-reporter": "1.3.0", |
6a748c
|
51 |
"nyc": "^11.6.0", |
6ef0cc
|
52 |
"open": "0.0.5", |
1512f7
|
53 |
"q": "1.5.1", |
D |
54 |
"request": "2.85.0", |
|
55 |
"requirejs": "2.3.5", |
|
56 |
"shelljs": "0.8.1", |
|
57 |
"should": "13.2.1", |
|
58 |
"supertest": "3.0.0", |
|
59 |
"time-grunt": "1.4.0", |
6ef0cc
|
60 |
"travis-cov": "0.2.5" |
D |
61 |
}, |
|
62 |
"engines": { |
|
63 |
"node": ">=8.0.0" |
|
64 |
}, |
|
65 |
"scripts": { |
|
66 |
"start": "node server/app.js", |
6a748c
|
67 |
"dev": "./node_modules/.bin/grunt serve", |
346f73
|
68 |
"jshint": "./node_modules/.bin/grunt jshint", |
6a748c
|
69 |
"jshint:ci": "./node_modules/.bin/grunt jshint:ci_server", |
de1231
|
70 |
"clean": "rm -rf reports package-contents*", |
a42156
|
71 |
"build:ci": "mkdir -p package-contents && cp -vr server Dockerfile package.json package-contents", |
a07ebe
|
72 |
"package": "zip -r package-contents.zip package-contents", |
ebb0b8
|
73 |
"test": "node_modules/.bin/nyc node_modules/.bin/mocha 'server/**/*.spec.js' --exit", |
A |
74 |
"test:ci": "export MOCHA_FILE='reports/server/mocha/test-results.xml' && export NODE_ENV=ci && node_modules/.bin/nyc node_modules/.bin/mocha 'server/**/*.spec.js' -R mocha-junit-reporter --exit", |
a07ebe
|
75 |
"mongo": "docker run -i -d --name mongo-local -p 27017:27017 mongo", |
D |
76 |
"mongo:drop": "npm run mongo:stop && docker rm mongo-local", |
|
77 |
"mongo:stop": "docker stop mongo-local", |
4593ec
|
78 |
"mongo:start": "docker start mongo-local", |
ef8e14
|
79 |
"prepare-nexus": "curl -X POST -u admin:admin123 -H 'Content-Type: application/json' -H 'Accept: application/json' -d @nexus.json http://${NEXUS_SERVICE_HOST}:${NEXUS_SERVICE_PORT}/service/siesta/rest/v1/script && curl -X POST -u admin:admin123 -H 'Content-Type: text/plain' -H 'Accept: application/json' http://${NEXUS_SERVICE_HOST}:${NEXUS_SERVICE_PORT}/service/siesta/rest/v1/script/zip/run", |
D |
80 |
"publish": "curl -vvv -u admin:admin123 --upload-file package-contents.zip http://${NEXUS_SERVICE_HOST}:${NEXUS_SERVICE_PORT}/repository/zip/com/redhat/todolist/${JOB_NAME}.${BUILD_NUMBER}/package-contents.zip", |
|
81 |
"publish:get": "curl -vvv http://admin:admin123@${NEXUS_SERVICE_HOST}:${NEXUS_SERVICE_PORT}/repository/zip/com/redhat/todolist/${BUILD_TAG}/package-contents.zip -o package-contents.zip" |
6ef0cc
|
82 |
}, |
6a748c
|
83 |
"private": true, |
D |
84 |
"nyc": { |
|
85 |
"include": [ |
|
86 |
"server/**/*.js" |
|
87 |
], |
|
88 |
"exclude": [ |
|
89 |
"server/**/*.spec.js" |
|
90 |
], |
|
91 |
"ignore-class-method": "methodToIgnore", |
|
92 |
"reporter": [ |
|
93 |
"html", |
|
94 |
"text", |
|
95 |
"cobertura" |
|
96 |
], |
|
97 |
"report-dir": "./reports/coverage" |
|
98 |
} |
6ef0cc
|
99 |
} |