UNPKG

1.66 kBJSONView Raw
1{
2 "name": "tmp-react-map-gl-draw",
3 "description": "A lite version editing layer with react",
4 "license": "MIT",
5 "version": "0.16.127",
6 "author": "Xintong Xia <xintong@uber.com>",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/uber/nebula.gl"
10 },
11 "keywords": [
12 "svg",
13 "visualization",
14 "editing"
15 ],
16 "main": "dist/index.js",
17 "module": "dist-es6/index.js",
18 "files": [
19 "dist",
20 "dist-es6",
21 "src"
22 ],
23 "scripts": {
24 "build-clean": "rm -fr dist dist-es6 && mkdir -p dist dist-es6",
25 "build-es6": "rm -fr dist-es6 && BABEL_ENV=es6 babel src --config-file ./babel.config.js --out-dir dist-es6 --source-maps inline",
26 "build-es5": "rm -fr dist && BABEL_ENV=es5 babel src --config-file ./babel.config.js --out-dir dist --source-maps inline",
27 "build": "yarn build-clean && yarn build-es6 && yarn build-es5",
28 "flow": "(cd ../.. && yarn flow)",
29 "lint": "(cd ../.. && yarn lint)",
30 "prepublish": "yarn build",
31 "publish-prod": "yarn build && yarn test && yarn test-dist && npm publish",
32 "publish-beta": "yarn build && yarn test && yarn test-dist && npm publish --tag beta",
33 "test": "yarn lint && yarn build && yarn flow && yarn jest"
34 },
35 "dependencies": {
36 "@nebula.gl/edit-modes": "0.16.0",
37 "@turf/helpers": "^6.1.4",
38 "mjolnir.js": "^2.2.1",
39 "prop-types": "^15.7.2",
40 "uuid": "^3.3.2",
41 "viewport-mercator-project": "^6.1.0"
42 },
43 "devDependencies": {
44 "react-map-gl": "^5.0.2"
45 },
46 "peerDependencies": {
47 "react": "^16.x",
48 "react-dom": "^16.x",
49 "react-map-gl": "^5.x"
50 },
51 "resolutions": {
52 "@turf/difference": "6.0.1"
53 }
54}