forked from microservices-demo/front-end
-
Notifications
You must be signed in to change notification settings - Fork 240
/
Copy pathpackage.json
69 lines (69 loc) · 2.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "mogambo-front-end",
"version": "0.0.1",
"description": "Front end for mogambo application.",
"main": "server.js",
"config": {
"service": "FRONTEND",
"service_short": "frontend",
"reporter": "jslint",
"distribution": "./distribution",
"build": "./distribution/build"
},
"scripts": {
"test": "istanbul cover node_modules/.bin/_mocha -- test/*_test.js test/api/*_test.js",
"coverage": "istanbul cover --report cobertura node_modules/.bin/_mocha -- test/*_test.js test/api/*_test.js && mocha test/*_test.js test/api/*_test.js --reporter mocha-junit-reporter --reporter-options mochaFile=./results/test-results.xml",
"start": "node server.js",
"clean:build": "node_modules/.bin/rimraf $npm_package_config_distribution",
"create:build": "node_modules/.bin/mkdirp $npm_package_config_build",
"clean": "npm run clean:build && npm run create:build && rimraf npm-debug.log",
"precopy": "echo Copying $npm_package_config_service v\"$npm_package_version\" codebase to build folder",
"copy": "cp -R -L ./node_modules ./public ./*.json ./helpers ./api ./test ./scripts ./*.js $npm_package_config_build",
"build": "npm run clean",
"prepackage": "echo Packaging $npm_package_config_service v\"$npm_package_version\" service",
"package": " npm run build && npm run copy",
"postpackage": "cd $npm_package_config_build && zip -r ../$npm_package_config_service_short-\"$npm_package_version\".zip . && cd ../.. && node_modules/.bin/rimraf $npm_package_config_build",
"predist": "echo Preparing to package $npm_package_config_service v\"$npm_package_version\" service",
"dist": "npm run build && npm run package",
"postdist": "echo Successfully packaged $npm_package_config_service v\"$npm_package_version\" service"
},
"repository": {
"type": "git",
"url": "https://github.com/udbc/front-end"
},
"contributors": [
"Ian Crosby <[email protected]>",
"Carlos León <[email protected]> (carlosleon.info)",
"Gourav SHah <[email protected]>"
],
"license": "MIT",
"dependencies": {
"async": "^1.5.2",
"body-parser": "^1.15.1",
"cookie-parser": "^1.4.3",
"express": "^4.13.4",
"express-session": "^1.13.0",
"finalhandler": "^0.4.1",
"request": "^2.72.0",
"serve-static": "^1.10.2",
"prom-client": "^6.3.0",
"morgan": "^1.7.0",
"connect-redis": "3.2.0"
},
"devDependencies": {
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"sinon": "^1.17.5",
"mocha": "^3.0.0",
"mocha-junit-reporter": "^1.12.1",
"istanbul": "^0.4.4",
"mongodb": "^2.2.5",
"copyfiles": "1.2.x",
"expect.js": "0.x.x",
"faker": "4.1.x",
"mkdirp": "0.5.x",
"mocha": "2.5.x",
"rimraf": "2.6.x",
"should": "13.1.x"
}
}