forked from infinitered/apisauce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 2.7 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"version": "1.1.1",
"author": "Steve Kellock <[email protected]>",
"ava": {
"require": [
"babel-core/register"
]
},
"dependencies": {
"axios": "^0.19.0",
"ramda": "^0.25.0"
},
"description": "Axios + standardized errors + request/response transforms.",
"devDependencies": {
"@semantic-release/git": "^7.0.5",
"@types/ramda": "^0.25.28",
"ava": "^0.25.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-plugin-ramda": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"np": "3.0.4",
"npm-run-all": "^4.1.5",
"nyc": "^11.8.0",
"prettier": "^1.15.3",
"ramdasauce": "^2.1.0",
"rollup": "^0.59.1",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-filesize": "^1.5.0",
"rollup-plugin-uglify": "^3.0.0",
"semantic-release": "^15.12.4",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",
"tslint-config-standard": "^8.0.1",
"typescript": "3.2.1"
},
"files": [
"dist/apisauce.js",
"apisauce.d.ts"
],
"keywords": [
"axios",
"api",
"network",
"http"
],
"license": "MIT",
"main": "./dist/apisauce.js",
"name": "apisauce",
"repository": {
"type": "git",
"url": "https://github.com/skellock/apisauce.git"
},
"scripts": {
"build": "BABEL_ENV=production rollup -c",
"clean": "rm -rf dist",
"compile": "tsc -p tsconfig.json",
"coverage": "nyc ava",
"prepare": "npm-run-all compile build",
"dist": "npm-run-all clean compile build test",
"lint": "tslint -p .",
"test": "npm-run-all compile test:unit",
"test:unit": "ava -s",
"ci:publish": "yarn semantic-release",
"semantic-release": "semantic-release",
"format": "prettier --write \"{**/*.ts,.circleci/**/*.js}\" --loglevel error && tslint -p . --fix"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120
},
"lint-staged": {
"*.ts": [
"prettier --write",
"tslint --fix",
"git add"
],
"*.md": [
"prettier --write",
"git add"
],
"*.json": [
"prettier --write",
"git add"
]
},
"types": "./apisauce.d.ts",
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": "package.json",
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}