-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
71 lines (71 loc) · 1.7 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
{
"name": "line-chart",
"version": "1.0.0",
"description": "",
"main": "index.html",
"scripts": {
"start": "parcel index.html --open",
"test": "jest",
"build": "parcel build index.html --log-level 4",
"lint": "eslint",
"prettier:check": "prettier -c src/* test/* --single-quote",
"prettier:write": "prettier -w src/* test/* --single-quote"
},
"dependencies": {
"d3": "5.16.0",
"topojson-client": "^3.1.0"
},
"eslintConfig": {
"extends": [
"wesbos"
],
"rules": {
"no-console": 2,
"prettier/prettier": [
"error",
{
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2
}
]
}
},
"devDependencies": {
"@babel/core": "7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
"@babel/preset-env": "^7.12.1",
"babel-eslint": "^10.1.0",
"browser-sync": "^2.26.13",
"eslint": "^7.11.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-config-prettier": "^6.13.0",
"eslint-config-wesbos": "^1.0.1",
"eslint-plugin-html": "^6.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.1.2",
"husky": "^4.3.0",
"jest": "^26.6.0",
"parcel-bundler": "^1.6.1",
"prettier": "^2.1.2"
},
"keywords": [],
"browserslist": [
"last 1 Chrome version"
],
"jest": {
"verbose": true,
"setupFilesAfterEnv": [
"./test/utils/localStorageMock.js"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run prettier:check"
}
}
}