{
  "name": "ddan-js",
  "version": "4.1.7",
  "description": "",
  "keywords": [
    "ddan-js",
    "ddan",
    "Ddan",
    "dUtil",
    "dHook",
    "dWeb",
    "dMini",
    "dCdn",
    "dStore",
    "dJoker",
    "dTracker",
    "dLogger",
    "dNode"
  ],
  "main": "bin/ddan-js.js",
  "module": "bin/ddan-js.mjs",
  "browser": "bin/ddan-browser.js",
  "types": "bin/index.d.ts",
  "exports": {
    ".": {
      "types": "./bin/index.d.ts",
      "node": {
        "import": "./bin/ddan-js.mjs",
        "require": "./bin/ddan-js.js"
      },
      "browser": {
        "import": "./bin/ddan-browser.mjs",
        "require": "./bin/ddan-browser.js"
      },
      "import": "./bin/ddan-js.mjs",
      "require": "./bin/ddan-js.js"
    },
    "./upload": {
      "types": "./bin/upload.d.ts",
      "import": "./bin/ddan-upload.mjs",
      "require": "./bin/ddan-upload.js"
    },
    "./*": "./*"
  },
  "files": [
    "bin"
  ],
  "author": "yry2580 <yry2580@qq.com>",
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "homepage": "https://github.com/yry2580/ddan-js#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/yry2580/ddan-js.git"
  },
  "license": "MIT",
  "engines": {
    "node": ">=15.0.0"
  },
  "scripts": {
    "lint": "tslint  --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
    "prebuild": "rimraf bin",
    "build": "rollup -c rollup.config.ts",
    "start": "rollup -c rollup.config.ts -w",
    "test": "jest --coverage",
    "test:prod": "npm run lint && npm run test -- --no-cache",
    "precommit": "lint-staged"
  },
  "lint-staged": {
    "{src,test}/**/*.ts": [
      "prettier --write",
      "git add"
    ]
  },
  "jest": {
    "preset": "ts-jest",
    "transform": {
      "^.+\\.(ts|tsx)$": [
        "ts-jest",
        {
          "isolatedModules": true
        }
      ]
    },
    "testEnvironment": "node",
    "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js"
    ],
    "coveragePathIgnorePatterns": [
      "/node_modules/",
      "/test/"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 90,
        "functions": 90,
        "lines": 95,
        "statements": 90
      }
    },
    "collectCoverageFrom": [
      "src/*.{js,ts}"
    ],
    "transformIgnorePatterns": [
      "/node_modules/(?!ali-oss)"
    ],
    "testPathIgnorePatterns": [
      "/node_modules/"
    ]
  },
  "prettier": {
    "semi": false,
    "singleQuote": true
  },
  "devDependencies": {
    "@alicloud/pop-core": "^1.7.12",
    "@babel/core": "^7.26.0",
    "@babel/preset-env": "^7.26.0",
    "@babel/preset-typescript": "^7.26.0",
    "@rollup/plugin-node-resolve": "^15.1.0",
    "@types/ali-oss": "^6.16.7",
    "@types/jest": "^29.5.12",
    "@types/node": "^16.18.0",
    "ali-oss": "^6.17.1",
    "jest": "^29.1.0",
    "lint-staged": "^13.2.1",
    "prettier": "^2.8.8",
    "rimraf": "^5.0.10",
    "rollup": "^2.79.1",
    "rollup-plugin-babel": "^4.4.0",
    "rollup-plugin-copy": "^3.5.0",
    "rollup-plugin-json": "^4.0.0",
    "rollup-plugin-sourcemaps": "^0.6.3",
    "rollup-plugin-terser": "^7.0.2",
    "rollup-plugin-typescript2": "^0.34.1",
    "ts-jest": "^29.1.0",
    "ts-node": "^10.9.1",
    "tslib": "^2.5.0",
    "tslint": "^5.20.1",
    "tslint-config-prettier": "^1.18.0",
    "tslint-config-standard": "^9.0.0",
    "typescript": "^5.0.4"
  },
  "dependencies": {
    "socks": "^2.8.3"
  }
}
