package.json 1020 B

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "name": "kind-form-verify",
  3. "version": "1.0.4",
  4. "description": "表单规则验证工具库",
  5. "main": "./lib/cjs/index.js",
  6. "module": "./lib/esm/index.js",
  7. "types": "lib/index.d.ts",
  8. "type": "module",
  9. "author": "kindring",
  10. "keywords": [
  11. "verify",
  12. "utils"
  13. ],
  14. "scripts": {
  15. "docs": "jsdoc2md src/*.ts src/**/*.ts > api.md",
  16. "build:doc": "jsdoc2md --files ./src/*.ts --configure ./jsdoc2md.json > ./api.md",
  17. "patch": "npm run build && npm version patch",
  18. "compile": "npx babel -d lib/ src/",
  19. "clean": "rimraf -rf lib/",
  20. "build": "npm run clean && tsc -p tsconfig.json && tsc -p tsconfig.esm.json",
  21. "prepublishOnly": "npm run compile"
  22. },
  23. "license": "MIT",
  24. "devDependencies": {
  25. "@babel/cli": "^7.23.0",
  26. "@babel/core": "^7.23.2",
  27. "@babel/preset-env": "^7.23.2",
  28. "@babel/preset-typescript": "^7.23.2",
  29. "jsdoc-babel": "^0.5.0",
  30. "jsdoc-to-markdown": "^8.0.0",
  31. "rimraf": "^5.0.5",
  32. "rmdir": "^1.2.0",
  33. "typescript": "^5.2.2"
  34. }
  35. }