react-suspense-fetch
Version:
A low-level library for React Suspense for Data Fetching
85 lines (84 loc) • 2.69 kB
JSON
{
"name": "react-suspense-fetch",
"description": "A low-level library for React Suspense for Data Fetching",
"version": "0.6.0",
"author": "Daishi Kato",
"repository": {
"type": "git",
"url": "https://github.com/dai-shi/react-suspense-fetch.git"
},
"source": "./src/index.ts",
"main": "./dist/index.umd.js",
"module": "./dist/index.modern.js",
"types": "./dist/src/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/src/index.d.ts",
"module": "./dist/index.modern.js",
"import": "./dist/index.modern.mjs",
"default": "./dist/index.umd.js"
}
},
"sideEffects": false,
"files": [
"src",
"dist"
],
"scripts": {
"compile": "microbundle build -f modern,umd",
"postcompile": "cp dist/index.modern.js dist/index.modern.mjs && cp dist/index.modern.js.map dist/index.modern.mjs.map",
"test": "run-s eslint tsc-test jest",
"eslint": "eslint --ext .js,.ts,.tsx --ignore-pattern dist .",
"jest": "jest",
"tsc-test": "tsc --project . --noEmit",
"apidoc": "documentation readme --section API --markdown-toc false --parse-extension ts src/*.ts",
"examples:01_minimal": "DIR=01_minimal EXT=js webpack serve",
"examples:02_typescript": "DIR=02_typescript webpack serve",
"examples:03_props": "DIR=03_props webpack serve",
"examples:04_auth": "DIR=04_auth webpack serve",
"examples:05_todolist": "DIR=05_todolist webpack serve",
"examples:06_reactlazy": "DIR=06_reactlazy webpack serve",
"examples:07_wasm": "DIR=07_wasm webpack serve"
},
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest/presets/js-with-ts"
},
"keywords": [
"react",
"suspense",
"concurrent",
"async",
"fetch"
],
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"documentation": "^13.2.5",
"eslint": "^8.21.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"microbundle": "^0.15.0",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^28.0.7",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3"
}
}