@canlooks/ajax
Version:
A private tool
69 lines (68 loc) • 1.73 kB
JSON
{
"name": "@canlooks/ajax",
"version": "4.0.9",
"description": "A private tool",
"author": "C.CanLiang <canlooks@gmail.com>",
"license": "MIT",
"keywords": [
"ajax",
"request",
"xhr",
"XMLHttpRequest",
"modularization",
"react",
"vue"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./react": {
"types": "./react/index.d.ts",
"import": "./react/index.js",
"require": "./react/index.cjs"
},
"./vue": {
"types": "./vue/index.d.ts",
"import": "./vue/index.js",
"require": "./vue/index.cjs"
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://gitee.com/canlooks/c_ajax"
},
"homepage": "https://gitee.com/canlooks/c_ajax",
"bugs": {
"url": "https://gitee.com/canlooks/c_ajax/issues",
"email": "canlooks@gmail.com"
},
"scripts": {
"clean": "npx shx rm -rf dist",
"build": "tsc -m esnext --outDir dist/esm & tsc -m commonjs --outDir dist/cjs",
"rebuild": "npm run clean && npm run build",
"test:node": "ts-node test/test.ts",
"test:browser": "vite -c test/vite.config.mts"
},
"dependencies": {
"tslib": "^2.8.1"
},
"devDependencies": {
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vue": "^3.5.13"
}
}