mirror of https://gitee.com/antv-l7/antv-l7
215 lines
8.1 KiB
JSON
215 lines
8.1 KiB
JSON
{
|
|
"name": "l7",
|
|
"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",
|
|
"@antv/l7plot": "^0.0.4",
|
|
"@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",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
|
|
"@babel/plugin-syntax-async-generators": "^7.7.4",
|
|
"@babel/plugin-transform-parameters": "^7.8.4",
|
|
"@babel/plugin-transform-runtime": "^7.7.6",
|
|
"@babel/preset-env": "^7.5.5",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@babel/standalone": "^7.13.15",
|
|
"@commitlint/cli": "^8.1.0",
|
|
"@commitlint/config-conventional": "^8.1.0",
|
|
"@loadable/component": "^5.15.0",
|
|
"@rollup/plugin-alias": "2.2.0",
|
|
"@rollup/plugin-commonjs": "11.0.2",
|
|
"@rollup/plugin-json": "^4.0.0",
|
|
"@rollup/plugin-node-resolve": "^6.0.0",
|
|
"@storybook/react": "^6.2.2",
|
|
"@turf/turf": "^6.5.0",
|
|
"@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",
|
|
"@types/node": "13.11.1",
|
|
"@types/react-router-dom": "^5.3.2",
|
|
"@types/storybook__react": "^5.2.1",
|
|
"@types/supercluster": "^5.0.1",
|
|
"antd": "4.12.3",
|
|
"awesome-typescript-loader": "^5.2.1",
|
|
"babel-eslint": "8.2.5",
|
|
"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",
|
|
"babel-plugin-transform-import-css-l7": "^0.0.6",
|
|
"babel-plugin-transform-import-styles": "^0.0.11",
|
|
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
|
"babel-plugin-transform-node-env-inline": "^0.4.3",
|
|
"babel-plugin-transform-postcss": "^0.3.0",
|
|
"babel-preset-gatsby": "^1.12.0",
|
|
"babel-template": "^6.26.0",
|
|
"clean-webpack-plugin": "^3.0.0",
|
|
"commitizen": "^4.0.3",
|
|
"copy-webpack-plugin": "^5.1.1",
|
|
"core-js": "3",
|
|
"coveralls": "^3.0.7",
|
|
"cross-env": "^7.0.2",
|
|
"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",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-egg": "^7.5.1",
|
|
"eslint-plugin-html": "^6.0.0",
|
|
"gatsby": "2.32.13",
|
|
"gatsby-plugin-google-analytics": "^2.1.27",
|
|
"gatsby-remark-prettier": "^1.0.0",
|
|
"geotiff": "1.0.0-beta.10",
|
|
"gh-pages": "^2.1.1",
|
|
"gl": "^4.4.0",
|
|
"glsl-minifier": "^0.0.13",
|
|
"html-webpack-plugin": "^4.3.0",
|
|
"husky": "^3.0.9",
|
|
"jest": "^24.9.0",
|
|
"jest-electron": "^0.1.11",
|
|
"@material-ui/core": "^4.10.2",
|
|
"@material-ui/icons": "^4.9.1",
|
|
"jest-styled-components": "^6.2.1",
|
|
"lerna": "^3.16.4",
|
|
"lint-staged": "^9.2.4",
|
|
"mockjs": "^1.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"popmotion": "^9.4.2",
|
|
"postcss": "^7.0.18",
|
|
"postcss-plugin": "^1.0.0",
|
|
"postcss-url": "^8.0.0",
|
|
"prettier": "^1.19.1",
|
|
"raw-loader": "^4.0.1",
|
|
"react": "^16.13.1",
|
|
"react-docgen-typescript-loader": "^3.1.0",
|
|
"react-dom": "^16.13.1",
|
|
"react-i18next": "^11.0.1",
|
|
"react-scripts": "^3.4.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^1.27.14",
|
|
"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",
|
|
"rollup-plugin-terser": "^5.1.2",
|
|
"rollup-plugin-typescript": "^1.0.1",
|
|
"rollup-pluginutils": "^2.8.2",
|
|
"sass": "^1.43.4",
|
|
"sass-loader": "^8.0.2",
|
|
"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",
|
|
"stylelint-config-styled-components": "^0.1.1",
|
|
"stylelint-processor-styled-components": "^1.3.2",
|
|
"svg-inline-loader": "^0.8.0",
|
|
"three": "0.115.0",
|
|
"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",
|
|
"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 -H 0.0.0.0",
|
|
"site:build": "yarn run site:clean && cross-env BABEL_ENV=site gatsby build --prefix-paths",
|
|
"site:clean": "gatsby clean",
|
|
"site:deploy": "yarn run site:build && gh-pages -d public",
|
|
"site:publish": "gh-pages -d public",
|
|
"lint:fix": "prettier --write docs/api/**/*.md docs/api/*.md stories/**/**/*.tsx *.md",
|
|
"lint:examples": "eslint examples --fix --ext .js",
|
|
"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'",
|
|
"fix": "run-p -c 'lint:ts-* --fix'",
|
|
"lint:css": "stylelint 'packages/**/*.js{,x}'",
|
|
"lint:ts-prod": "tslint --fix --config tslint.prod.json 'packages/**/*.ts{,x}'",
|
|
"lint:ts-test": "tslint --fix --config tslint.json 'packages/**/*.{spec,story}.ts{,x}'",
|
|
"lint:ts": "run-p -c lint:ts-*",
|
|
"lint": "run-p -c lint:*",
|
|
"commit": "git-cz",
|
|
"version": "lerna version --force-publish --conventional-commits --exact --no-changelog",
|
|
"version:prerelease": "lerna version --force-publish --conventional-prerelease",
|
|
"prerelease": "yarn build && yarn bundle",
|
|
"release-beta": "yarn run prerelease && lerna publish --dist-tag beta from-package --registry https://registry.npmjs.org/ --force-publish && lerna run sync",
|
|
"release": "lerna publish from-package --registry https://registry.npmjs.org/ --force-publish && lerna run sync",
|
|
"release-cdn": "antv-bin upload -n @antv/l7",
|
|
"storybook": "start-storybook -p 6006",
|
|
"test": "cross-env BABEL_ENV=test jest",
|
|
"test-live": "cross-env BABEL_ENV=test DEBUG_MODE=1 jest --watch",
|
|
"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",
|
|
"bundle": "cross-env BABEL_ENV=bundle NODE_ENV=production node_modules/.bin/rollup -c ./build/rollup.config.js --environment BUILD:production,MINIFY:true",
|
|
"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",
|
|
"glsl-minify": "node_modules/.bin/glsl-minifier -i ./build/example.frag -o ./build/example.min.frag",
|
|
"clean": "lerna run clean",
|
|
"sync": "lerna run sync"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"stories/*"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn run lint",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"browserslist": [
|
|
"last 2 version",
|
|
"Firefox ESR"
|
|
],
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "cz-conventional-changelog"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"tnpm": {
|
|
"mode": "yarn"
|
|
},
|
|
"dependencies": {
|
|
"@antv/geo-coord": "^1.0.8"
|
|
}
|
|
}
|