-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
194 lines (194 loc) · 7.08 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "impact-oss",
"version": "0.1.21",
"description": "NZ version of Integrated Management and Planning of ACTions Open Source Software",
"repository": {
"type": "git",
"url": "git://github.com/impactoss/impactoss.git"
},
"engines": {
"npm": ">=10.5.0",
"node": ">=21.1.0"
},
"author": "tmfrnz",
"license": "MIT",
"scripts": {
"analyze:clean": "rimraf stats.json",
"preanalyze": "npm run analyze:clean",
"analyze": "node ./internals/scripts/analyze.js",
"extract-intl": "formatjs extract 'app/**/*.js' --out-file app/translations/en-NZ.json --format internals/scripts/extract-intl-formatter.js",
"npmcheckversion": "node ./internals/scripts/npmcheckversion.js",
"preinstall": "npm run npmcheckversion",
"prebuild": "npm run build:clean",
"build": "npm run prebuild && cross-env NODE_ENV=production SERVER=production webpack --config internals/webpack/webpack.prod.babel.js --color --progress",
"build:dev": "npm run prebuild && cross-env NODE_ENV=production SERVER=development webpack --config internals/webpack/webpack.prod.babel.js --color --progress",
"build:test": "npm run prebuild && cross-env NODE_ENV=production SERVER=UAT webpack --config internals/webpack/webpack.prod.babel.js --color --progress",
"build:clean": "rimraf ./build",
"start": "cross-env NODE_ENV=development SERVER=development node server",
"start:test": "cross-env NODE_ENV=development SERVER=UAT node server",
"start:pdb": "cross-env NODE_ENV=development SERVER=production node server",
"start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server",
"start:p": "npm run start:production",
"start:production": "npm run build && npm run start:prod",
"start:prod": "cross-env NODE_ENV=production SERVER=production node server",
"presetup": "npm i chalk shelljs",
"setup": "node ./internals/scripts/setup.js",
"clean": "shjs ./internals/scripts/clean.js",
"clean:all": "npm run analyze:clean && npm run test:clean && npm run build:clean",
"generate": "plop --plopfile internals/generators/index.js",
"lint": "npm run lint:js && npm run lint:css",
"lint:css": "stylelint 'app/**/**.js' --formatter",
"lint:eslint": "eslint --ignore-pattern internals --ignore-pattern server",
"lint:eslint:fix": "eslint --ignore-pattern internals --ignore-pattern server --fix",
"lint:js": "npm run lint:eslint -- .",
"lint:staged": "lint-staged",
"pretest": "npm run test:clean && npm run lint",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prettify": "prettier --write",
"predeploy:copy": "rimraf ../human-rights-website/* && cp ./build/* ../human-rights-website/"
},
"browserslist": [
"last 2 versions",
"> 1%",
"IE 10"
],
"lint-staged": {
"*.js": [
"npm run lint:eslint",
"git add --force"
],
"*.json": [
"prettier --write",
"git add --force"
]
},
"pre-commit": "lint:staged",
"resolutions": {
"babel-core": "7.0.0-bridge.0"
},
"dependencies": {
"babel-plugin-formatjs": "^10.5.16",
"chalk": "4.1.0",
"compression": "1.7.4",
"coolors-to-hex": "^1.0.3",
"core-js": "^3.37.1",
"date-fns": "3.6.0",
"express": "^4.9.2",
"formik": "^2.4.6",
"grommet": "^2.37.0",
"grommet-icons": "4.12.1",
"immutable": "^4.3.6",
"intl": "1.2.5",
"invariant": "2.2.4",
"ip": "2.0.1",
"lodash": "4.17.21",
"minimist": "1.2.8",
"process": "^0.11.10",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-day-picker": "8.10.1",
"react-debounce-input": "^3.3.0",
"react-dom": "^18.3.1",
"react-helmet": "^6.1.0",
"react-intl": "6.6.8",
"react-markdown": "9.0.0",
"react-modal": "^3.16.1",
"react-papaparse": "^4.4.0",
"react-redux": "9.1.2",
"react-router": "^3.2.6",
"react-router-redux": "4.0.8",
"react-s3-uploader": "^5.0.0",
"react-svg-pathline": "^0.6.0",
"redux": "5.0.1",
"redux-immutable": "^4.0.0",
"redux-saga": "^1.3.0",
"regenerator-runtime": "^0.14.1",
"rehype-external-links": "^3.0.0",
"reselect": "5.1.1",
"sanitize.css": "13.0.0",
"styled-components": "6.1.13",
"styled-theme": "^0.3.3",
"textarea-markdown-editor": "^1.0.4",
"warning": "4.0.3"
},
"devDependencies": {
"@babel/cli": "7.23.9",
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-modules-commonjs": "7.23.3",
"@babel/plugin-transform-react-constant-elements": "7.23.3",
"@babel/plugin-transform-react-inline-elements": "7.23.3",
"@babel/preset-env": "7.24.0",
"@babel/preset-react": "7.23.3",
"@babel/register": "7.23.7",
"@eslint/compat": "1.1.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.5.0",
"@formatjs/cli": "^6.2.12",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.0",
"ajv": "^8.16.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "9.1.3",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-styled-components": "2.1.4",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"circular-dependency-plugin": "5.2.2",
"compare-versions": "6.1.0",
"compression-webpack-plugin": "11.1.0",
"copy-webpack-plugin": "12.0.2",
"coveralls": "3.1.1",
"cross-env": "^7.0.3",
"css-loader": "7.1.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-webpack": "0.13.8",
"eslint-plugin-import": "2.25.2",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.34.0",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-redux-saga": "1.3.2",
"git-revision-webpack-plugin": "5.0.0",
"globals": "^15.6.0",
"html-loader": "^5.1.0",
"html-webpack-plugin": "5.6.0",
"image-minimizer-webpack-plugin": "^4.0.2",
"imagemin": "^9.0.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-svgo": "^11.0.1",
"lint-staged": "15.2.7",
"memfs": "4.9.2",
"ngrok": "^3.4.1",
"node-plop": "0.32.0",
"node-polyfill-webpack-plugin": "^4.0.0",
"offline-plugin": "5.0.7",
"plop": "4.0.1",
"postcss-styled-syntax": "^0.6.4",
"pre-commit": "1.2.2",
"prettier": "3.3.2",
"react-app-polyfill": "3.0.0",
"react-refresh": "^0.14.2",
"react-test-renderer": "18.3.1",
"rimraf": "5.0.7",
"shelljs": "^0.8.5",
"style-loader": "4.0.0",
"stylelint": "16.6.1",
"stylelint-config-recommended": "14.0.1",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"terser-webpack-plugin": "5.3.10",
"webpack": "5.91.0",
"webpack-cli": "5.1.4",
"webpack-dev-middleware": "7.2.1",
"webpack-hot-middleware": "2.26.1",
"webpack-pwa-manifest": "4.3.0"
}
}