forked from covidatlas/coronadatascraper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
131 lines (131 loc) · 4.71 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
{
"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": {
"devcovidatlas": "npx arc sandbox & npx rollup -c covidatlas.rollup.config.js --watch",
"buildcovidatlas": "npx rollup -c covidatlas.rollup.config.js",
"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": "cd dist && zip -r timeseries-tidy.csv.zip timeseries-tidy.csv && rm timeseries-tidy.csv && cd .. && yarn publishSite",
"publishSite": "npm run buildSite && gh-pages -a -d dist/ -e .",
"lint": "eslint .",
"options": "node -r esm src/shared/cli/cli-args.js -h",
"start": "node src/shared/cli/index.js",
"qa": "pta ./src/qa/*.qa.js -r log | node src/qa/utils/qa-reporter.js",
"test": "tape tests/**/*-test.js | tap-spec",
"test:unit": "tape tests/unit/**/*-test.js | tap-spec",
"test:integration": "tape tests/integration/**/*-test.js | tap-spec",
"test:watch": "tape-watch tests/**/*-test.js -p tap-spec",
"test:tz": "tape scripts/test-timezones.js | tap-spec",
"timeseries": "node src/shared/timeseries/index.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",
"@js-joda/timezone": "^2.2.0",
"@lorenzofox3/for-await": "^0.2.1",
"@spectrum-web-components/overlay": "^0.3.3",
"@spectrum-web-components/popover": "^0.3.5",
"@spectrum-web-components/tab": "^0.3.6",
"@turf/area": "^6.0.1",
"@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",
"ajv": "^6.12.0",
"cheerio": "^1.0.0-rc.3",
"cheerio-tableparser": "^1.0.1",
"country-levels": "https://github.com/hyperknot/country-levels/releases/download/v2.0.1/export_medium.tgz",
"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",
"lunr": "^2.3.8",
"needle": "^2.3.3",
"pdf2json": "^1.2.0",
"puppeteer": "^2.1.1",
"slugify": "^1.4.0",
"spacetime": "^6.4.3",
"yargs": "^15.3.1"
},
"devDependencies": {
"@architect/architect": "^6.3.2",
"@architect/functions": "^3.8.1",
"@architect/macro-node-prune": "^1.0.1",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"@spectrum-web-components/button": "^0.4.6",
"@spectrum-web-components/dropdown": "^0.4.2",
"@spectrum-web-components/icon": "^0.4.4",
"@spectrum-web-components/icons": "^0.2.3",
"@spectrum-web-components/menu": "^0.2.4",
"@spectrum-web-components/search": "^0.2.10",
"@spectrum-web-components/sidenav": "^0.3.4",
"@spectrum-web-components/tab-list": "^0.3.6",
"@spectrum-web-components/textfield": "^0.3.4",
"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-prettier": "^3.1.2",
"eslint-plugin-unicorn": "^18.0.1",
"gh-pages": "^2.2.0",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"lit-element": "^2.3.1",
"lit-html": "^1.2.1",
"mock-fs": "^4.11.0",
"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",
"tap-spec": "^5.0.0",
"tape": "^4.13.2",
"tape-spawn": "^1.4.2",
"tape-watch": "^2.3.0",
"windows-iana": "^4.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run lint"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"prettier": {
"printWidth": 120,
"semi": true,
"singleQuote": true
}
}