UNPKG

2.21 kBJSONView Raw
1{
2 "name": "async-abort",
3 "version": "2.0.0",
4 "description": "a cancelable promise utility helps prevent memory leaks in react components",
5 "main": "dist/index.js",
6 "types": "./dist/index.d.ts",
7 "files": [
8 "dist"
9 ],
10 "scripts": {
11 "build:watch": "webpack --mode=production --watch --progress",
12 "build": "webpack --mode=production",
13 "demo-front": "webpack serve --mode=development",
14 "demo-back": "node demo/src/backend.js",
15 "demo": "concurrently \"npm run demo-back\" \"npm run demo-front\" ",
16 "prepublishOnly": "webpack --mode=production",
17 "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
18 "lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
19 "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
20 "test": "jest",
21 "test:watch": "jest --watch",
22 "test:cov": "jest --coverage"
23 },
24 "repository": {
25 "type": "git",
26 "url": "git+https://github.com/mohanteja1/async-abort.git"
27 },
28 "keywords": [
29 "async-abort",
30 "react",
31 "calcelable",
32 "promise",
33 "memory",
34 "leak"
35 ],
36 "author": "mohanteja",
37 "license": "MIT",
38 "bugs": {
39 "url": "https://github.com/mohanteja1/async-abort/issues",
40 "email": "mohantejachitturi1@gmail.com"
41 },
42 "homepage": "https://github.com/mohanteja1/async-abort#readme",
43 "dependencies": {
44 },
45 "devDependencies": {
46 "@babel/core": "^7.16.0",
47 "@babel/preset-env": "^7.16.0",
48 "@babel/preset-react": "^7.16.0",
49 "@types/jest": "^27.0.2",
50 "@typescript-eslint/eslint-plugin": "^5.3.0",
51 "@typescript-eslint/parser": "^5.3.0",
52 "babel-loader": "^8.2.3",
53 "clean-webpack-plugin": "^4.0.0",
54 "concurrently": "^6.4.0",
55 "eslint": "^8.2.0",
56 "eslint-config-prettier": "^8.3.0",
57 "eslint-plugin-prettier": "^4.0.0",
58 "faker": "^5.5.3",
59 "flush-promises": "^1.0.2",
60 "html-webpack-plugin": "^5.5.0",
61 "jest": "^27.3.1",
62 "prettier": "^2.4.1",
63 "react": "^17.0.2",
64 "react-dom": "^17.0.2",
65 "react-redux": "^7.2.6",
66 "redux": "^4.1.2",
67 "ts-jest": "^27.0.7",
68 "ts-loader": "^9.2.6",
69 "typescript": "^4.4.4",
70 "webpack": "^5.62.1",
71 "webpack-cli": "^4.9.1",
72 "webpack-dev-server": "^4.5.0"
73 }
74}