forked from covidatlas/coronadatascraper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.29 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
{
"name": "coronadatascraper",
"version": "1.0.0",
"description": "A scraper for Coronavirus data",
"author": "Larry Davis <lazdnet@gmail.com>",
"license": "BSD",
"main": "src/shared/cli/index.js",
"type": "commonjs",
"engines": {
"node": ">=12.15.0 <13.0.0"
},
"scripts": {
"dev": "npx rollup -c --watch",
"build": "npx yarn start && npx yarn timeseries && npx yarn buildSite",
"buildSite": "npx rollup -c",
"dateData": "DATE=$(date +'%Y-%m-%d') && cp dist/data.json dist/data-$DATE.json && cp dist/features.json dist/features-$DATE.json && cp dist/data.csv dist/data-$DATE.csv",
"deploy": "npm run dateData && npm run deploySite",
"deploySite": "npm run buildSite && gh-pages -a -d dist/ -e .",
"lint": "eslint .",
"start": "node src/shared/cli/index.js",
"qa": "pta ./src/qa/*.qa.js -r log | node src/qa/utils/qaReporter.js",
"test": "FILES_MODIFIED=$(git diff --name-only HEAD) jest",
"timeseries": "node src/shared/timeseries.js",
"update": "npm run updateModules && rm -rf cache/* && npm run start",
"updateModules": "git submodule update --remote",
"pretty": "prettier --write '**/*.js'"
},
"dependencies": {
"@adobe/focus-ring-polyfill": "^0.1.5",
"@adobe/leonardo-contrast-colors": "^1.0.0-alpha.4",
"@adobe/spectrum-css": "^2.18.0",
"@js-joda/core": "^2.0.0",
"@turf/boolean-point-in-polygon": "^6.2.0-alpha.1",
"@turf/center": "^6.2.0-alpha.1",
"@turf/helpers": "^6.2.0-alpha.1",
"@turf/union": "^6.2.0-alpha.1",
"@lorenzofox3/for-await": "^0.2.1",
"ajv": "^6.12.0",
"cheerio": "^1.0.0-rc.3",
"csv-parse": "^4.8.8",
"csv-stringify": "^5.3.6",
"d3-color": "^1.4.0",
"d3-interpolate": "^1.4.0",
"d3-scale": "^3.2.1",
"esm": "^3.2.25",
"fast-glob": "^3.2.2",
"geo-tz": "^5.1.0",
"mock-fs": "^4.11.0",
"needle": "^2.3.3",
"pdfreader": "^1.0.6",
"puppeteer": "^2.1.1",
"tap-parser": "^10.0.1",
"yargs": "^15.3.1"
},
"devDependencies": {
"@architect/architect": "^6.3.2",
"@architect/functions": "^3.8.1",
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.1.0",
"editorconfig": "^0.15.3",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-prettier": "^3.1.2",
"gh-pages": "^2.2.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"jest-each": "^25.1.0",
"lint-staged": "^10.0.8",
"postcss-import": "^12.0.1",
"postcss-nested": "^4.2.1",
"prettier": "^1.19.1",
"pta": "^0.1.3",
"request": "^2.88.2",
"rollup": "^2.1.0",
"rollup-plugin-copy-glob": "^0.3.1",
"rollup-plugin-livereload": "^1.1.0",
"rollup-plugin-postcss": "^2.5.0",
"rollup-plugin-serve": "^1.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"prettier": {
"printWidth": 120,
"semi": true,
"singleQuote": true
},
"jest": {
"rootDir": "src",
"testMatch": [
"**/?(*.)test.js"
]
}
}