-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
167 lines (167 loc) · 5.47 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "vote",
"version": "2.1.0",
"description": "Vote optimizes the election.",
"main": "app.js",
"type": "module",
"scripts": {
"dev": "vite",
"dev:client": "vite dev -c vite.client.ts",
"start": "node dist/server.js",
"build": "yarn build:client && yarn build:server && yarn build:client-old",
"build:server": "vite build",
"build:client": "vite build -c vite.client.ts",
"build:client-old": "yarn webpack --config webpack.config.js --mode production",
"build:cli": "yarn webpack --config webpack.cli.js",
"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:svelte && yarn lint:yaml",
"lint:eslint": "eslint . --ignore-path .gitignore --ignore-pattern 'app/algorithms/*.js'",
"lint:prettier": "prettier '**/*.{js,ts,pug,svelte}' --list-different",
"lint:yaml": "yarn yamllint docker-compose.yml usage.yml deployment/docker-compose.yml",
"lint:svelte": "svelte-kit sync && svelte-check",
"prettier": "prettier '**/*.{js,ts,pug,svelte}' --write",
"types": "tsc --noEmit",
"test": "yarn test:backend && yarn test:frontend-headless",
"test:frontend-headless": "NODE_ENV=test MONGO_URL=${MONGO_URL:-'mongodb://localhost:27017/vote-test'} SMTP_URL=smtp://127.0.0.1:7777 cypress run --browser chrome",
"test:backend": "vitest run",
"test:frontend": "NODE_ENV=test SMTP_URL=smtp://127.0.0.1:7777 cypress open --browser chrome",
"coverage": "yarn test",
"postinstall": "yarn build:cli"
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"author": "Webkom <webkom@abakus.no>",
"repository": {
"type": "git",
"url": "git@github.com:webkom/vote.git"
},
"license": "MIT",
"dependencies": {
"@sesamecare-oss/redlock": "1.2.1",
"@types/dom-serial": "1.0.6",
"@types/node": "18.15.3",
"@types/qrcode": "1.5.0",
"@types/sortablejs": "1.15.7",
"angular": "1.8.0",
"angular-animate": "1.7.9",
"angular-local-storage": "0.7.1",
"angular-route": "1.7.5",
"angular1-ui-bootstrap4": "2.4.22",
"bcryptjs": "2.4.3",
"chalk": "2.4.2",
"commander": "9.5.0",
"connect-flash": "0.1.1",
"connect-mongo": "4.6.0",
"cookie-parser": "1.4.6",
"crypto-browserify": "3.12.0",
"crypto-random-string": "5.0.0",
"csrf-sync": "4.0.3",
"css-loader": "7.1.2",
"express": "4.19.2",
"express-promise-router": "4.1.1",
"express-session": "1.18.0",
"handlebars": "4.7.7",
"ioredis": "5.4.1",
"lodash": "4.17.21",
"method-override": "3.0.0",
"mongoose": "6.11.5",
"nib": "1.1.2",
"nodemailer": "6.9.13",
"nyc": "15.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",
"qr-scanner": "1.4.2",
"qrcode": "1.3.4",
"qs": "6.11.2",
"raven": "2.6.4",
"serve-favicon": "2.5.0",
"short-uuid": "4.1.0",
"socket.io": "4.5.4",
"sortablejs": "1.15.1",
"stream-browserify": "3.0.0"
},
"devDependencies": {
"@4tw/cypress-drag-drop": "2.2.4",
"@babel/cli": "^7.7.4",
"@babel/core": "^7.21.4",
"@babel/plugin-transform-runtime": "7.15.8",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "7.21.4",
"@babel/register": "^7.7.4",
"@babel/runtime": "7.15.4",
"@cucumber/cucumber": "^8.2.0",
"@prettier/plugin-pug": "1.10.1",
"@rollup/plugin-yaml": "4.0.1",
"@sveltejs/adapter-node": "1.3.1",
"@sveltejs/kit": "1.30.3",
"@types/bcryptjs": "2.4.2",
"@types/connect-flash": "0.0.37",
"@types/cookie-parser": "1.4.3",
"@types/express": "4.17.21",
"@types/express-session": "1.18.0",
"@types/lodash": "4.14.167",
"@types/nodemailer": "6.4.14",
"@types/passport": "1.0.7",
"@types/passport-local": "1.0.34",
"@types/promptly": "3.0.2",
"@types/raven": "2.5.4",
"@types/serve-favicon": "2.5.3",
"@types/socket.io": "3.0.2",
"@types/w3c-web-nfc": "1.0.4",
"@types/webpack": "5.28.0",
"@types/yaml": "1.9.7",
"@typescript-eslint/eslint-plugin": "5.50.0",
"@typescript-eslint/parser": "5.58.0",
"@vitest/coverage-c8": "0.28.3",
"babel-eslint": "10.1.0",
"babel-loader": "9.1.2",
"chai": "4.4.1",
"chai-as-promised": "7.1.1",
"chai-subset": "1.6.0",
"copy-webpack-plugin": "11.0.0",
"core-js": "3.31.1",
"coveralls": "3.1.1",
"cypress": "12.17.4",
"eslint": "7.32.0",
"eslint-config-prettier": "8.7.0",
"eslint-plugin-svelte3": "4.0.0",
"file-loader": "6.2.0",
"mkdirp": "^3.0.1",
"prettier": "2.8.3",
"prettier-plugin-svelte": "2.9.0",
"protractor": "7.0.0",
"protractor-cucumber-framework": "^9.2.0",
"pug": "3.0.3",
"rollup-plugin-copy": "3.4.0",
"sass": "1.60.0",
"sinon": "7.2.2",
"sinon-chai": "3.7.0",
"smtp-tester": "2.1.0",
"socket.io-client": "4.6.1",
"style-loader": "4.0.0",
"stylus": "0.54.5",
"stylus-loader": "3.0.2",
"supertest": "6.3.3",
"svelte": "3.59.2",
"svelte-check": "3.8.2",
"ts-loader": "9.2.6",
"tslib": "2.4.1",
"typescript": "5.4.5",
"vite": "4.5.5",
"vite-plugin-node": "3.0.2",
"vitest": "0.28.4",
"webpack": "5.94.0",
"webpack-cli": "5.0.1",
"webpack-dev-middleware": "7.4.2",
"webpack-dev-server": "4.3.0",
"webpack-node-externals": "3.0.0",
"yaml-lint": "1.7.0",
"yaml-loader": "0.8.0"
}
}