-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 4.36 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
{
"name": "belize-reports",
"version": "3.0.0",
"description": "Test drive",
"main": "src/index.js",
"private": false,
"scripts": {
"start-data": "http-server data/dist -c-1",
"__test": "geoprocessing test",
"test": "npm run test:unit && npm run test:smoke",
"test:unit": "npm run __test -- --group=unit --passWithNoTests",
"test:unit:matching": "npm run __test -- --runInBand --group=unit --passWithNoTests -t",
"test:smoke": "start-server-and-test start-data 8080 'npm run __test -- --runInBand --group=smoke --silent'",
"test:smoke:matching": "npm run __test -- --runInBand --group=smoke -t",
"add:template": "geoprocessing add:template",
"import:data": "start-server-and-test 'http-server data/dist -c-1 -p 8001' http://localhost:8001 import:data_",
"import:data_": "geoprocessing import:data",
"precalc:data": "start-server-and-test 'http-server data/dist -c-1 -p 8001' http://localhost:8001 precalc:data_",
"precalc:data_": "geoprocessing precalc:data",
"precalc:data:clean": "geoprocessing precalc:data:clean",
"reimport:data": "start-server-and-test 'http-server data/dist -c-1 -p 8001' http://localhost:8001 reimport:data_",
"reimport:data_": "geoprocessing reimport:data",
"publish:data": "geoprocessing publish:data",
"install:scripts": "mkdir -p data/bin && cp -r node_modules/@seasketch/geoprocessing/dist/data/bin/* data/bin && mkdir -p scripts && cp -r node_modules/@seasketch/geoprocessing/dist/base-project/scripts/* scripts",
"translation:install": "rm -rf src/i18n/baseLang && cp -r node_modules/@seasketch/geoprocessing/dist/base-project/src/i18n/baseLang src/i18n",
"translation:extract": "rm -rf src/i18n/lang/en && NODE_ENV=development npx babel 'src/**/*.{ts,tsx}' > /dev/null && mv extractedTranslations/en src/i18n/lang/en && rm -rf extractedTranslations && npx ts-node scripts/extractExtraTerms.ts && echo 'Translations extracted to src/lang/en and src/i18n/extraTerms.json'",
"translation:publish": "npx ts-node src/i18n/bin/publishTerms.ts",
"translation:import": "npx ts-node src/i18n/bin/importTerms.ts",
"translation:sync": "npm run translation:extract && npm run translation:publish && npm run translation:import",
"workspace:shell": "docker-compose -f data/docker-compose.yml run --rm -v \"$(data/bin/readlink.sh data/src)\":/data/src -v \"$(data/bin/readlink.sh data/dist)\":/data/dist -v \"$(data/bin/readlink.sh data/bin)\":/data/bin workspace",
"create:function": "geoprocessing create:function",
"create:client": "geoprocessing create:client",
"create:report": "geoprocessing create:report",
"start:client": "geoprocessing start:client",
"synth": "geoprocessing synth",
"bootstrap": "geoprocessing bootstrap",
"deploy": "geoprocessing deploy",
"destroy": "geoprocessing destroy",
"build": "geoprocessing build:lambda && geoprocessing build:client",
"build:client": "geoprocessing build:client",
"build:lambda": "geoprocessing build:lambda",
"start-storybook": "geoprocessing start-storybook",
"url": "geoprocessing url",
"clear-results": "geoprocessing clear-results",
"clear-all-results": "geoprocessing clear-all-results",
"prepare": "npm run translation:install"
},
"keywords": [
"@seasketch/geoprocessing"
],
"dependencies": {
"@turf/area": "^6.5.0",
"@turf/bbox": "^6.5.0",
"@turf/bbox-clip": "^6.5.0",
"@turf/boolean-valid": "^6.5.0",
"@turf/combine": "^6.5.0",
"@turf/flatten": "^6.5.0",
"@turf/invariant": "^6.5.0",
"@turf/kinks": "^6.5.0",
"react-i18next": "^12.2.0",
"react-to-print": "^2.15.1",
"simple-statistics": "^7.8.3",
"union-subdivided-polygons": "^0.9.1",
"workerpool": "^9.1.0"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@seasketch/geoprocessing": "6.1.3-experimental-importDataCLI.11",
"@turf/boolean-disjoint": "^6.5.0",
"@turf/boolean-valid": "^6.5.0",
"@types/request": "^2.48.8",
"babel-plugin-i18next-extract": "^0.9.0",
"request": "^2.88.2"
},
"repositoryUrl": "https://github.com/seasketch/belize-reports",
"author": "petermenzies",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/seasketch/belize-reports.git"
},
"homepage": "https://github.com/seasketch/belize-reports#readme",
"bugs": {
"url": "https://github.com/seasketch/belize-reports/issues"
}
}