|
| 1 | +{ |
| 2 | + "name": "use-async-effect", |
| 3 | + "version": "0.0.0", |
| 4 | + "description": "cancellable async effect hook", |
| 5 | + "main": "lib/index.js", |
| 6 | + "scripts": { |
| 7 | + "test": "npm run test:build && mocha-headless-chrome -f test/test.html", |
| 8 | + "test:build": "rollup ./test/src/index.js --file ./test/build/index.js --format iife --config ./test/rollup.config.js", |
| 9 | + "playground": "npm run playground:build && concurrently --kill-others \"npm run playground:server\" \"npm run playground:watch\"", |
| 10 | + "playground:run": "node playground/build/index.js || true", |
| 11 | + "playground:build": "rollup ./playground/src/index.js --file ./playground/build/index.js --format iife --config ./playground/rollup.config.js", |
| 12 | + "playground:watch": "nodemon --delay 1500ms --watch ./playground/src/ --watch lib/ --exec \\\"npm run playground:build\\\"", |
| 13 | + "playground:server": "browser-sync start --server --index ./playground/index.html --files \"./playground/build/*.*\"" |
| 14 | + }, |
| 15 | + "author": { |
| 16 | + "name": "Dmitriy Mozgovoy", |
| 17 | + |
| 18 | + "url": "http://github.com/DigitalBrainJS/" |
| 19 | + }, |
| 20 | + "license": "MIT", |
| 21 | + "keywords": [ |
| 22 | + "promise", |
| 23 | + "cancelable", |
| 24 | + "cancellable", |
| 25 | + "p-cancelable", |
| 26 | + "timeout", |
| 27 | + "progress", |
| 28 | + "cancel", |
| 29 | + "abortable", |
| 30 | + "abort", |
| 31 | + "AbortController", |
| 32 | + "AbortSignal", |
| 33 | + "async", |
| 34 | + "signal", |
| 35 | + "await", |
| 36 | + "promises", |
| 37 | + "generator", |
| 38 | + "co", |
| 39 | + "yield", |
| 40 | + "reject", |
| 41 | + "race", |
| 42 | + "decorator", |
| 43 | + "delay", |
| 44 | + "break", |
| 45 | + "suspending", |
| 46 | + "wait", |
| 47 | + "bluebird", |
| 48 | + "deferred", |
| 49 | + "react", |
| 50 | + "setState", |
| 51 | + "cancellation", |
| 52 | + "aborting", |
| 53 | + "close", |
| 54 | + "closable", |
| 55 | + "pause", |
| 56 | + "task" |
| 57 | + ], |
| 58 | + "dependencies": { |
| 59 | + "browser-sync": "^2.26.13", |
| 60 | + "c-promise2": "^0.10.8", |
| 61 | + "react": "^17.0.1", |
| 62 | + "react-dom": "^17.0.1" |
| 63 | + }, |
| 64 | + "devDependencies": { |
| 65 | + "@babel/core": "^7.12.10", |
| 66 | + "@babel/preset-react": "^7.12.10", |
| 67 | + "@rollup/plugin-babel": "^5.2.2", |
| 68 | + "@rollup/plugin-commonjs": "^17.0.0", |
| 69 | + "@rollup/plugin-json": "^4.1.0", |
| 70 | + "@rollup/plugin-node-resolve": "^11.0.1", |
| 71 | + "@rollup/plugin-replace": "^2.3.4", |
| 72 | + "assert": "^2.0.0", |
| 73 | + "chai": "^4.2.0", |
| 74 | + "concurrently": "^5.3.0", |
| 75 | + "cp-fetch": "^0.1.8", |
| 76 | + "eslint": "^7.17.0", |
| 77 | + "mocha": "^8.2.1", |
| 78 | + "mocha-headless-chrome": "^3.1.0", |
| 79 | + "nodemon": "^2.0.6", |
| 80 | + "prop-types": "^15.7.2", |
| 81 | + "react-is": "^17.0.1", |
| 82 | + "rollup": "^2.35.1" |
| 83 | + } |
| 84 | +} |
0 commit comments