-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
95 lines (95 loc) · 2.54 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
{
"name": "kutt",
"version": "3.0.2",
"description": "Node.js & browser (TypeScript) client for Kutt url shortener",
"author": "Ardalan Amini <[email protected]> (https://ardalanamini.com)",
"license": "MIT",
"homepage": "https://kutt.it",
"repository": {
"type": "git",
"url": "git+https://github.com/ardalanamini/node-kutt.git"
},
"bugs": {
"url": "https://github.com/ardalanamini/node-kutt/issues"
},
"keywords": [
"kutt",
"url",
"shortener"
],
"sideEffects": false,
"engines": {
"node": ">= 16.0.0"
},
"main": "build/cjs/index.js",
"types": "build/cjs/index.d.ts",
"module": "build/esm/index.js",
"exports": {
".": {
"import": {
"types": "./build/esm/index.d.ts",
"default": "./build/esm/index.js"
},
"default": {
"types": "./build/cjs/index.d.ts",
"default": "./build/cjs/index.js"
}
},
"./package.json": "./package.json"
},
"imports": {
"#src/API": {
"browser": {
"import": {
"types": "./build/esm/api/API.browser.d.ts",
"default": "./build/esm/api/API.browser.js"
},
"default": {
"types": "./build/cjs/api/API.browser.d.ts",
"default": "./build/cjs/api/API.browser.js"
}
},
"default": {
"import": {
"types": "./build/esm/api/API.node.d.ts",
"default": "./build/esm/api/API.node.js"
},
"default": {
"types": "./build/cjs/api/API.node.d.ts",
"default": "./build/cjs/api/API.node.js"
}
}
},
"#src/*": {
"import": {
"types": "./build/esm/*.d.ts",
"default": "./build/esm/*.js"
},
"default": {
"types": "./build/cjs/*.d.ts",
"default": "./build/cjs/*.js"
}
}
},
"scripts": {
"build": "scripts/pre-build.sh && npm run build:cjs && npm run build:esm && scripts/post-build.sh",
"build:cjs": "tsc",
"build:cjs:watch": "npm run build:cjs -- --watch",
"build:esm": "tsc -p tsconfig.esm.json",
"build:esm:watch": "npm run build:esm -- --watch",
"lint": "eslint src",
"lint:fix": "npm run lint -- --fix",
"docs": "typedoc"
},
"devDependencies": {
"@types/node": "^18.11.0",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"eslint": "^8.25.0",
"eslint-config-noir": "^1.3.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"typedoc": "^0.23.16",
"typescript": "^4.8.4"
}
}