antv-l7/package.json

212 lines
8.0 KiB
JSON
Raw Normal View History

2019-11-21 13:44:32 +08:00
{
2019-12-21 23:03:23 +08:00
"name": "l7",
2019-11-21 13:44:32 +08:00
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/antvis/L7"
},
"devDependencies": {
"@antv/g2": "^3.5.9",
"@antv/g2plot": "^2.3.40",
"@antv/gatsby-theme-antv": "^1.1.15",
"@antv/l7-district": "^2.3.9",
"@antv/l7-draw": "2.4.18",
"@antv/l7-react": "^2.3.3",
2019-11-21 13:44:32 +08:00
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-decorators": "^7.6.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
2019-11-21 13:44:32 +08:00
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
2019-12-20 16:56:06 +08:00
"@babel/plugin-syntax-async-generators": "^7.7.4",
2020-02-22 15:10:46 +08:00
"@babel/plugin-transform-parameters": "^7.8.4",
2019-12-20 16:56:06 +08:00
"@babel/plugin-transform-runtime": "^7.7.6",
2019-11-21 13:44:32 +08:00
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
2021-04-14 00:39:07 +08:00
"@babel/standalone": "^7.13.15",
2019-11-21 13:44:32 +08:00
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@loadable/component": "^5.15.0",
"@rollup/plugin-alias": "2.2.0",
2020-04-21 20:07:17 +08:00
"@rollup/plugin-commonjs": "11.0.2",
2019-11-21 13:44:32 +08:00
"@rollup/plugin-json": "^4.0.0",
2019-12-30 20:06:12 +08:00
"@rollup/plugin-node-resolve": "^6.0.0",
2021-04-06 18:00:53 +08:00
"@storybook/react": "^6.2.2",
"@turf/turf": "^6.5.0",
2019-11-21 13:44:32 +08:00
"@types/dat.gui": "^0.7.1",
"@types/enzyme": "^3.1.14",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/gl": "^4.1.0",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^25.2.1",
2020-04-20 16:47:35 +08:00
"@types/node": "13.11.1",
"@types/react-router-dom": "^5.3.2",
2021-04-06 18:00:53 +08:00
"@types/storybook__react": "^5.2.1",
2019-11-21 13:44:32 +08:00
"@types/supercluster": "^5.0.1",
"antd": "4.12.3",
2019-11-21 13:44:32 +08:00
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "8.2.5",
2019-11-21 13:44:32 +08:00
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-const-enum": "^0.0.2",
"babel-plugin-css-modules-transform": "^1.6.2",
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-inline-webgl-constants": "^1.0.1",
"babel-plugin-lodash": "^3.3.4",
Shihui dev (#818) * feat: 增加小程序环境判断、替换 regl -> l7regl * style: code style * feat(新增工程配置): 新增小程序工程配置 * feat: 支持小程序环境中传入 canvas 实例用于渲染、兼容 L7 原有代码 * style: code style * feat: 小程序不需要对 classList 操作(真机也没有 classList 属性) * style: code style * feat: 对 docStyle、devicePixelRatio 以及部分 dom 的兼容 * style: code style * feat: 小程序兼容 window.perframce.now requestAnimationFrame * feat: 新增工程配置 * feat: 新增工程配置 * feat: 兼容动画减弱以及部分的 dom 处理 * style: code style * feat: 替换 mapbox/tiny-sdf -> l7-tiny-sdf * style: code style * feat: 兼容操作 * style: code style * style: demo code * feat: change version * feat: mini code * feat: 小程序兼容 * feat: 合并mini-adapter * feat: 合并mini-adapter * feat: 新增tag * feat: 增加 imageData 兼容 * style: code style by lint * feat: 修改版本号 * feat: 新增mini6 beta版本 * feat: 去除原adapter * feat: 修改版本号 * feat: 升级版本 * feat: 修改版本引用 * style: code style * feat: 小程序兼容requestAnimationFrame * feat: 小程序兼容requestAnimationFrame * style: maps -> mini * feat: update mini version * feat: 修改 webgl 扩展名称的大小写、使之可以与 l7regl 配合,兼容小程序环境 * feat: 用适配的 requestAnimateFrame 替换 setInterval * feat: 修改 L7 - mini 版本、修改 adapter 中 screen、devicePixelRadio 关于 isMini 的取值 * feat: 修复小程序环境中 getMapTouches 的取值 * feat: 地图联动部分改造 * feat: 增加地图联动 * feat: 修复新增小程序地图联动 * feat: 增加小程序地图联动 * style: lint style * style: handle merge conflict * feat: 增加有无底图模式的参数控制、修复与小程序地图联动时的 bug * style: lint style * feat: 扩展小程序地图联动传递参数 * style: lint style * chore: update L7Mini version 2.5.8 - mini16 -> 2.5.8 - mini17 * feat: 增加小程序可视化交互注册监听时上下文绑定 * style: lint style * chore: update L7Mini version 2.5.8mini17 -> 2.5.8mini18 * chore: update L7Mini version 2.5.8mini18 -> 2.5.8mini19 * chore: update L7Mini version 2.5.8mini20 -> 2.5.8mini21 * feat: add performance demo * style: lint style * style: lint style * feat: add getModelMatrix into viewport * feat: 新增地球模式 (初步构建) * feat: 完善地球交互 * style: lint style * feat: 调整地球图层缩放的方向 * style: lint style * feat: 增加地球模式的 pointLayer/fill 图层 * style: lint style * feat: 增加地球、太阳的简单运动系统,优化部分代码结构 * fix: 修复时间点击出错 * style: lint style * fix: 修复地图 panBy 方法参数错误 * style: lint style * feat: pointLayer/cylinder 圆柱兼容地球模式 * style: lint style * feat: 修复 pointLayer/fill 在拾取是破面严重的情况 * style: lint style * feat: 增加 arc 弧度调节 * feat: 增加 lineLayer/arc3d 兼容地球模式 * style: lint style * feat: 增加地球图层 - 大气层 * style: lint style * feat: 增加设置可视化层背景色的能力 * style: lint style * feat: 增加地球外发光效果 * style: lint style * feat: 允许用户不使用 layer 的 source 方法 - 地球模式下光晕图层不需要传数据 * style: lint style * feat: 调整光晕的 shader 计算 * feat: 调整地球大气层的渲染层级 * style: lint style * feat: 调整案例 * style: lint style * feat: 增加地球图层的默认参数、调整部分代码 * style: lint style * feat: imageTile developinging * style: lint style * feat: 新增图片瓦片地图 * fix: 修复 amap2 新增样式导致的 marker 失效 * feat: 修复 amap2 的 amap-maps 新增 z-index=0; 引发的marker 显示层级失效 * feat: amap2 的 amap-maps 新增 z-index=0; 样式,让 marker 中 zIndex 失效 * style: lint style * feat: 补全瓦片地图中的类型引用 * style: lint style * feat: 取消 earthmap 的 hash 模块 * feat: 调整 L7Mini 版本 * feat: 合并图片瓦片图层 * feat: 增加 imageLayer 的对小程序的兼容 * style: lint style * feat: 修改小程序分支版本 * feat: 更新 l7regl 依赖(补充对支付宝小程序 image 对象的类型判断) * feat: 增加 demo * style: lint style * feat: 修复 varying 传递 float 总数在部分终端设备 ios13 上突破限制的问题 * feat: add stoty demo * style: lint style * feat: 调整 aspace demo * feat: 调整 aspace demo * style: lint style * feat: 调整 demo * feat: 补充依赖 * chore: update version 2.5.39 -> 2.5.40 * feat: 新增 arcmini layer,增加拖拽时的拾取优化(地图拖拽时取消拾取) * feat: 增加注释 * chore: update version 2.5.40 -> 2.5.41 * feat: 剔除地图拖拽时多余的 shader 计算 * style: lint style * feat: 暂时取消拖拽时 shader 的过滤处理 * style: lint style * feat: 合并 mi nimini * feat: add l7hammerjs * feat: 增加 l7hammerjs 声明 * feat: update version * feat: merge shihui_dev * feat: 去除多余依赖 * feat: 小程序合并 master 无报错版本 * feat: 修改 demo * style: lint style * feat: change l7hammerjs * feat: remove test hammerjs * chore: update verison and get enable branch 2.5.37-mini19 * chore: update version 2.5.37-mini19 -> 2.5.37-mini20 enabled * feat: 去除 hammerjs 的类型定义 - l7hammerjs * style: lint style * feat: 增加类型定义 @antv/l7-maps/lib/map/ * feat: 调整类型定义 * feat: 调整类型定义文件 * feat: change typing Co-authored-by: zhongwu <xingya.sxy@alibaba-inc.com>
2021-11-01 21:13:19 +08:00
"babel-plugin-transform-import-css-l7": "^0.0.5",
"babel-plugin-transform-import-styles": "^0.0.11",
2020-01-16 18:22:38 +08:00
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-plugin-transform-node-env-inline": "^0.4.3",
2019-11-21 13:44:32 +08:00
"babel-plugin-transform-postcss": "^0.3.0",
2021-08-23 18:15:33 +08:00
"babel-preset-gatsby": "^1.12.0",
2019-11-22 12:08:33 +08:00
"babel-template": "^6.26.0",
"clean-webpack-plugin": "^3.0.0",
2019-11-21 13:44:32 +08:00
"commitizen": "^4.0.3",
"copy-webpack-plugin": "^5.1.1",
2019-12-08 13:44:32 +08:00
"core-js": "3",
2019-11-21 13:44:32 +08:00
"coveralls": "^3.0.7",
"cross-env": "^7.0.2",
2019-11-21 13:44:32 +08:00
"css-loader": "^3.2.0",
"cz-conventional-changelog": "^3.0.2",
"dat.gui": "^0.7.2",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.0.0-beta6",
2019-11-22 17:04:41 +08:00
"eslint": "^6.6.0",
2019-11-21 13:44:32 +08:00
"eslint-config-egg": "^7.5.1",
"eslint-plugin-html": "^6.0.0",
2022-01-10 14:15:58 +08:00
"gatsby": "2.32.13",
2019-11-21 13:44:32 +08:00
"gatsby-plugin-google-analytics": "^2.1.27",
"gatsby-remark-prettier": "^1.0.0",
2020-04-18 10:51:09 +08:00
"geotiff": "1.0.0-beta.10",
2019-11-21 13:44:32 +08:00
"gh-pages": "^2.1.1",
"gl": "^4.4.0",
"glsl-minifier": "^0.0.13",
"html-webpack-plugin": "^4.3.0",
2019-11-21 13:44:32 +08:00
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-electron": "^0.1.11",
2019-11-21 13:44:32 +08:00
"jest-styled-components": "^6.2.1",
"lerna": "^3.16.4",
"lint-staged": "^9.2.4",
"mockjs": "^1.1.0",
2019-11-21 13:44:32 +08:00
"npm-run-all": "^4.1.5",
2021-09-22 16:57:05 +08:00
"popmotion": "^9.4.2",
2019-11-21 13:44:32 +08:00
"postcss": "^7.0.18",
"postcss-plugin": "^1.0.0",
"postcss-url": "^8.0.0",
2019-11-21 13:44:32 +08:00
"prettier": "^1.19.1",
"raw-loader": "^4.0.1",
"react": "^16.13.1",
2019-11-21 13:44:32 +08:00
"react-docgen-typescript-loader": "^3.1.0",
"react-dom": "^16.13.1",
2019-11-21 13:44:32 +08:00
"react-i18next": "^11.0.1",
2020-05-03 19:58:17 +08:00
"react-scripts": "^3.4.1",
"rimraf": "^3.0.2",
2019-12-23 12:44:27 +08:00
"rollup": "^1.27.14",
2019-11-21 13:44:32 +08:00
"rollup-plugin-analyzer": "^3.2.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
2019-11-21 13:44:32 +08:00
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript": "^1.0.1",
2019-11-21 13:44:32 +08:00
"rollup-pluginutils": "^2.8.2",
"sass": "^1.43.4",
"sass-loader": "^8.0.2",
2019-11-21 13:44:32 +08:00
"style-loader": "^1.0.0",
"styled-components": "^3.4.6",
"stylelint": "^9.5.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-standard": "^20.0.0",
2019-11-21 13:44:32 +08:00
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.2",
2020-01-20 12:14:49 +08:00
"svg-inline-loader": "^0.8.0",
"three": "0.115.0",
2019-11-21 13:44:32 +08:00
"ts-jest": "^24.0.2",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-plugin-prettier": "^1.3.0",
"tslint-react": "4.1.0",
2019-11-21 13:44:32 +08:00
"typescript": "^3.7.0-beta",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.7",
"webpack-merge": "^4.1.4",
"worker-loader": "^2.0.0"
},
"scripts": {
"start": "yarn run site:clean && yarn run site:develop",
"site:develop": "cross-env BABEL_ENV=site GATSBY_LOGGER=ink gatsby develop --open --host 127.0.0.1 -p 8848",
2020-02-12 00:06:08 +08:00
"site:build": "yarn run site:clean && cross-env BABEL_ENV=site gatsby build --prefix-paths",
2019-11-21 13:44:32 +08:00
"site:clean": "gatsby clean",
"site:deploy": "yarn run site:build && gh-pages -d public",
2019-11-21 13:44:32 +08:00
"site:publish": "gh-pages -d public",
"lint:fix": "prettier --write docs/api/**/*.md docs/api/*.md stories/**/**/*.tsx *.md",
2020-05-19 16:42:44 +08:00
"lint:examples": "eslint examples --fix --ext .js",
2019-11-21 13:44:32 +08:00
"prebuild": "run-p tsc lint",
"build": "yarn clean && lerna run build",
"postbuild": "yarn build:declarations",
"build:declarations": "lerna exec --stream --no-bail 'tsc --project ./tsconfig.build.json'",
2019-11-21 13:44:32 +08:00
"fix": "run-p -c 'lint:ts-* --fix'",
"lint:css": "stylelint 'packages/**/*.js{,x}'",
2020-04-24 17:01:12 +08:00
"lint:ts-prod": "tslint --fix --config tslint.prod.json 'packages/**/*.ts{,x}'",
2021-04-06 18:00:53 +08:00
"lint:ts-test": "tslint --fix --config tslint.json 'packages/**/*.{spec,story}.ts{,x}'",
2019-11-21 13:44:32 +08:00
"lint:ts": "run-p -c lint:ts-*",
"lint": "run-p -c lint:*",
"commit": "git-cz",
2020-04-10 15:56:20 +08:00
"version": "lerna version --force-publish --conventional-commits --exact --no-changelog",
2020-08-21 08:34:19 +08:00
"version:prerelease": "lerna version --force-publish --conventional-prerelease",
"prerelease": "yarn build && yarn bundle",
2021-09-14 14:44:55 +08:00
"release-beta": "yarn run prerelease && lerna publish --dist-tag beta from-package --registry https://registry.npmjs.org/ --force-publish && lerna run sync",
2021-09-14 15:13:02 +08:00
"release": "lerna publish from-package --registry https://registry.npmjs.org/ --force-publish && lerna run sync",
2020-01-06 12:01:13 +08:00
"release-cdn": "antv-bin upload -n @antv/l7",
2019-11-21 13:44:32 +08:00
"storybook": "start-storybook -p 6006",
"test": "cross-env BABEL_ENV=test jest",
"test-live": "cross-env BABEL_ENV=test DEBUG_MODE=1 jest --watch",
2019-11-21 13:44:32 +08:00
"coveralls": "jest --coverage && cat ./tests/coverage/lcov.info | coveralls",
"tsc": "tsc",
"watch": "yarn clean && lerna exec --parallel -- cross-env BABEL_ENV=cjs NODE_ENV=production babel --watch src --root-mode upward --out-dir lib --source-maps --extensions .ts,.tsx --delete-dir-on-start --no-comments",
2020-03-20 19:02:41 +08:00
"bundle": "cross-env BABEL_ENV=bundle NODE_ENV=production node_modules/.bin/rollup -c ./build/rollup.config.js --environment BUILD:production,MINIFY:true",
2020-02-13 16:36:22 +08:00
"bundle-dev": "cross-env BABEL_ENV=bundle node_modules/.bin/rollup -c ./build/rollup.config.js --environment 'BUILD:production,MINIFY:false'",
"bundle:watch": "cross-env BABEL_ENV=bundle node_modules/.bin/rollup -c ./build/rollup.config.js --watch",
2019-11-21 13:44:32 +08:00
"glsl-minify": "node_modules/.bin/glsl-minifier -i ./build/example.frag -o ./build/example.min.frag",
2020-07-21 12:00:10 +08:00
"clean": "lerna run clean",
"sync": "lerna run sync"
2019-11-21 13:44:32 +08:00
},
"workspaces": [
"packages/*",
"stories/*"
],
"husky": {
"hooks": {
"pre-commit": "yarn run lint",
2019-11-21 13:44:32 +08:00
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"browserslist": [
"last 2 version",
"Firefox ESR"
],
2019-11-21 13:44:32 +08:00
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
2019-12-29 13:08:35 +08:00
"resolutions": {
"d3-array": "1",
"monaco-editor-webpack-plugin": "2.0.0",
"monaco-editor": "0.21.0",
"electron": "11.4.6",
"react-router": "6.0.0",
"react-router-dom": "6.0.0"
2019-12-29 13:08:35 +08:00
},
"tnpm": {
"mode": "yarn"
},
Shihui dev (#808) * feat: add getModelMatrix into viewport * feat: 新增地球模式 (初步构建) * feat: 完善地球交互 * style: lint style * feat: 调整地球图层缩放的方向 * style: lint style * feat: 增加地球模式的 pointLayer/fill 图层 * style: lint style * feat: 增加地球、太阳的简单运动系统,优化部分代码结构 * fix: 修复时间点击出错 * style: lint style * fix: 修复地图 panBy 方法参数错误 * style: lint style * feat: pointLayer/cylinder 圆柱兼容地球模式 * style: lint style * feat: 修复 pointLayer/fill 在拾取是破面严重的情况 * style: lint style * feat: 增加 arc 弧度调节 * feat: 增加 lineLayer/arc3d 兼容地球模式 * style: lint style * feat: 增加地球图层 - 大气层 * style: lint style * feat: 增加设置可视化层背景色的能力 * style: lint style * feat: 增加地球外发光效果 * style: lint style * feat: 允许用户不使用 layer 的 source 方法 - 地球模式下光晕图层不需要传数据 * style: lint style * feat: 调整光晕的 shader 计算 * feat: 调整地球大气层的渲染层级 * style: lint style * feat: 调整案例 * style: lint style * feat: 增加地球图层的默认参数、调整部分代码 * style: lint style * feat: imageTile developinging * style: lint style * feat: 新增图片瓦片地图 * fix: 修复 amap2 新增样式导致的 marker 失效 * feat: 修复 amap2 的 amap-maps 新增 z-index=0; 引发的marker 显示层级失效 * feat: amap2 的 amap-maps 新增 z-index=0; 样式,让 marker 中 zIndex 失效 * style: lint style * chore: update version 2.5.36 -> 2.5.37 * feat: 补全瓦片地图中的类型引用 * style: lint style * feat: 增加 demo * style: lint style * feat: 修复 varying 传递 float 总数在部分终端设备 ios13 上突破限制的问题 * chore: update version 2.5.37 -> 2.5.38 * feat: add stoty demo * style: lint style * feat: 调整 aspace demo * feat: 调整 aspace demo * style: lint style
2021-10-25 17:03:51 +08:00
"dependencies": {
"@antv/geo-coord": "^1.0.8"
}
2019-11-21 13:44:32 +08:00
}