package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "gm-crypto",
  3. "version": "0.1.12",
  4. "description": "An implementation of GM/T industry standards",
  5. "main": "dist/index.js",
  6. "module": "dist/index.esm.js",
  7. "esmodule": "dist/index.modern.js",
  8. "unpkg": "dist/index.umd.js",
  9. "umd:main": "dist/index.umd.js",
  10. "types": "types/index.d.ts",
  11. "files": [
  12. "types",
  13. "dist"
  14. ],
  15. "scripts": {
  16. "commit": "cz",
  17. "clean": "rm -rf dist",
  18. "build": "npm run clean && microbundle --entry src/index.js --sourcemap false",
  19. "build:coverage": "npm run clean && microbundle --entry src/index.js --sourcemap true",
  20. "test": "npm run build:coverage && nyc --reporter=json ava -v",
  21. "prepublishOnly": "npm run build"
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "git@github.com:byte-fe/gm-crypto.git"
  26. },
  27. "keywords": [
  28. "sm2",
  29. "sm3",
  30. "sm4",
  31. "zuc",
  32. "gm",
  33. "crypto"
  34. ],
  35. "author": "panjizhi1987@gmail.com",
  36. "license": "MIT",
  37. "dependencies": {
  38. "buffer": "^5.7.0",
  39. "jsbn": "^1.1.0",
  40. "to-arraybuffer": "^1.0.1"
  41. },
  42. "devDependencies": {
  43. "@commitlint/cli": "^11.0.0",
  44. "@commitlint/config-conventional": "^11.0.0",
  45. "ava": "^3.13.0",
  46. "commitizen": "^4.2.2",
  47. "cz-conventional-changelog": "^3.3.0",
  48. "husky": "^4.3.0",
  49. "microbundle": "^0.12.4",
  50. "nyc": "^15.1.0",
  51. "prettier": "^2.1.2"
  52. },
  53. "config": {
  54. "commitizen": {
  55. "path": "./node_modules/cz-conventional-changelog"
  56. }
  57. },
  58. "husky": {
  59. "hooks": {
  60. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
  61. "pre-push": "npm test"
  62. }
  63. }
  64. }