package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "@antv/color-util",
  3. "version": "2.0.6",
  4. "description": "A common util collection for antv projects",
  5. "main": "lib/index.js",
  6. "types": "lib/index.d.ts",
  7. "module": "esm/index.js",
  8. "files": [
  9. "src",
  10. "package.json",
  11. "esm",
  12. "lib",
  13. "README.md"
  14. ],
  15. "scripts": {
  16. "build": "npm run clean && run-p build:*",
  17. "build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
  18. "build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
  19. "clean": "rm -rf lib && rm -rf esm",
  20. "coverage": "npm run coverage-generator && npm run coverage-viewer",
  21. "coverage-generator": "torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts __tests__/mocha.opts",
  22. "coverage-viewer": "torch-coverage",
  23. "test": "torch --renderer --compile --opts __tests__/mocha.opts",
  24. "test-live": "torch --compile --interactive --opts __tests__/mocha.opts",
  25. "tsc": "tsc --noEmit",
  26. "typecheck": "tsc --noEmit",
  27. "prepublishOnly": "npm-run-all --parallel test build"
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "git+https://github.com/antvis/util.git"
  32. },
  33. "keywords": [
  34. "util",
  35. "antv",
  36. "g"
  37. ],
  38. "author": "https://github.com/orgs/antvis/people",
  39. "license": "ISC",
  40. "bugs": {
  41. "url": "https://github.com/antvis/util/issues"
  42. },
  43. "devDependencies": {
  44. "@antv/torch": "^1.0.0",
  45. "less": "^3.9.0",
  46. "npm-run-all": "^4.1.5"
  47. },
  48. "homepage": "https://github.com/antvis/util#readme",
  49. "dependencies": {
  50. "@antv/util": "^2.0.9",
  51. "tslib": "^2.0.3"
  52. }
  53. }