uniapp,h5

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "jwt-decode",
  3. "version": "4.0.0",
  4. "description": "Decode JWT tokens, mostly useful for browser applications.",
  5. "type": "module",
  6. "main": "build/cjs/index.js",
  7. "module": "build/esm/index.js",
  8. "types": "build/cjs/index.d.ts",
  9. "exports": {
  10. ".": {
  11. "import": {
  12. "types": "./build/esm/index.d.ts",
  13. "default": "./build/esm/index.js"
  14. },
  15. "require": {
  16. "types": "./build/cjs/index.d.ts",
  17. "default": "./build/cjs/index.js"
  18. }
  19. }
  20. },
  21. "keywords": [
  22. "jwt",
  23. "browser"
  24. ],
  25. "repository": {
  26. "type": "git",
  27. "url": "git://github.com/auth0/jwt-decode"
  28. },
  29. "url": "https://github.com/auth0/jwt-decode/issues",
  30. "homepage": "https://github.com/auth0/jwt-decode#readme",
  31. "scripts": {
  32. "dev": "concurrently --kill-others \"npm run build:watch\" \"npm run dev:server\"",
  33. "dev:server": "browser-sync start --config bs-config.json",
  34. "prebuild": "shx rm -rf ./build && shx mkdir -p ./build/cjs && shx echo '{\"type\": \"commonjs\"}'> build/cjs/package.json",
  35. "build": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json",
  36. "build:watch": "npm run build -- --watch",
  37. "lint": "eslint .",
  38. "lint:package": "publint",
  39. "test": "npm run test:node && npm run test:browser",
  40. "test:node": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --coverage",
  41. "test:browser": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --coverage --testEnvironment=jsdom",
  42. "prepack": "npm run build",
  43. "prepare": "husky install"
  44. },
  45. "author": "Jose F. Romaniello <jfromaniello@gmail.com>",
  46. "contributors": [
  47. "Sam Bellen <sam.bellen@auth0.com>"
  48. ],
  49. "license": "MIT",
  50. "devDependencies": {
  51. "@babel/core": "7.23.2",
  52. "@typescript-eslint/eslint-plugin": "^6.4.1",
  53. "@typescript-eslint/parser": "^6.4.1",
  54. "browser-sync": "^2.29.3",
  55. "concurrently": "^8.2.0",
  56. "eslint": "^8.48.0",
  57. "eslint-config-prettier": "^9.0.0",
  58. "eslint-import-resolver-typescript": "^3.6.0",
  59. "eslint-plugin-import": "^2.28.1",
  60. "eslint-plugin-prettier": "^5.0.0",
  61. "husky": "^8.0.3",
  62. "jest": "^29.7.0",
  63. "jest-environment-jsdom": "^29.6.2",
  64. "lint-staged": "^15.0.2",
  65. "prettier": "^3.0.2",
  66. "publint": "^0.2.2",
  67. "shx": "^0.3.4",
  68. "ts-jest": "^29.1.1",
  69. "ts-node": "^10.9.1",
  70. "typescript": "^5.1.6"
  71. },
  72. "files": [
  73. "build"
  74. ],
  75. "engines": {
  76. "node": ">=18"
  77. },
  78. "lint-staged": {
  79. "*.{js,ts}": "eslint --fix"
  80. }
  81. }