-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
149 lines (149 loc) · 4.55 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
{
"name": "wazimap-ng",
"version": "1.0.0",
"main": "index.js",
"author": "CTO <cto@openup.org.za>",
"license": "MIT",
"engines": {
"node": "16.20.2"
},
"dependencies": {
"@emotion/react": "^11.9.3",
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.10.9",
"@mui/lab": "^5.0.0-alpha.120",
"@mui/material": "^5.8.5",
"@sentry/browser": "^5.20.1",
"@testing-library/react": "^13.4.0",
"@types/react": "^16.8.6 || ^17.0.0",
"babel-polyfill": "^6.26.0",
"category": "^0.1.2",
"components": "^0.1.0",
"controller": "^1.0.0",
"css": "^2.2.4",
"d3-array": "^2.12.1",
"d3-format": "^1.4.2",
"d3-scale": "^3.2.1",
"d3-scale-chromatic": "^1.5.0",
"d3-selection": "^1.4.1",
"data-visualisations": "https://github.com/vulekamali/data-visualisations.git#reusable",
"debug": "^4.3.2",
"html2canvas": "^1.0.0-rc.5",
"i18next": "^20.2.2",
"import-webflow-export": "^0.0.4",
"jquery": "^3.5.1",
"js": "^0.1.0",
"leaflet": "~1.3.1",
"leaflet-event-forwarder": "^0.0.3",
"leaflet.markercluster": "^1.4.1",
"main": "^1000.0.1",
"main.js": "0.0.1",
"notistack": "^2.0.5",
"papaparse": "^5.3.0",
"pixelmatch": "^5.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"save-svg-as-png": "^1.4.17",
"sheetjs": "^2.0.0",
"shx": "^0.3.2",
"start-server-and-test": "^1.13.1",
"svelte-dev-tools": "^0.0.2",
"vega": "5.25.0",
"vega-embed": "^6.13.0",
"vega-lite": "^4.17.0",
"xlsx": "^0.17.0",
"xss": "^1.0.13"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/preset-env": "^7.14.0",
"@babel/preset-react": "^7.18.6",
"@testing-library/cypress": "^7.0.0",
"@testing-library/dom": "^7.27.0",
"@testing-library/jest-dom": "^5.11.6",
"babel-jest": "^26.3.0",
"babel-plugin-transform-regenerator": "^6.26.0",
"canvas": "^2.9.3",
"chrome-remote-interface": "^0.31.0",
"cssnano": "^4.1.10",
"cy-verify-downloads": "^0.0.5",
"cypress": "^13.3.0",
"cypress-cucumber-preprocessor": "^2.5.5",
"html-loader-jest": "0.2.1",
"jest": "^26.4.2",
"jest-transform-stub": "2.0.0",
"miragejs": "^0.1.41",
"parcel": "1.12.4",
"parcel-bundler": "1.12.5",
"react-test-renderer": "^18.2.0",
"sass": "^1.52.3",
"webpack": "^5.88.2"
},
"scripts": {
"start": "parcel ./src/index.html",
"cypress:gui": "cypress run --browser chrome --spec __tests__/gui/*.feature --record --key e45f872b-81b5-4f63-ad26-1dff310fb348",
"cypress:gui-local": "cypress run --browser chrome --spec __tests__/gui/*.feature",
"cypress": "cypress run --spec __tests__/e2e/*.feature",
"cypress:open": "cypress open",
"test:gui-local": "start-server-and-test start http://localhost:1234 cypress:gui-local",
"test:gui": "start-server-and-test start http://localhost:1234 cypress:gui",
"test": "jest",
"test:watch": "jest --watch",
"prebuild-dev": "shx rm -rf dist/*",
"build-dev": "parcel build ./src/index.html ./src/tabular-comparison.html --no-minify --public-url ./",
"prebuild": "shx rm -rf dist/*",
"build": "parcel build ./src/index.html ./src/tabular-comparison.html --no-minify --public-url ./ ",
"clean-files": "cp dist/js*.js dist/wazimap-ng.js; cp dist/js*.js.map dist/wazimap-ng.js.map; cp dist/js*.css dist/wazimap-ng.css"
},
"browserslist": "> 0.25%, not dead",
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true,
"stepDefinitions": "__tests__/gui"
},
"jest": {
"setupFiles": [
"./setup-jest.js"
],
"setupFilesAfterEnv": [
"./jest-custom-matchers.js"
],
"testPathIgnorePatterns": [
"/__tests__/gui/",
"/__tests__/e2e/",
"/node_modules/",
".data.js"
],
"transformIgnorePatterns": [
"node_modules/(?!(leaflet|leaflet.markercluster|d3-format)/)"
],
"moduleFileExtensions": [
"js",
"html"
],
"transform": {
"^.+\\.js$": "babel-jest",
".+\\.(css|styl|less|sass|scss|png|jpg|gif|ttf|woff|woff2)$": "jest-transform-stub",
"^.+\\.html$": "html-loader-jest"
}
},
"importWebflowExport": {
"copyTrees": {
"css": "src/css",
"js": "src/js",
"images": "src/images"
},
"importHtml": [
{
"glob": "index.html",
"destDir": "src",
"transforms": "./src/js/webflow/import.js"
},
{
"glob": "{401,about}.html",
"destDir": "src"
}
]
}
}