forked from pjsier/chicago-elections-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.27 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
{
"name": "chicago-elections-archive",
"version": "0.1.0",
"author": "Pat Sier",
"license": "MIT",
"description": "Maps and data for Chicago elections",
"scripts": {
"format": "prettier --write **/*.{js,css} !dist",
"start": "NODE_ENV=development run-p -l start:*",
"start:eleventy": "eleventy --serve",
"start:rollup": "rollup --config rollup.config.mjs -w",
"start:postcss": "postcss ./src/css -d ./site/_includes -w",
"build": "NODE_ENV=production run-s -l build:*",
"build:clean": "rm -rf dist",
"build:rollup": "rollup --config rollup.config.mjs --bundleConfigAsCjs",
"build:postcss": "postcss ./src/css -d ./site/_includes",
"build:webpack": "webpack --config webpack.config.js",
"build:eleventy": "eleventy",
"deploy": "echo 'NOT IMPLEMENTED'",
"lint": "eslint ./src/js/**/*.js",
"style": "prettier --check src/**/**.{js,css}",
"analyze": "source-map-explorer dist/**/*.js dist/**/*.js.map"
},
"devDependencies": {
"@11ty/eleventy": "^2.0.0",
"@11ty/eleventy-fetch": "^3.0.0",
"@11ty/eleventy-img": "^3.0.0",
"@babel/core": "^7.20.2",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.20.2",
"@quasibit/eleventy-plugin-sitemap": "^2.1.5",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"autoprefixer": "^10.4.13",
"babel-loader": "^9.1.0",
"babel-preset-solid": "^1.6.3",
"core-js": "^3.26.1",
"cssnano": "^5.1.12",
"dotenv": "^16.0.3",
"eslint": "^8.18.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-solid": "^0.9.1",
"esm": "^3.2.25",
"file-loader": "^6.0.0",
"html-minifier": "^4.0.0",
"html-webpack-plugin": "^5.5.0",
"markdown-it": "^13.0.1",
"markdown-it-link-attributes": "^4.0.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",
"postcss-cli": "^10.1.0",
"postcss-import": "^15.0.1",
"prettier": "^2.7.1",
"prettier-eslint": "^15.0.1",
"rollup": "^3.6.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-external-globals": "^0.7.1",
"source-map-explorer": "^2.5.2",
"tailwindcss": "^3.2.4",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.72.1",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"classlist-polyfill": "^1.2.0",
"d3-dsv": "^3.0.1",
"date-input-polyfill": "^2.14.0",
"formdata-polyfill": "^4.0.10",
"maplibre-gl": "^2.1.7",
"pym.js": "^1.3.2",
"solid-js": "^1.5.4",
"url-search-params-polyfill": "^8.1.0",
"whatwg-fetch": "^3.6.2"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:solid/recommended"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"plugins": [
"import",
"solid"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"requireConfigFile": false,
"babelOptions": {
"presets": [
"@babel/preset-env",
"babel-preset-solid"
]
}
}
},
"prettier": {
"endOfLine": "lf",
"semi": false,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5"
}
}