-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 2.6 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
{
"name": "frest",
"version": "1.2.0",
"description": "REST client for browser with Fetch",
"license": "Apache-2.0",
"main": "dist/frest.cjs.js",
"module": "dist/frest.esm.js",
"unpkg": "dist/frest.min.js",
"typings": "dist/frest.d.ts",
"sideEffects": false,
"homepage": "https://github.com/panjiesw/frest#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/panjiesw/frest.git"
},
"author": {
"name": "Panjie Setiawan Wicaksono",
"email": "[email protected]",
"url": "http://panjiesw.life"
},
"bugs": {
"url": "https://github.com/panjiesw/frest/issues"
},
"keywords": [
"rest",
"client",
"browser",
"fetch",
"whatwg-fetch"
],
"files": [
"dist/",
"src/"
],
"scripts": {
"build": "run-s clean b:ts b:bundle",
"b:bundle": "cross-env NODE_ENV=production rollup -c",
"b:ts": "tsc -p tsconfig.build.json",
"codecov": "codecov",
"clean": "rimraf lib dist coverage *.tsbuildinfo",
"test": "jest --coverage"
},
"dependencies": {
"querystringify": "^2.1.1"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@types/fetch-mock": "^7.3.1",
"@types/jest": "^27.4.0",
"@types/node": "^12.7.12",
"@types/querystringify": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^27.4.6",
"codecov": "^3.6.1",
"confusing-browser-globals": "^1.0.9",
"cross-env": "^6.0.3",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-prettier": "^3.1.1",
"fetch-mock": "^7.5.1",
"husky": "^3.0.9",
"jest": "^27.4.7",
"lint-staged": "^9.4.2",
"node-fetch": "^2.6.7",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"rollup": "^1.24.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-dts": "1.1.13",
"rollup-plugin-filesize": "^6.2.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.2",
"typescript": "^3.9.9",
"xhr-mock": "^2.5.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"git add"
]
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"prettier": {
"singleQuote": true,
"trailingComma": "all"
}
}