forked from BustByte/coronastatus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.14 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
{
"name": "covid",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"start": "ts-node app/server.ts",
"dev": "nodemon",
"test": "jest",
"lint": "eslint --ext .ts app/",
"lintfix": "eslint --ext .ts app/ --fix",
"serve": "NODE_ENV=production ts-node app/server.ts",
"dev:css": "./node_modules/.bin/tailwind build tailwind.config.css -c tailwind.config.js -o static/tailwind.min.css",
"build:css": "postcss tailwind.config.css -o static/tailwind.min.css",
"build:images": "ts-node scripts/generate-images.ts",
"sort:locales": "ts-node scripts/sort-locales.ts"
},
"dependencies": {
"autoprefixer": "^9.7.4",
"body-parser": "^1.19.0",
"connect-sqlite3": "^0.9.11",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"csv-express": "^1.2.2",
"ejs": "^3.0.1",
"express": "^4.17.1",
"express-rate-limit": "^5.1.1",
"i18n": "^0.8.6",
"node-fetch": "^2.6.0",
"pg": "^7.18.2",
"postcss-cli": "^7.1.0",
"sqlite3": "^4.1.1",
"swagger-ui-express": "^4.1.3",
"tailwindcss": "^1.2.0",
"ts-node": "^8.6.2",
"typescript": "^3.8.3"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^1.2.0",
"@types/body-parser": "^1.19.0",
"@types/cookie-parser": "^1.4.2",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.3",
"@types/express-rate-limit": "^5.0.0",
"@types/i18n": "^0.8.6",
"@types/jest": "^25.1.4",
"@types/node-fetch": "^2.5.5",
"@types/pg": "^7.14.3",
"@types/puppeteer": "^2.0.1",
"@types/sqlite3": "^3.1.6",
"@types/swagger-ui-express": "^4.1.2",
"@typescript-eslint/eslint-plugin": "^2.23.0",
"@typescript-eslint/parser": "^2.23.0",
"babel-eslint": "^10.0.3",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^25.1.0",
"nodemon": "^2.0.2",
"prettier": "^1.19.1",
"puppeteer": "^2.1.1",
"ts-jest": "^25.2.1"
},
"eslintConfig": {
"settings": {
"import/resolver": {
"typescript": {}
}
},
"extends": [
"plugin:@typescript-eslint/recommended",
"airbnb-base",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"prettier"
],
"env": {
"es6": true,
"jest": true
},
"rules": {
"import/extensions": 0,
"dot-notation": 0,
"@typescript-eslint/no-var-requires": 0,
"prettier/prettier": [
"error"
],
"no-restricted-syntax": [
"error",
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"no-underscore-dangle": "off",
"no-console": "off",
"lines-between-class-members": "off",
"class-methods-use-this": 0,
"import/prefer-default-export": 0,
"camelcase": [
"error"
]
},
"globals": {
"fetch": false
}
},
"prettier": {
"printWidth": 80,
"singleQuote": true
}
}