This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 2.02 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
{
"public": true,
"name": "@webcarrot/api",
"version": "2.0.0",
"description": "Framework that provide minimal API support",
"main": "./dist/cjs/index.js",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./browser": {
"import": "./dist/esm/browser.js",
"require": "./dist/cjs/browser.js"
},
"./context": {
"import": "./dist/esm/context.js",
"require": "./dist/cjs/context.js"
},
"./errors": {
"import": "./dist/esm/errors.js",
"require": "./dist/cjs/errors.js"
},
"./node": {
"import": "./dist/esm/node.js",
"require": "./dist/cjs/node.js"
},
"./types": {
"import": "./dist/esm/types.js",
"require": "./dist/cjs/types.js"
}
},
"types": "./dist/esm/index.d.ts",
"typesVersions": {
"*": {
"browser": [
"./dist/esm/browser.d.ts"
],
"context": [
"./dist/esm/context.d.ts"
],
"errors": [
"./dist/esm/errors.d.ts"
],
"node": [
"./dist/esm/node.d.ts"
],
"types": [
"./dist/esm/types.d.ts"
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/webcarrot/api.git"
},
"keywords": [
"api",
"typescript",
"microframework",
"react",
"isomorphic"
],
"scripts": {
"prepack": "rm -rf ./dist && tsc -p ./ -m es2022 -d --outDir ./dist/esm && tsc -p ./ -m commonjs --outDir ./dist/cjs && echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"postpack": "rm -rf ./dist",
"test": "tsc --noEmit"
},
"author": {
"email": "[email protected]",
"name": "webcarrot"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/webcarrot/api/issues"
},
"homepage": "https://github.com/webcarrot/api#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"@types/react": "^18.0.21",
"typescript": "^4.8.4"
},
"files": [
"dist"
]
}