-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
94 lines (94 loc) · 3 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "vote",
"version": "1.1.0",
"description": "Vote optimizes the election.",
"main": "app.js",
"scripts": {
"start": "node index.js",
"build": "webpack --config webpack.config.js --mode=production",
"test": "yarn lint && yarn mocha && yarn protractor",
"db:reset": "node --no-deprecation test/scripts/db_reset.js",
"db:seed": "node --no-deprecation test/scripts/db_seed.js",
"lint": "yarn lint:eslint && yarn lint:prettier && yarn lint:yaml",
"lint:eslint": "eslint . --ignore-path .gitignore",
"lint:prettier": "prettier '**/*.js' --list-different --ignore-path .gitignore",
"lint:yaml": "yarn yamllint .drone.yml docker-compose.yml usage.yml deployment/docker-compose.yml",
"prettier": "prettier '**/*.js' --write",
"mocha": "NODE_ENV=test MONGO_URL=${MONGO_URL:-'mongodb://localhost:27017/vote-test'} nyc mocha test/**/*.test.js --exit",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"protractor": "webdriver-manager update --standalone false && NODE_ENV=protractor MONGO_URL=${MONGO_URL:-'mongodb://localhost:27017/vote-test'} protractor ./features/protractor-conf.js",
"postinstall": "yarn build"
},
"prettier": {
"singleQuote": true
},
"author": "Webkom <webkom@abakus.no>",
"repository": {
"type": "git",
"url": "git@github.com:webkom/vote.git"
},
"license": "MIT",
"dependencies": {
"angular": "1.7.5",
"angular-local-storage": "0.7.1",
"angular-route": "1.7.5",
"angular1-ui-bootstrap4": "2.4.22",
"bcrypt": "3.0.3",
"bluebird": "3.5.3",
"body-parser": "1.18.3",
"chalk": "2.4.2",
"commander": "2.19.0",
"connect-flash": "0.1.1",
"connect-mongo": "2.0.3",
"cookie-parser": "1.4.3",
"crypto-random-string": "1.0.0",
"css-loader": "2.1.0",
"csurf": "1.9.0",
"express": "4.16.4",
"express-promise-router": "3.0.3",
"express-session": "1.15.6",
"file-loader": "3.0.1",
"lodash": "4.17.11",
"method-override": "3.0.0",
"mongoose": "5.4.3",
"nib": "1.1.2",
"nyc": "13.1.0",
"object-assign": "4.1.1",
"passport": "0.4.0",
"passport-local": "1.0.0",
"passport-stub": "1.1.1",
"promptly": "2.1.0",
"pug": "2.0.3",
"qr-scanner": "1.1.1",
"qrcode": "1.3.3",
"raven": "2.6.4",
"redis": "2.8.0",
"redlock": "3.1.2",
"serve-favicon": "2.5.0",
"socket.io": "2.2.0",
"style-loader": "0.23.1",
"stylus": "0.54.5",
"stylus-loader": "3.0.2",
"webpack": "4.28.4",
"webpack-cli": "3.2.3",
"yaml": "1.3.2"
},
"devDependencies": {
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"coveralls": "3.0.2",
"cucumber": "0.10.3",
"eslint": "5.14.1",
"eslint-config-prettier": "3.3.0",
"mkdirp": "^0.5.1",
"mocha": "5.2.0",
"prettier": "1.15.3",
"protractor": "5.4.2",
"protractor-cucumber-framework": "0.6.0",
"sinon": "7.2.2",
"sinon-chai": "3.3.0",
"supertest": "3.3.0",
"webpack-dev-middleware": "3.5.0",
"yaml-lint": "1.2.4"
}
}