package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "@ctrl/tinycolor",
  3. "version": "3.6.1",
  4. "description": "Fast, small color manipulation and conversion for JavaScript",
  5. "author": "Scott Cooper <scttcper@gmail.com>",
  6. "publishConfig": {
  7. "access": "public"
  8. },
  9. "license": "MIT",
  10. "homepage": "https://tinycolor.vercel.app",
  11. "repository": "scttcper/tinycolor",
  12. "keywords": [
  13. "typescript",
  14. "color",
  15. "manipulation",
  16. "tinycolor",
  17. "hsa",
  18. "rgb"
  19. ],
  20. "main": "dist/public_api.js",
  21. "module": "dist/module/public_api.js",
  22. "typings": "dist/public_api.d.ts",
  23. "files": [
  24. "dist"
  25. ],
  26. "sideEffects": false,
  27. "scripts": {
  28. "build:demo": "rollup -c rollup.demo.js",
  29. "watch:demo": "rollup -c rollup.demo.js -w",
  30. "lint": "eslint --ext .js,.ts, .",
  31. "lint:fix": "eslint --fix --ext .js,.ts, .",
  32. "prepare": "npm run build",
  33. "build": "del-cli dist && tsc -p tsconfig.build.json && tsc -p tsconfig.module.json && ts-node build",
  34. "build:docs": "typedoc --out demo/public/docs --hideGenerator --tsconfig tsconfig.build.json src/public_api.ts",
  35. "test": "jest",
  36. "test:ci": "jest --ci --runInBand --reporters=default --reporters=jest-junit --coverage",
  37. "test:watch": "jest --watch"
  38. },
  39. "dependencies": {},
  40. "devDependencies": {
  41. "@babel/plugin-transform-modules-commonjs": "7.19.6",
  42. "@babel/preset-typescript": "7.18.6",
  43. "@ctrl/eslint-config": "3.5.6",
  44. "@jest/globals": "29.3.1",
  45. "@types/node": "18.11.11",
  46. "del-cli": "5.0.0",
  47. "jest": "29.3.1",
  48. "jest-junit": "15.0.0",
  49. "rollup": "2.70.1",
  50. "rollup-plugin-livereload": "2.0.5",
  51. "rollup-plugin-serve": "1.1.0",
  52. "rollup-plugin-sourcemaps": "0.6.3",
  53. "rollup-plugin-terser": "7.0.2",
  54. "rollup-plugin-typescript2": "0.34.1",
  55. "ts-node": "10.9.1",
  56. "typedoc": "0.23.21",
  57. "typescript": "4.9.3"
  58. },
  59. "jest": {
  60. "testEnvironment": "node",
  61. "coverageProvider": "v8",
  62. "moduleNameMapper": {
  63. "(.+)\\.js": "$1"
  64. }
  65. },
  66. "babel": {
  67. "presets": [
  68. "@babel/preset-typescript"
  69. ],
  70. "plugins": [
  71. "@babel/plugin-transform-modules-commonjs"
  72. ]
  73. },
  74. "release": {
  75. "branch": "master"
  76. },
  77. "engines": {
  78. "node": ">=10"
  79. }
  80. }