1 | {
|
2 | "version": "3.0.0",
|
3 | "author": {
|
4 | "name": "Infinite Red",
|
5 | "email": "npm@infinite.red",
|
6 | "url": "https://github.com/infinitered/ignite"
|
7 | },
|
8 | "ava": {
|
9 | "require": [
|
10 | "babel-core/register"
|
11 | ]
|
12 | },
|
13 | "dependencies": {
|
14 | "axios": "^0.27.2"
|
15 | },
|
16 | "description": "Axios + standardized errors + request/response transforms.",
|
17 | "devDependencies": {
|
18 | "@semantic-release/git": "^7.0.5",
|
19 | "@types/node": "14.0.4",
|
20 | "@types/ramda": "^0.25.28",
|
21 | "ava": "^0.25.0",
|
22 | "babel-cli": "^6.26.0",
|
23 | "babel-core": "^6.26.3",
|
24 | "babel-eslint": "^8.2.3",
|
25 | "babel-preset-es2015": "^6.24.1",
|
26 | "husky": "^1.3.1",
|
27 | "lint-staged": "^8.1.0",
|
28 | "np": "3.0.4",
|
29 | "npm-run-all": "^4.1.5",
|
30 | "nyc": "^11.8.0",
|
31 | "prettier": "^1.15.3",
|
32 | "ramda": "^0.25.0",
|
33 | "ramdasauce": "^2.1.0",
|
34 | "rollup": "^0.59.1",
|
35 | "rollup-plugin-babel": "^3.0.4",
|
36 | "rollup-plugin-commonjs": "^8.4.1",
|
37 | "rollup-plugin-filesize": "^1.5.0",
|
38 | "rollup-plugin-node-resolve": "^3.2.0",
|
39 | "rollup-plugin-uglify": "^3.0.0",
|
40 | "semantic-release": "^15.12.4",
|
41 | "tslint": "^5.12.0",
|
42 | "tslint-config-prettier": "^1.17.0",
|
43 | "tslint-config-standard": "^8.0.1",
|
44 | "typescript": "3.5.1"
|
45 | },
|
46 | "files": [
|
47 | "dist/apisauce.js",
|
48 | "dist/umd/apisauce.js",
|
49 | "apisauce.d.ts"
|
50 | ],
|
51 | "keywords": [
|
52 | "axios",
|
53 | "api",
|
54 | "network",
|
55 | "http"
|
56 | ],
|
57 | "license": "MIT",
|
58 | "main": "./dist/apisauce.js",
|
59 | "name": "apisauce",
|
60 | "repository": {
|
61 | "type": "git",
|
62 | "url": "https://github.com/infinitered/apisauce.git"
|
63 | },
|
64 | "scripts": {
|
65 | "build": "BABEL_ENV=production rollup -c",
|
66 | "clean": "rm -rf dist",
|
67 | "compile": "tsc -p tsconfig.json",
|
68 | "coverage": "nyc ava",
|
69 | "prepare": "npm-run-all compile build",
|
70 | "dist": "npm-run-all clean compile build test",
|
71 | "lint": "tslint -p .",
|
72 | "test": "npm-run-all compile test:unit",
|
73 | "test:unit": "ava -s",
|
74 | "ci:publish": "yarn semantic-release",
|
75 | "semantic-release": "semantic-release",
|
76 | "format": "prettier --write \"{**/*.ts,.circleci/**/*.js}\" --loglevel error && tslint -p . --fix",
|
77 | "example": "node ./examples/github.js"
|
78 | },
|
79 | "prettier": {
|
80 | "semi": false,
|
81 | "singleQuote": true,
|
82 | "trailingComma": "all",
|
83 | "printWidth": 120
|
84 | },
|
85 | "lint-staged": {
|
86 | "*.ts": [
|
87 | "prettier --write",
|
88 | "tslint --fix",
|
89 | "git add"
|
90 | ],
|
91 | "*.md": [
|
92 | "prettier --write",
|
93 | "git add"
|
94 | ],
|
95 | "*.json": [
|
96 | "prettier --write",
|
97 | "git add"
|
98 | ]
|
99 | },
|
100 | "types": "./apisauce.d.ts",
|
101 | "release": {
|
102 | "plugins": [
|
103 | "@semantic-release/commit-analyzer",
|
104 | "@semantic-release/release-notes-generator",
|
105 | "@semantic-release/npm",
|
106 | "@semantic-release/github",
|
107 | [
|
108 | "@semantic-release/git",
|
109 | {
|
110 | "assets": "package.json",
|
111 | "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
112 | }
|
113 | ]
|
114 | ]
|
115 | },
|
116 | "husky": {
|
117 | "hooks": {
|
118 | "pre-commit": "lint-staged"
|
119 | }
|
120 | }
|
121 | }
|