-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
146 lines (146 loc) · 5.37 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
{
"name": "climate-change-responsibility",
"version": "0.1.0",
"private": true,
"scripts": {
"analyze": "source-map-explorer build/static/js/main.*",
"build:css": "node-sass-chokidar src/ -o src/",
"watch:css": "npm run build:css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-js": "react-scripts start",
"start": "npm-run-all -p watch:css start-js",
"build": "npm run build:css && react-scripts build",
"test": "npm run flow && npm run lint",
"eject": "react-scripts eject",
"deploy": "yarn build && yarn deploy:s3 && yarn deploy:cloudfront",
"deploy:s3": "aws s3 sync build/ s3://whoisresponsible.us --cache-control max-age=172800 --delete",
"deploy:cloudfront": "aws configure set preview.cloudfront true && aws cloudfront create-invalidation --distribution-id E3G1S285UTPJKJ --paths /index.html",
"lint": "npm run lint:js && npm run lint:scss",
"lint:js": "eslint .",
"prettier:write": "prettier --write \"{scripts, src}/*.js\"",
"lint:scss": "stylelint \"**/*.scss\"",
"lint:scss:fix": "yarn lint:scss --fix",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"flow": "flow"
},
"dependencies": {
"@kevinahuber/redux-tooltip": "^0.7.2",
"all-contributors-cli": "^4.10.0",
"classnames": "^2.2.5",
"d3-scale": "^1.0.6",
"next-redux-wrapper": "^1.3.4",
"normalize.css": "^7.0.0",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-icons": "^2.2.7",
"react-motion": "^0.5.2",
"react-redux": "^5.0.6",
"react-scripts": "1.0.13",
"react-simple-maps": "0.10.1",
"react-transition-group": "^2.2.1",
"redux": "^3.7.2"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"eslint": "^4.10.0",
"eslint-config-prettier": "^2.7.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-react": "^5.0.0",
"eslint-plugin-flowtype": "2.39",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "^7.4.0",
"eslint-plugin-standard": "^3.0.1",
"flow-bin": "0.60",
"jsonfile": "^4.0.0",
"node-sass-chokidar": "^0.0.3",
"npm-run-all": "^4.1.1",
"prettier": "1.7.4",
"prettier-eslint": "^8.2.1",
"source-map-explorer": "^1.5.0",
"stylelint": "^8.1.1",
"stylelint-order": "^0.7.0",
"stylelint-scss": "^2.1.0"
},
"stylelint": {
"plugins": [
"stylelint-scss",
"stylelint-order"
],
"rules": {
"at-rule-blacklist": [
"debug"
],
"at-rule-no-vendor-prefix": true,
"block-no-empty": true,
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "short",
"color-named": "never",
"color-no-invalid-hex": true,
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-semicolon-newline-after": "always",
"declaration-block-semicolon-space-before": "never",
"declaration-block-single-line-max-declarations": 1,
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"function-comma-space-after": "always-single-line",
"function-parentheses-space-inside": "never",
"function-url-quotes": "always",
"indentation": 2,
"length-zero-no-unit": true,
"max-nesting-depth": 4,
"media-feature-name-no-vendor-prefix": true,
"media-feature-parentheses-space-inside": "never",
"no-missing-end-of-source-newline": true,
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"order/properties-alphabetical-order": true,
"property-no-unknown": true,
"property-no-vendor-prefix": true,
"rule-empty-line-before": [
"always-multi-line",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"scss/at-extend-no-missing-placeholder": true,
"scss/at-function-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension-blacklist": [
"scss"
],
"scss/at-mixin-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/dollar-variable-colon-space-after": "always",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-pattern": "^[_]?[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/percent-placeholder-pattern": "^[a-z]+([a-z0-9-]+[a-z0-9]+)?$",
"scss/selector-no-redundant-nesting-selector": true,
"selector-class-pattern": [
"^[a-z0-9(\\_|\\-)]+$",
{
"message": "Selector should be written in lowercase with hyphens or underscores (selector-class-pattern)"
}
],
"selector-list-comma-newline-after": "always",
"selector-max-compound-selectors": 3,
"selector-max-id": 0,
"selector-no-qualifying-type": true,
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "double",
"selector-pseudo-element-no-unknown": true,
"shorthand-property-no-redundant-values": true,
"string-quotes": "single",
"value-no-vendor-prefix": true
}
}
}