-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
45 lines (45 loc) · 1.91 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
{
"name": "@solgenomics/brapi-fieldmap",
"version": "1.0.0",
"description": "Tool for generating Fieldmap.",
"main": "index.js",
"dependencies": {
"@solgenomics/brapijs": "^1.0.1",
"@turf/turf": "^5.1.6",
"d3": "^5.7.0",
"leaflet": "^1.5.1",
"leaflet-path-transform": "^1.1.2",
"leaflet-search": "^2.9.8"
},
"devDependencies": {
"@solgenomics/brapp-wrapper": "^1.1.0",
"rollup": "^0.66.2",
"npm": "^6.4.0",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-node-resolve": "^3.4.0"
},
"repository": {
"type": "git",
"url": "https://github.com/solgenomics/brapi-fieldmap.git"
},
"author": "Nahuel Soldevilla <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/solgenomics/brapi-fieldmap/issues"
},
"scripts": {
"prepare": "mkdir -p dist && rollup -c",
"copy_example_files": "rm -r docs/example_files; mkdir -p docs/example_files && cp dist/* node_modules/@solgenomics/brapijs/build/BrAPI.js node_modules/@turf/turf/turf.js node_modules/d3/dist/d3.js node_modules/leaflet/dist/leaflet.js node_modules/leaflet/dist/leaflet.css node_modules/leaflet-path-transform/dist/L.Path.Transform.js node_modules/leaflet-search/dist/leaflet-search.src.js node_modules/leaflet-search/dist/leaflet-search.min.css docs/example_files && mkdir -p docs/images && cp node_modules/leaflet-search/images/loader.gif node_modules/leaflet-search/images/search-icon.png docs/images",
"prepublishOnly": "npm run copy_example_files && wrapbrapp",
"build_example": "npm run prepare && npm run copy_example_files && npm run prepublishOnly",
"watch": "rollup -c -w -m inline"
},
"brapp": {
"out": "docs/example.html",
"name": "GeoJson Fieldmap editor",
"link": "https://github.com/solgenomics/brapi-fieldmap",
"forward": "example_src/forward.html",
"main": "example_src/main.html",
"scripts": "example_src/scripts.html"
}
}