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",
|
2020-04-20 15:03:47 +08:00
|
|
|
"@antv/gatsby-theme-antv": "^0.10.59",
|
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",
|
2019-11-29 14:44:40 +08:00
|
|
|
"@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",
|
|
|
|
"@commitlint/cli": "^8.1.0",
|
|
|
|
"@commitlint/config-conventional": "^8.1.0",
|
2020-05-12 23:03:01 +08:00
|
|
|
"@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",
|
2019-11-21 13:44:32 +08:00
|
|
|
"@storybook/react": "^5.1.9",
|
2020-04-21 14:18:52 +08:00
|
|
|
"@turf/turf": "^5.1.6",
|
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",
|
2020-05-06 05:38:40 +08:00
|
|
|
"@types/jest": "^25.2.1",
|
2020-04-20 16:47:35 +08:00
|
|
|
"@types/node": "13.11.1",
|
2019-11-21 13:44:32 +08:00
|
|
|
"@types/storybook__react": "^4.0.2",
|
|
|
|
"@types/supercluster": "^5.0.1",
|
2020-05-22 12:18:37 +08:00
|
|
|
"antd": "^4.2.4",
|
2019-11-21 13:44:32 +08:00
|
|
|
"awesome-typescript-loader": "^5.2.1",
|
2020-05-19 11:06:01 +08:00
|
|
|
"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",
|
2019-11-21 17:36:04 +08:00
|
|
|
"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",
|
2020-02-24 14:10:54 +08:00
|
|
|
"babel-plugin-transform-node-env-inline": "^0.4.3",
|
2019-11-21 13:44:32 +08:00
|
|
|
"babel-plugin-transform-postcss": "^0.3.0",
|
2020-05-09 05:33:48 +08:00
|
|
|
"babel-preset-gatsby": "^0.4.1",
|
2019-11-22 12:08:33 +08:00
|
|
|
"babel-template": "^6.26.0",
|
2020-05-05 13:41:31 +08:00
|
|
|
"clean-webpack-plugin": "^3.0.0",
|
2019-11-21 13:44:32 +08:00
|
|
|
"commitizen": "^4.0.3",
|
2020-05-09 05:32:51 +08:00
|
|
|
"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",
|
2020-05-13 05:28:49 +08:00
|
|
|
"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",
|
2020-02-12 21:46:08 +08:00
|
|
|
"gatsby": "^2.19.15",
|
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",
|
2020-05-07 05:39:09 +08:00
|
|
|
"html-webpack-plugin": "^4.3.0",
|
2019-11-21 13:44:32 +08:00
|
|
|
"husky": "^3.0.9",
|
|
|
|
"jest": "^24.9.0",
|
2020-01-13 20:57:55 +08:00
|
|
|
"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",
|
2019-11-25 15:27:56 +08:00
|
|
|
"load-styles": "^2.0.0",
|
2019-11-21 13:44:32 +08:00
|
|
|
"node-sass": "^4.12.0",
|
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"postcss": "^7.0.18",
|
|
|
|
"postcss-plugin": "^1.0.0",
|
2019-11-21 17:36:04 +08:00
|
|
|
"postcss-url": "^8.0.0",
|
2019-11-21 13:44:32 +08:00
|
|
|
"prettier": "^1.19.1",
|
2020-05-07 05:36:08 +08:00
|
|
|
"raw-loader": "^4.0.1",
|
2020-04-20 15:03:47 +08:00
|
|
|
"react": "^16.13.1",
|
2019-11-21 13:44:32 +08:00
|
|
|
"react-docgen-typescript-loader": "^3.1.0",
|
2020-04-20 15:03:47 +08:00
|
|
|
"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",
|
2020-05-05 13:38:19 +08:00
|
|
|
"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",
|
2020-03-23 15:02:23 +08:00
|
|
|
"rollup-plugin-buble": "^0.19.8",
|
|
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
2019-11-21 17:36:04 +08:00
|
|
|
"rollup-plugin-postcss": "^2.0.3",
|
2019-11-21 13:44:32 +08:00
|
|
|
"rollup-plugin-terser": "^5.1.2",
|
2020-03-23 15:02:23 +08:00
|
|
|
"rollup-plugin-typescript": "^1.0.1",
|
2019-11-21 13:44:32 +08:00
|
|
|
"rollup-pluginutils": "^2.8.2",
|
2020-05-07 05:40:40 +08:00
|
|
|
"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",
|
2020-05-05 13:42:13 +08:00
|
|
|
"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",
|
2020-04-26 16:45:30 +08:00
|
|
|
"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",
|
2020-05-18 21:01:47 +08:00
|
|
|
"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": {
|
2019-11-29 15:38:17 +08:00
|
|
|
"start": "yarn run site:clean && yarn run site:develop",
|
|
|
|
"site:develop": "cross-env BABEL_ENV=site gatsby develop --open -H 0.0.0.0",
|
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",
|
2019-11-29 15:38:17 +08:00
|
|
|
"site:deploy": "yarn run site:build && gh-pages -d public",
|
2019-11-21 13:44:32 +08:00
|
|
|
"site:publish": "gh-pages -d public",
|
2020-05-25 14:17:49 +08:00
|
|
|
"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",
|
2019-11-25 15:27:56 +08:00
|
|
|
"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}'",
|
|
|
|
"lint:ts-test": "tslint --fix --config tslint.test.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",
|
2019-11-25 15:27:56 +08:00
|
|
|
"version:prerelease": "lerna version --conventional-prerelease",
|
|
|
|
"prerelease": "yarn build && yarn bundle",
|
2020-02-26 22:40:33 +08:00
|
|
|
"release": "lerna publish from-package --registry https://registry.npmjs.com/ --force-publish",
|
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",
|
2019-11-29 15:38:17 +08:00
|
|
|
"test": "cross-env BABEL_ENV=test jest",
|
2020-02-09 13:07:37 +08:00
|
|
|
"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",
|
2020-02-24 14:10:54 +08:00
|
|
|
"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'",
|
2019-11-29 15:38:17 +08:00
|
|
|
"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",
|
|
|
|
"clean": "lerna run clean"
|
|
|
|
},
|
|
|
|
"workspaces": [
|
|
|
|
"packages/*",
|
|
|
|
"stories/*"
|
|
|
|
],
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2019-11-29 15:38:17 +08:00
|
|
|
"pre-commit": "yarn run lint",
|
2019-11-21 13:44:32 +08:00
|
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
|
|
}
|
|
|
|
},
|
2019-12-02 15:19:19 +08:00
|
|
|
"browserslist": [
|
|
|
|
"last 2 version",
|
|
|
|
"Firefox ESR"
|
|
|
|
],
|
2019-11-21 13:44:32 +08:00
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "cz-conventional-changelog"
|
|
|
|
}
|
2019-11-22 17:14:33 +08:00
|
|
|
},
|
2019-12-29 13:08:35 +08:00
|
|
|
"resolutions": {
|
2020-02-25 20:35:43 +08:00
|
|
|
"d3-array": "1"
|
2019-12-29 13:08:35 +08:00
|
|
|
},
|
2019-11-22 17:14:33 +08:00
|
|
|
"tnpm": {
|
|
|
|
"mode": "yarn"
|
2020-05-19 16:42:44 +08:00
|
|
|
}
|
2019-11-21 13:44:32 +08:00
|
|
|
}
|