package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "name": "@jsonjoy.com/base64",
  3. "private": false,
  4. "publishConfig": {
  5. "access": "public"
  6. },
  7. "version": "1.1.2",
  8. "description": "High-performance Base64 encoder and decoder",
  9. "author": {
  10. "name": "streamich",
  11. "url": "https://github.com/streamich"
  12. },
  13. "homepage": "https://github.com/jsonjoy-com/base64",
  14. "repository": "jsonjoy-com/base64",
  15. "license": "Apache-2.0",
  16. "funding": {
  17. "type": "github",
  18. "url": "https://github.com/sponsors/streamich"
  19. },
  20. "keywords": [
  21. "base64",
  22. "base64url",
  23. "base64-url",
  24. "base64urlsafe",
  25. "base64url-safe"
  26. ],
  27. "engines": {
  28. "node": ">=10.0"
  29. },
  30. "main": "lib/index.js",
  31. "types": "lib/index.d.ts",
  32. "typings": "lib/index.d.ts",
  33. "files": [
  34. "LICENSE",
  35. "lib/"
  36. ],
  37. "scripts": {
  38. "prettier": "prettier --ignore-path .gitignore --write \"src/**/*.{ts,tsx,js,jsx}\"",
  39. "prettier:check": "prettier --ignore-path .gitignore --list-different 'src/**/*.{ts,tsx,js,jsx}'",
  40. "lint": "yarn tslint",
  41. "tslint": "tslint 'src/**/*.{js,jsx,ts,tsx}' -t verbose --project .",
  42. "clean": "rimraf lib typedocs coverage gh-pages yarn-error.log",
  43. "build": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib",
  44. "jest": "node -r ts-node/register ./node_modules/.bin/jest",
  45. "test": "jest --maxWorkers 7",
  46. "test:ci": "yarn jest --maxWorkers 3 --no-cache",
  47. "coverage": "yarn test --collectCoverage",
  48. "typedoc": "typedoc",
  49. "build:pages": "rimraf gh-pages && mkdir -p gh-pages && cp -r typedocs/* gh-pages && cp -r coverage gh-pages/coverage",
  50. "deploy:pages": "gh-pages -d gh-pages",
  51. "publish-coverage-and-typedocs": "yarn typedoc && yarn coverage && yarn build:pages && yarn deploy:pages"
  52. },
  53. "peerDependencies": {
  54. "tslib": "2"
  55. },
  56. "dependencies": {},
  57. "devDependencies": {
  58. "@types/benchmark": "^2.1.2",
  59. "@types/jest": "^29.5.12",
  60. "base64-js": "^1.5.1",
  61. "benchmark": "^2.1.4",
  62. "jest": "^29.7.0",
  63. "js-base64": "^3.7.2",
  64. "prettier": "^3.2.5",
  65. "pretty-quick": "^3.1.3",
  66. "rimraf": "^5.0.0",
  67. "ts-jest": "^29.1.2",
  68. "ts-node": "^10.9.2",
  69. "tslib": "^2.6.2",
  70. "tslint": "^6.1.3",
  71. "tslint-config-common": "^1.6.2",
  72. "typedoc": "^0.25.12",
  73. "typescript": "^5.4.4"
  74. },
  75. "jest": {
  76. "verbose": true,
  77. "testEnvironmentOptions": {
  78. "url": "http://localhost/"
  79. },
  80. "setupFiles": [
  81. "<rootDir>/src/__tests__/setup.js"
  82. ],
  83. "moduleFileExtensions": [
  84. "ts",
  85. "js"
  86. ],
  87. "transform": {
  88. "^.+\\.ts$": "ts-jest"
  89. },
  90. "transformIgnorePatterns": [],
  91. "testRegex": ".*/(__tests__|__jest__|demo)/.*\\.(test|spec)\\.ts$"
  92. },
  93. "prettier": {
  94. "arrowParens": "always",
  95. "printWidth": 120,
  96. "tabWidth": 2,
  97. "useTabs": false,
  98. "semi": true,
  99. "singleQuote": true,
  100. "trailingComma": "all",
  101. "bracketSpacing": false
  102. },
  103. "release": {
  104. "branches": [
  105. "master",
  106. "next"
  107. ]
  108. }
  109. }