forked from AletheiaFact/aletheia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
180 lines (180 loc) · 6.44 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
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"name": "aletheia",
"version": "0.0.1",
"description": "Crowd-sourced fact-checking platform.",
"private": false,
"license": "MIT",
"main": "./dist/server/main.js",
"scripts": {
"start": "service-runner",
"copy-html-files": "copyfiles -u 1 server/**/*.html dist/server/",
"seed": "yarn build-ts && yarn build-nest && yarn copy-html-files && node dist/server/server.js -c config.seed.yaml",
"dev": "yarn copy-static-assets && concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"yarn watch-ts\" \"yarn watch-node\"",
"test": "jest",
"seedUser:test": "SEED_TEST_ENVIRONMENT=true ts-node ./deprecated/server/infra/database/seeds/users/seedUsers.js",
"seedUser": "ts-node ./deprecated/server/infra/database/seeds/users/seedUsers.js",
"build": "yarn build-ts && yarn build-nest && yarn copy-static-assets && yarn copy-html-files && next build",
"build-ts": "tsc",
"build-nest": "ENVIRONMENT=watch-dev nest build -p ./server/tsconfig.json",
"watch-ts": "tsc --project ./server/tsconfig.json -w",
"debug": "yarn build && yarn watch-debug",
"lint": "tsc --noEmit && yarn lint:check",
"lint:check": "eslint \"**/*.{js,ts,tsx}\"",
"lint:fix": "tsc --noEmit && eslint \"**/*.{js,ts,tsx}\" --quiet --fix",
"copy-static-assets": "ts-node scripts/copyStaticAssets.ts",
"watch-debug": "yarn copy-static-assets && concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"yarn watch-ts\" \"yarn serve-debug\"",
"watch-node": "nodemon dist/server/server.js --signal SIGTERM",
"serve-debug": "nodemon --inspect dist/server/server.js --signal SIGTERM",
"clean": "rimraf **/{node_modules,dist}",
"compodoc": "npx compodoc -p tsconfig.json -s -d ./docs"
},
"nodemonConfig": {
"ignore": [
"test/**/*",
"src/**/*",
"dist/client/**/*",
"docs/**/*"
]
},
"keywords": [
"aletheia",
"REST",
"API",
"react",
"fact-checking"
],
"contributors": [
{
"name": "Mateus Santos",
"email": "[email protected]",
"url": "https://github.com/mateusbs17"
}
],
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"dependencies": {
"@ant-design/icons": "^4.6.2",
"@ant-design/icons-svg": "^4.1.0",
"@babel/polyfill": "^7.12.1",
"@compodoc/compodoc": "^1.1.18",
"@dhaiwat10/react-link-preview": "^1.9.1",
"@nestjs/axios": "^0.0.1",
"@nestjs/common": "^8.0.6",
"@nestjs/config": "^1.0.1",
"@nestjs/core": "^8.0.6",
"@nestjs/mongoose": "^8.0.0",
"@nestjs/passport": "^8.0.1",
"@nestjs/platform-express": "^8.0.6",
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"accept-language-parser": "^1.5.0",
"antd": "^4.18.5",
"axios": "^0.21.2",
"compromise": "^13.11.4",
"compromise-paragraphs": "^0.0.5",
"compromise-sentences": "^0.3.0",
"connect-mongo": "^4.6.0",
"cookie-parser": "^1.4.5",
"domino": "^2.1.6",
"draft-js": "^0.11.7",
"draft-js-export-html": "^1.4.1",
"draft-js-import-html": "^1.4.1",
"express": "^4.17.1",
"express-session": "^1.17.2",
"handlebars": "^4.7.7",
"i18next": "^21.6.10",
"md5": "^2.3.0",
"mongoose": "^ 5.13.5",
"next": "^12.0.10",
"next-i18next": "^10.2.0",
"next-plugin-antd-less": "^1.8.0",
"nodemailer": "^6.7.0",
"passport": "^0.4.1",
"passport-local": "^1.0.0",
"passport-local-mongoose": "^6.1.0",
"react": "^17.0.2",
"react-cookie-consent": "^6.4.1",
"react-countdown": "^2.3.2",
"react-dom": "^17.0.2",
"react-google-recaptcha": "^2.1.0",
"react-is": "^17.0.2",
"react-markdown": "^8.0.0",
"react-redux": "^7.2.4",
"react-share": "^4.4.0",
"react-social-icons": "^5.5.1",
"reflect-metadata": "^0.1.13",
"rehype-raw": "^6.1.1",
"rxjs": "^7.3.0",
"service-runner": "^2.8.4",
"slugify": "^1.6.1",
"styled-components": "^5.3.0"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@nestjs/cli": "7.6.0",
"@nestjs/schematics": "7.3.1",
"@nestjs/testing": "^8.2.6",
"@next/eslint-plugin-next": "^12.0.10",
"@shelf/jest-mongodb": "^2.2.0",
"@types/eslint": "^7.28.0",
"@types/express": "^4.17.13",
"@types/md5": "^2.3.1",
"@types/node": "^16.4.13",
"@types/passport-local-mongoose": "^4.0.15",
"@types/react": "^17.0.16",
"@typescript-eslint/parser": "^4.29.0",
"babel-eslint": "^10.1.0",
"babel-plugin-styled-components": "^1.13.2",
"concurrently": "^6.2.1",
"copyfiles": "^2.4.1",
"eslint": "7.0.0",
"eslint-config-next": "^12.0.10",
"eslint-config-prettier": "8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.9.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"husky": "^7.0.1",
"jest": "^27.4.7",
"nodemon": "^2.0.12",
"prettier": "2.3.2",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"ts-node": "^10.2.0",
"typescript": "^4.3.5"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"resolutions": {
"**/**/acorn": ">=5.7.4 <6.0.0 || >=6.4.1 <7.0.0 || >=7.1.1",
"**/**/minimist": ">=1.2.3",
"**/**/yargs-parser": ">=13.1.2 <14.0.0 || >=15.0.1 <16.0.0 || >=18.1.2"
},
"jest": {
"projects": [
"./server/jest.config.json"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./**/*.(tsx|ts|js)",
"!**/node_modules/**",
"!**/dist/**",
"!**/docs/**"
],
"coverageReporters": [
"lcov"
]
}
}