-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"name": "@nitor-infotech/rxjs-use-selector",
"version": "0.1.1",
"description": "useSelector react hook for RxJS observables",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "./index.d.ts",
"private": false,
"license": "MIT",
"keywords": [
"react",
"hooks",
"rxjs",
"selector",
"pg-boss"
],
"scripts": {
"build:esm": "BABEL_ENV=esm && babel src --out-dir esm",
"build:commonjs": "BABEL_ENV=commonjs && babel src --out-dir lib",
"build:dist": "babel src --out-dir dist",
"build:umd": "NODE_ENV=development && webpack --output umd/rxjs-use-selector.js --mode development",
"build:umd:min": "NODE_ENV=production webpack --output umd/rxjs-use-selector.min.js --mode production",
"build": "yarn run build:esm & yarn run build:commonjs & yarn run build:dist & yarn run build:umd & yarn run build:umd:min"
},
"lint-staged": {
"*.{js,json,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn test"
}
},
"dependencies": {
"lodash": "^4.17.15"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"babel-loader": "^8.0.6",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.7.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"jest-cli": "^24.9.0",
"lint-staged": "^9.4.3",
"prettier": "^1.19.1",
"react": "^16.12.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"engines": {
"node": ">= 8.x.x"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nitor-infotech-oss/rxjs-use-selector.git"
},
"peerDependencies": {
"react": "^16.8.0",
"rxjs": "^6.0.0",
"rxjs-compat": "^6.0.0"
}
}