package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "@antv/adjust",
  3. "version": "0.2.5",
  4. "description": "The adjust module for G2, F2.",
  5. "main": "lib/index.js",
  6. "module": "esm/index.js",
  7. "types": "lib/index.d.ts",
  8. "files": [
  9. "src",
  10. "lib",
  11. "esm",
  12. "README.md",
  13. "LICENSE"
  14. ],
  15. "scripts": {
  16. "clean": "rimraf lib esm",
  17. "lint": "lint-staged",
  18. "test": "jest",
  19. "test-live": "DEBUG_MODE=1 jest",
  20. "coverage": "jest --coverage",
  21. "lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
  22. "lib:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
  23. "lib": "run-p lib:*",
  24. "build": "run-s clean lib",
  25. "ci": "run-s build coverage",
  26. "coveralls": "cat ./coverage/lcov.info | coveralls"
  27. },
  28. "dependencies": {
  29. "@antv/util": "~2.0.0",
  30. "tslib": "^1.10.0"
  31. },
  32. "devDependencies": {
  33. "@antv/scale": "~0.3.0",
  34. "@types/jest": "^24.0.18",
  35. "husky": "^3.0.4",
  36. "jest": "^24.9.0",
  37. "jest-electron": "^0.1.7",
  38. "jest-extended": "^0.11.2",
  39. "lint-staged": "^9.2.3",
  40. "npm-run-all": "^4.1.5",
  41. "prettier": "^1.18.2",
  42. "rimraf": "^3.0.0",
  43. "ts-jest": "^24.1.0",
  44. "tslint": "^5.18.0",
  45. "tslint-config-prettier": "^1.18.0",
  46. "typescript": "^3.5.3",
  47. "coveralls": "^3.0.6"
  48. },
  49. "husky": {
  50. "hooks": {
  51. "pre-commit": "run-s lint build test"
  52. }
  53. },
  54. "lint-staged": {
  55. "*.{js,css,json,md}": [
  56. "prettier --write",
  57. "git add"
  58. ],
  59. "*.{ts}": [
  60. "tslint -c tslint.json --fix",
  61. "prettier --write",
  62. "git add"
  63. ]
  64. },
  65. "jest": {
  66. "runner": "jest-electron/runner",
  67. "testEnvironment": "jest-electron/environment",
  68. "preset": "ts-jest",
  69. "collectCoverage": false,
  70. "collectCoverageFrom": [
  71. "src/**/*.{ts,js}",
  72. "!**/node_modules/**",
  73. "!**/vendor/**"
  74. ],
  75. "testRegex": "/tests/.*-spec\\.ts?$"
  76. },
  77. "repository": {
  78. "type": "git",
  79. "url": "git@github.com:antvis/adjust.git"
  80. },
  81. "bugs": {
  82. "url": "https://github.com/antvis/adjust/issues"
  83. },
  84. "keywords": [
  85. "antv",
  86. "adjust",
  87. "g2",
  88. "f2"
  89. ],
  90. "author": "https://github.com/orgs/antvis/people",
  91. "license": "MIT"
  92. }