forked from OpenUpSA/wazimap-ng-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.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
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
{
"name": "wazimap-ng",
"version": "1.0.0",
"main": "index.js",
"author": "Adi Eyal <[email protected]>",
"license": "MIT",
"dependencies": {
"@sentry/browser": "^5.20.1",
"babel-polyfill": "^6.26.0",
"category": "^0.1.2",
"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",
"dotenv": "^16.0.1",
"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",
"papaparse": "^5.3.0",
"pixelmatch": "^5.2.1",
"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.17.0",
"vega-embed": "^6.13.0",
"vega-lite": "^4.17.0",
"xlsx": "^0.17.0"
},
"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",
"@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.8.0",
"chrome-remote-interface": "^0.31.0",
"cssnano": "^4.1.10",
"cy-verify-downloads": "^0.0.5",
"cypress": "^8.2.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"
},
"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 --no-minify --public-url ./",
"prebuild": "shx rm -rf dist/*",
"build": "parcel build ./src/index.html --public-url ./ ",
"push-prod": "push-dir --dir=dist --branch=gh-pages --cleanup --verbose",
"push-staging": "push-dir --remote=staging --dir=dist --branch=gh-pages --cleanup --verbose",
"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"
],
"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"
}
]
}
}