-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.75 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
{
"name": "simple-http-request-builder",
"version": "2.1.0",
"description": "A simple HTTP request interface written in TypeScript",
"author": "Aurélien Manteaux <amanteaux@coreoz.com> (https://coreoz.com)",
"repository": "https://github.com/coreoz/simple-http-request-builder",
"homepage": "https://github.com/coreoz/simple-http-request-builder",
"license": "Apache-2.0",
"keywords": [
"http",
"request",
"rest",
"api"
],
"scripts": {
"build": "yarn tsc:cjs && yarn tsc:esm",
"tsc:cjs": "tsc --module commonjs --outDir build/cjs -p tsconfig.json",
"tsc:esm": "tsc --module esnext --outDir build/esm -p tsconfig.json",
"clean": "rm -rf build",
"test": "jest --config jest.config.ts",
"lint": "tsc --noEmit --outDir build/esm -p tsconfig.json && eslint src --ext .ts",
"prepare-release": "yarn clean && yarn lint && yarn test && yarn build",
"release": "release-it"
},
"release-it": {
"hooks": {
"before:init": [
"yarn prepare-release"
]
}
},
"main": "build/cjs/index.js",
"typings": "build/esm/index.d.ts",
"module": "build/esm/index.js",
"engines": {
"node": ">=10"
},
"devDependencies": {
"@jest/globals": "^29.1.2",
"@types/jest": "^29.1.1",
"@types/node": "^17.0.23",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"eslint": "^8.12.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.4",
"eslint-plugin-import": "^2.25.4",
"jest": "^29.1.2",
"jest-config": "^29.1.2",
"release-it": "^17.1.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
},
"files": [
"build/**/*.*"
],
"packageManager": "yarn@4.1.1"
}