Extract and set form values through the DOM—no frameworks required! https://github.com/TheoryOfNekomata/formxtra
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

74 行
1.7 KiB

  1. {
  2. "version": "0.2.1",
  3. "license": "MIT",
  4. "main": "dist/index.js",
  5. "typings": "dist/index.d.ts",
  6. "files": [
  7. "dist"
  8. ],
  9. "publishing": {
  10. "github": {
  11. "repository": "https://github.com/TheoryOfNekomata/formxtra.git",
  12. "publishConfig": {
  13. "registry": "https://npm.pkg.github.com"
  14. }
  15. },
  16. "master": {
  17. "repository": "https://code.modal.sh/TheoryOfNekomata/formxtra.git",
  18. "publishConfig": {
  19. "registry": "https://js.pack.modal.sh"
  20. }
  21. },
  22. "npm": {
  23. "publishConfig": {
  24. "registry": "https://registry.npmjs.com"
  25. }
  26. }
  27. },
  28. "engines": {
  29. "node": ">=10"
  30. },
  31. "scripts": {
  32. "start": "tsdx watch",
  33. "build": "tsdx build",
  34. "test:jsdom": "tsdx test",
  35. "test:dom": "cypress open",
  36. "lint": "tsdx lint",
  37. "prepare": "tsdx build",
  38. "size": "size-limit",
  39. "analyze": "size-limit --why"
  40. },
  41. "peerDependencies": {},
  42. "husky": {
  43. "hooks": {
  44. "pre-commit": "tsdx lint"
  45. }
  46. },
  47. "name": "@theoryofnekomata/formxtra",
  48. "author": "TheoryOfNekomata <allan.crisostomo@outlook.com>",
  49. "module": "dist/get-form-values.esm.js",
  50. "size-limit": [
  51. {
  52. "path": "dist/get-form-values.cjs.production.min.js",
  53. "limit": "10 KB"
  54. },
  55. {
  56. "path": "dist/get-form-values.esm.js",
  57. "limit": "10 KB"
  58. }
  59. ],
  60. "devDependencies": {
  61. "@size-limit/preset-small-lib": "^4.10.2",
  62. "@types/jsdom": "^16.2.10",
  63. "cypress": "^7.2.0",
  64. "cypress-file-upload": "^5.0.7",
  65. "cypress-jest-adapter": "^0.1.1",
  66. "husky": "^6.0.0",
  67. "jsdom": "^16.5.3",
  68. "size-limit": "^4.10.2",
  69. "tsdx": "^0.14.1",
  70. "tslib": "^2.2.0",
  71. "typescript": "^4.2.4"
  72. }
  73. }