-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
138 lines (138 loc) · 5.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
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
{
"name": "ng-byor-server",
"version": "1.10.0",
"private": true,
"main": "handler.js",
"scripts": {
"tsc": "npx tsc && cp -R data dist/data",
"lint": "npx eslint *.ts src/*.ts src/**/*.ts src/**/**/*.ts",
"lint:fix": "npm run lint -- --fix",
"test": "npx mocha -r ts-node/register --watch-extensions ts src/api/*.spec.ts src/api/**/*.spec.ts src/services/*.spec.ts src/services/**/*.spec.ts src/lib/*.spec.ts src/lib/**/*.spec.ts src/model/*.spec.ts src/model/**/*.spec.ts",
"test:watch": "npm run test -- --watch",
"test:integration": "npm run migrate:ts:up && npx mocha -r ts-node/register --exit --watch-extensions ts src/mongodb/*.spec.ts src/mongodb/**/*.spec.ts",
"test:integration:watch": "npm run test:integration -- --watch",
"test:single": "npm mocha -r ts-node/register --inspect=0.0.0.0:9228",
"test:currentfile": "npx mocha -r ts-node/register --inspect --debug-brk ",
"dev-server:start": "npm run migrate:ts:up && npx ts-node-dev --inspect=0.0.0.0:9229 --nolazy --transpileOnly -- ./bin/www",
"start": "npm run migrate:js:up && npx node ./dist/bin/www",
"migrate:create": "npx migrate create -- --extension .ts --migrations-dir src/mongodb/migrations --template-file src/mongodb/migrate/template.ts",
"migrate:up": "npx migrate up --store=${MIGRATE_BASE_DIR}/migrate/store --migrations-dir ${MIGRATE_BASE_DIR}/migrations",
"migrate:ts:up": "MIGRATE_BASE_DIR='./src/mongodb' npm run migrate:up -- --compiler=ts:./src/mongodb/migrate/typescript-compiler.js",
"migrate:js:up": "MIGRATE_BASE_DIR='./dist/src/mongodb' npm run migrate:up -- --matches *.js",
"load-technologies-from-gsheet": "npx ts-node src/mongodb/scripts/load-technologies-from-gsheet.exec",
"load-technologies-from-csv": "npx ts-node src/mongodb/scripts/load-technologies-from-csv.exec",
"set-admin-user-and-pwd": "npx ts-node src/mongodb/scripts/set-admin-user-and-pwd.exec",
"validate-db": "npx ts-node src/mongodb/scripts/validate-db.exec",
"extract-votes": "npx ts-node src/mongodb/scripts/extract-votes-to-file.exec",
"count-voters": "npx ts-node src/mongodb/scripts/count-voters.exec",
"cancel-voting-event": "npx ts-node src/mongodb/scripts/cancel-voting-event.exec",
"semantic-release": "npx semantic-release",
"serverless": "npx serverless offline start",
"initialize-sample-environment": "npx ts-node-dev --nolazy --transpileOnly -- ./src/mongodb/scripts/initialize-sample-environment/initialize-sample-environment"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@types/aws-lambda": "0.0.34",
"@types/chai": "^4.1.2",
"@types/express": "^4.16.1",
"@types/lodash": "^4.14.121",
"@types/mocha": "^5.0.0",
"@types/mongodb": "^3.0.9",
"@types/node": "^9.6.0",
"@types/request": "^2.48.1",
"@types/sinon": "^7.0.11",
"@types/sinon-chai": "^3.2.2",
"@types/socket.io": "2.1.2",
"@types/socket.io-client": "1.4.32",
"@typescript-eslint/eslint-plugin": "^1.4.2",
"@typescript-eslint/parser": "^1.4.2",
"ajv": "^6.10.0",
"chai": "^4.1.2",
"commitizen": "^4.2.1",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.15.1",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^1.3.1",
"migrate": "^1.6.2",
"mocha": "^8.1.3",
"nyc": "^14.1.1",
"prettier": "^1.16.4",
"semantic-release": "^17.2.3",
"serverless-offline": "^6.7.0",
"serverless-plugin-scripts": "^1.0.2",
"serverless-webpack": "^5.3.4",
"sinon": "^7.2.7",
"sinon-chai": "^3.3.0",
"ts-loader": "^4.1.0",
"ts-node": "^5.0.1",
"ts-node-dev": "^1.0.0-pre.32",
"typescript": "^3.3.3",
"webpack": "^4.44.1"
},
"dependencies": {
"@types/crypto-js": "^3.1.43",
"@types/csv-parse": "^1.1.12",
"@types/jsonwebtoken": "^8.3.2",
"@types/underscore": "^1.8.18",
"@types/yargs": "^12.0.10",
"cookie-parser": "~1.4.3",
"cors": "^2.8.5",
"crypto-js": "^3.1.9-1",
"csv-parse": "^4.4.7",
"debug": "~2.6.9",
"express": "~4.16.0",
"jsonwebtoken": "^8.5.1",
"jwt-decode": "^2.2.0",
"lodash": "^4.17.20",
"mailgun-js": "^0.22.0",
"morgan": "~1.9.0",
"observable-fs": "^2.1.3",
"observable-mongo": "^2.3.13",
"request": "^2.88.0",
"socket.io": "^2.2.0",
"underscore": "^1.9.1",
"yargs": "^13.2.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && git cz --hook",
"pre-commit": "exec < /dev/tty && make check_for_secrets"
}
},
"release": {
"branch": "master",
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
{
"path": "@semantic-release/git",
"assets": [
"package.json",
"package-lock.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/github"
]
}
}