{
  "version": "0.17.20",
  "name": "organism-react-ajax",
  "repository": {
    "type": "git",
    "url": "https://github.com/react-atomic/react-atomic-organism",
    "directory": "packages/organism-react-ajax"
  },
  "homepage": "https://github.com/react-atomic/react-atomic-organism/tree/main/packages/organism-react-ajax",
  "description": "React Ajax with webworker",
  "keywords": [
    "reactjs",
    "webworker"
  ],
  "author": "Hill <hill@kimo.com>",
  "license": "MIT",
  "dependencies": {
    "call-func": "*",
    "es6-promise": "4.2.5",
    "form-serialize-js": "*",
    "get-object-value": "*",
    "get-random-id": "*",
    "non-worker": "*",
    "object-nested": "*",
    "parse-ini-string": "*",
    "reshow-build": "*",
    "reshow-constant": "*",
    "reshow-flux": "*",
    "reshow-runtime": "*",
    "set-object-value": "*",
    "smooth-scroll-to": "*",
    "superagent": "5.3.1",
    "win-doc": "*"
  },
  "devDependencies": {
    "@babel/cli": "^7.x",
    "react": "^18.x",
    "react-dom": "^18.x",
    "reshow-unit": "*"
  },
  "exports": {
    "types": "./types/index.d.ts",
    "require": "./build/cjs/src/index.js",
    "import": "./build/es/src/index.mjs"
  },
  "main": "./build/cjs/src/index.js",
  "module": "./build/es/src/index.mjs",
  "scripts": {
    "build:dlog": "cat build/es/src/lib/dlog.mjs | sed 's/export default dlog;//' > build/dlog.js",
    "clean": "find ./build ./types -name '*.*' | xargs rm -rf",
    "build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --ignore /**/__tests__ --root-mode upward",
    "build:es": "BABEL_ENV=es babel src -d build/es/src --out-file-extension .mjs --root-mode upward",
    "build:type": "npx -p typescript tsc src/*.js src/**/*.js --jsx react-jsx --declaration --allowJs --emitDeclarationOnly --skipLibCheck --declarationDir types --lib es2022,dom",
    "build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type && npm run build:dlog",
    "mochaFor": "STRICT_MODE=on mocha -r global-jsdom/register",
    "mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'",
    "test:report": "npm run build && npm run mochaFor -- --reporter mocha-junit-reporter --reporter-options mochaFile=./test_output/mocha.xml 'build/es/**/__tests__/*.mjs'",
    "test": "npm run build && npm run mocha",
    "prepublishOnly": "npm run test"
  },
  "types": "./types/index.d.ts",
  "files": [
    "types",
    "build",
    "package.json",
    "README.md"
  ]
}
