generated from neoncitylights/typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.89 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
{
"name": "@neoncitylights/http-types",
"version": "0.2.0",
"description": "Provides strongly typed HTTP headers, methods, and status codes. Supports the Fetch API, XmlHttpRequest, and the Node.js HTTP module with zero-runtime overhead.",
"license": "MIT",
"author": {
"name": "Samantha",
"url": "https://github.com/neoncitylights"
},
"keywords": [
"typescript",
"types",
"http",
"fetch",
"xhr",
"xmlHttpRequest",
"node"
],
"homepage": "https://github.com/neoncitylights/types/tree/main/packages/http-types",
"bugs": "https://github.com/neoncitylights/types/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/neoncitylights/types.git"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/neoncitylights"
},
"main": "./src/index.ts",
"types": "./src/index.ts",
"files": [
"src/index.ts",
"src/httpHeaders.ts",
"src/httpMethods.ts",
"src/httpStatusCodes.ts",
"src/*.d.ts"
],
"scripts": {
"generateHttpTypes": "node -r @swc-node/register build/generateHttpTypes.ts",
"build": "npm run generateHttpTypes",
"build:typedoc": "npx typedoc",
"build:typedoc-watch": "npm run build:typedoc -- --watch",
"build:watch": "watch 'npm run build' ./build",
"build:all": "npm run build && npm run build:typedoc",
"clean": "rm -rf ./dist/ ./docs/typedocs/",
"deploy": "gh-pages -d ./docs/typedocs",
"test": "vitest --coverage",
"test:ci": "npm run test -- run",
"test:ui": "npm run test -- --ui",
"test:all": "npm run test:ci && npm run lint",
"lint": "eslint src build --ext .ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"prepare": "npm run build",
"prepublishOnly": "npm run test:all",
"preversion": "npm run lint",
"version": "npm run lint && git add -A src",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@swc-node/register": "^1.6.8",
"watch": "^1.0.2",
"word-wrap": "^1.2.4"
}
}