This repository has been archived by the owner on May 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
141 lines (141 loc) · 4.29 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
{
"name": "report-a-cybercrime",
"version": "0.0.1",
"license": "MIT",
"repository": "github:cds-snc/report-a-cybercrime",
"scripts": {
"dev": "lingui compile && razzle start",
"build": "lingui compile && razzle build",
"heroku-postbuild": "NODE_ENV=production lingui extract && lingui compile && razzle build",
"dbg": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test": "jest",
"test-all": "npm run lint && npm run check-translations && npm run coverage",
"coverage": "jest",
"lint": "eslint 'src/**/*.js'",
"start": "NODE_ENV=production node build/server.js",
"add-locale": "lingui add-locale",
"extract": "lingui extract --clean",
"compile": "lingui compile",
"upgrade-interactive": "npm-check --update",
"check-translations": "lingui extract && node utils/checkTranslations.js",
"lingui-helper": "node utils/linguiHelper.js"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"dependencies": {
"@babel/polyfill": "^7.6.0",
"@babel/runtime": "^7.6.2",
"@cdssnc/logdriver": "0.0.2",
"@emotion/core": "^10.0.21",
"@emotion/styled": "^10.0.17",
"@lingui/react": "^2.8.3",
"@reach/component-component": "^0.3.0",
"@reach/router": "^1.2.1",
"@testing-library/jest-dom": "^4.1.2",
"apollo-cache-inmemory": "^1.6.3",
"apollo-client": "^2.6.4",
"apollo-link-error": "^1.1.12",
"apollo-link-http": "^1.5.16",
"apollo-upload-client": "^11.0.0",
"applicationinsights": "^1.4.2",
"babel-plugin-macros": "^2.6.1",
"emotion": "^10.0.17",
"emotion-server": "^10.0.17",
"emotion-theming": "^10.0.19",
"express": "^4.17.1",
"express-request-language": "^1.1.15",
"final-form": "^4.18.5",
"graphql": "^14.5.7",
"graphql-tag": "^2.10.1",
"isomorphic-unfetch": "^3.0.0",
"query-string": "^6.8.3",
"razzle": "3.0.0",
"react": "^16.10.2",
"react-apollo": "^2.5.8",
"react-dom": "^16.10.1",
"react-final-form": "^6.3.0",
"react-ga": "^2.6.0",
"react-helmet-async": "^1.0.3",
"react-stepper-horizontal": "^1.0.11",
"recharts": "^1.7.1",
"recompose": "^0.30.0",
"styled-system": "^5.1.2"
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-regenerator": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"@lingui/babel-preset-react": "^2.8.3",
"@lingui/cli": "^2.8.3",
"@lingui/macro": "^2.8.3",
"@testing-library/react": "^9.1.4",
"acorn": "^7.0.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-plugin-emotion": "^10.0.19",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.17.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.0.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^3.0.5",
"is-react": "^1.3.3",
"jest": "^24.9.0",
"jest-emotion": "^10.0.17",
"npm-check": "^5.9.0",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"prop-types": "^15.7.2",
"supertest": "^4.0.2",
"waait": "^1.0.5",
"webpack-bundle-analyzer": "^3.5.1"
},
"lingui": {
"srcPathIgnorePatterns": [
"/node_modules/",
"build"
],
"sourceLocale": "en",
"format": "minimal"
},
"jest": {
"verbose": true,
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": 50
}
},
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js",
"^.+\\.svg$": "<rootDir>/src/images/svgTransform.js"
}
}
}