-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
74 lines (74 loc) · 2.57 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
{
"name": "@dhis2/maps-gl",
"version": "4.0.1",
"description": "A WebGL rendering engine for DHIS2 maps based on Mapbox GL JS.",
"publishConfig": {
"access": "public"
},
"files": [
"build/**"
],
"main": "build/cjs/index.js",
"module": "build/es/index.js",
"repository": "https://github.com/dhis2/maps-gl",
"author": "Bjorn Sandvik <[email protected]>",
"maintainers": [
"Bjorn Sandvik <[email protected]>",
"Austin McGee <[email protected]>"
],
"license": "BSD-3-Clause",
"dependencies": {
"@mapbox/sphericalmercator": "^1.2.0",
"@turf/area": "^6.5.0",
"@turf/bbox": "^6.5.0",
"@turf/buffer": "^6.5.0",
"@turf/center-of-mass": "^6.5.0",
"@turf/circle": "^6.5.0",
"@turf/length": "^6.5.0",
"comlink": "^4.4.1",
"fetch-jsonp": "^1.3.0",
"lodash.throttle": "^4.1.1",
"maplibre-gl": "^2.4.0",
"polylabel": "^1.1.0",
"suggestions": "^1.7.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/runtime": "^7.24.7",
"@dhis2/cli-style": "^10.7.3",
"@types/jest": "^29.4.0",
"babel-jest": "^29.7.0",
"babel-plugin-transform-import-meta": "^2.2.1",
"concurrently": "^7.6.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"rimraf": "^5.0.7"
},
"scripts": {
"lint": "yarn d2-style check",
"lint:staged": "yarn lint --staged",
"format": "yarn d2-style apply",
"format:staged": "yarn format --staged",
"clean": "rimraf ./build/*",
"build:commonjs": "BABEL_ENV=commonjs babel src --out-dir ./build/cjs --copy-files --verbose",
"build:modules": "BABEL_ENV=modules babel src --out-dir ./build/es --copy-files --verbose",
"build": "NODE_ENV=production yarn clean && yarn build:commonjs && yarn build:modules",
"watch": "NODE_ENV=development yarn clean && concurrently -n watch-cjs,watch-es \"yarn build:commonjs --watch\" \"yarn build:modules --watch\"",
"test": "jest src/*"
},
"jest": {
"setupFiles": [
"./jest.stub.js"
],
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
},
"testEnvironment": "jsdom"
}
}