-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.23 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
70
71
72
73
74
75
76
77
78
79
80
{
"name": "@enkidevs/redux-meta-object-to-axios-request",
"version": "2.6.0",
"description": "Redux middleware to transform a special meta object into an axios promise",
"main": "dist/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"files": [
"es",
"dist"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{js,jsx}": [
"npm run check-branch",
"npm run format",
"npm run lint",
"git add"
]
},
"scripts": {
"build:cjs": "BABEL_ENV=cjs babel src --out-dir dist --ignore \"src/**/__tests__\",\"src/**/__mocks__\"",
"build:es": "BABEL_ENV=es babel src --out-dir es --ignore \"src/**/__tests__\",\"src/**/__mocks__\"",
"build": "npm run clean && npm run build:es && npm run build:cjs",
"check-branch": "enkidevs-assert-restricted-branch",
"clean": "trash dist es",
"format": "prettier --write 'src/**/*.js'",
"lint:ci": "CI=true eslint . --ignore-path .gitignore --quiet",
"lint": "eslint . --ignore-path .gitignore",
"prepare": "npm run lint && npm run test && npm run build",
"test:ci": "NODE_ENV=test CI=true jest --coverage",
"test": "NODE_ENV=test jest --notify"
},
"repository": {
"type": "git",
"url": "https://github.com/enkidevs/redux-meta-object-to-axios-request.git"
},
"engines": {
"node": "^8.10.0"
},
"homepage": "https://github.com/enkidevs/redux-meta-object-to-axios-request",
"keywords": [
"redux",
"promise",
"middleware",
"redux-middleware",
"object",
"axios"
],
"author": "[email protected]",
"license": "MIT",
"dependencies": {
"axios": "^0.26.0",
"invariant": "^2.2.4",
"json-parse-safe": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@enkidevs/assert-restricted-branch": "^1.0.2",
"@enkidevs/eslint-config-frontend": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^27.0.2",
"eslint": "^5.8.0",
"husky": "^7.0.0",
"jest": "^26.0.1",
"lint-staged": "^11.0.0",
"prettier": "^2.0.1",
"trash-cli": "^4.0.0"
}
}