用工小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
2.6 KiB

6 months ago
2 months ago
2 months ago
2 months ago
6 months ago
2 months ago
6 months ago
2 months ago
2 months ago
6 months ago
2 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
2 months ago
6 months ago
2 months ago
6 months ago
  1. {
  2. "name": "flatted",
  3. <<<<<<< HEAD
  4. "version": "3.3.2",
  5. =======
  6. "version": "3.3.3",
  7. >>>>>>> f6c7301605cb7d02d0ad6c2c7d8246dabc5bc9e5
  8. "description": "A super light and fast circular JSON parser.",
  9. "unpkg": "min.js",
  10. "main": "./cjs/index.js",
  11. "scripts": {
  12. "build": "npm run cjs && npm run rollup:esm && npm run rollup:es && npm run rollup:babel && npm run min && npm run test && npm run size",
  13. "cjs": "ascjs esm cjs",
  14. "rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
  15. "rollup:esm": "rollup --config rollup/esm.config.js",
  16. "rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
  17. "min": "terser index.js -c -m -o min.js",
  18. "size": "cat index.js | wc -c;cat min.js | wc -c;gzip -c9 min.js | wc -c;cat min.js | brotli | wc -c; cat es.js | brotli | wc -c; cat esm.js | brotli | wc -c",
  19. "test": "c8 node test/index.js",
  20. "test:php": "php php/test.php",
  21. "test:py": "python python/test.py",
  22. "ts": "tsc -p .",
  23. "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/WebReflection/flatted.git"
  28. },
  29. <<<<<<< HEAD
  30. "keywords": [
  31. "circular",
  32. "JSON",
  33. "fast",
  34. "parser",
  35. "minimal"
  36. ],
  37. =======
  38. "files": [
  39. "LICENSE",
  40. "README.md",
  41. "cjs/",
  42. "es.js",
  43. "esm.js",
  44. "esm/",
  45. "index.js",
  46. "min.js",
  47. "php/flatted.php",
  48. "python/flatted.py",
  49. "types/"
  50. ],
  51. "keywords": [
  52. "circular",
  53. "JSON",
  54. "fast",
  55. "parser",
  56. "minimal"
  57. ],
  58. >>>>>>> f6c7301605cb7d02d0ad6c2c7d8246dabc5bc9e5
  59. "author": "Andrea Giammarchi",
  60. "license": "ISC",
  61. "bugs": {
  62. "url": "https://github.com/WebReflection/flatted/issues"
  63. },
  64. "homepage": "https://github.com/WebReflection/flatted#readme",
  65. "devDependencies": {
  66. "@babel/core": "^7.26.9",
  67. "@babel/preset-env": "^7.26.9",
  68. "@rollup/plugin-babel": "^6.0.4",
  69. "@rollup/plugin-terser": "^0.4.4",
  70. "@ungap/structured-clone": "^1.3.0",
  71. "ascjs": "^6.0.3",
  72. "c8": "^10.1.3",
  73. "circular-json": "^0.5.9",
  74. "circular-json-es6": "^2.0.2",
  75. "jsan": "^3.1.14",
  76. "rollup": "^4.34.8",
  77. "terser": "^5.39.0",
  78. "typescript": "^5.7.3"
  79. },
  80. "module": "./esm/index.js",
  81. "type": "module",
  82. "exports": {
  83. ".": {
  84. "types": "./types/index.d.ts",
  85. "import": "./esm/index.js",
  86. "default": "./cjs/index.js"
  87. },
  88. "./esm": "./esm.js",
  89. "./package.json": "./package.json"
  90. },
  91. "types": "./types/index.d.ts"
  92. }