-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
97 lines (97 loc) · 3.04 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
{
"name": "webcompat-metrics-client",
"version": "1.0.0",
"description": "An application to power metrics for webcompat.com",
"license": "MPL-2.0",
"private": true,
"author": "webcompat",
"repository": {
"type": "git",
"url": "git+https://github.com/webcompat/webcompat-metrics-client.git"
},
"bugs": {
"url": "https://github.com/webcompat/webcompat-metrics-client/issues"
},
"homepage": "https://github.com/webcompat/webcompat-metrics-client#readme",
"engines": {
"node": ">=14.17.6 <17.0.0"
},
"scripts": {
"build": "next build",
"dev": "next",
"lint": "npm run lint:JS && npm run lint:CSS",
"lint:JS": "eslint ./postcss.config.js ./src ./scripts",
"lint:CSS": "stylelint \"./src/**/*.css\" ",
"fix": "npm run lint:fix:JS && npm run lint:fix:CSS",
"lint:fix:JS": "npm run lint:JS -- --fix",
"lint:fix:CSS": "npm run lint:CSS -- --fix",
"start": "next start",
"test": "npm run lint && npm run test:jest",
"test:jest": "jest --runInBand --detectOpenHandles --coverage --forceExit",
"test:watch": "npm run test:jest -- --watch"
},
"dependencies": {
"babel-plugin-inline-react-svg": "^2.0.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chart.js": "^2.9.4",
"dayjs": "^1.11.1",
"next": "^12.2.3",
"postcss": "^8.4.13",
"postcss-preset-env": "^7.4.4",
"prop-types": "^15.8.1",
"react": "^16.14.0",
"react-chartjs-2": "^2.11.2",
"react-dom": "^16.14.0",
"simple-json-fetch": "^1.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.18.9",
"@babel/preset-react": "^7.16.7",
"babel-eslint": "^10.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.32.0",
"eslint-config-i-am-meticulous": "^12.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-fetch-mock": "^3.0.1",
"prettier": "^2.6.2",
"react-test-renderer": "^16.14.0",
"sinon": "^13.0.2",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0"
},
"jest": {
"verbose": true,
"notify": true,
"coverageThreshold": {
"global": {
"statements": 70,
"branches": 65,
"functions": 70,
"lines": 70
}
},
"moduleNameMapper": {
"\\.(svg)$": "<rootDir>/scripts/__mocks__/fileMock.js",
"\\.(css)$": "identity-obj-proxy"
},
"testPathIgnorePatterns": [
"<rootDir>/public/",
"<rootDir>/scripts/"
],
"setupFiles": [
"<rootDir>/scripts/test-setup.js",
"<rootDir>/scripts/__mocks__/userRouter.js",
"<rootDir>/scripts/__mocks__/dateMock.js"
],
"testURL": "http://localhost:3001/?from=2018-04-25&to=2018-05-25"
}
}