-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.58 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.58 KB
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
{
"name": "@magmacomputing/library",
"version": "2.9.1",
"description": "Shared utility library for Tempo",
"author": "Magma Computing Solutions",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magmacomputing/magma.git",
"directory": "packages/library"
},
"homepage": "https://github.com/magmacomputing/magma/tree/main/packages/library#readme",
"bugs": {
"url": "https://github.com/magmacomputing/magma/issues"
},
"keywords": [
"utility",
"temporal",
"monorepo"
],
"type": "module",
"main": "dist/common.index.js",
"types": "dist/common.index.d.ts",
"exports": {
".": {
"types": "./dist/common.index.d.ts",
"development": "./src/common.index.ts",
"import": "./dist/common.index.js"
},
"./browser": {
"types": "./dist/browser.index.d.ts",
"development": "./src/browser.index.ts",
"import": "./dist/browser.index.js"
},
"./common": {
"types": "./dist/common.index.d.ts",
"development": "./src/common.index.ts",
"import": "./dist/common.index.js"
},
"./server": {
"node": {
"types": "./dist/server.index.d.ts",
"development": "./src/server.index.ts",
"import": "./dist/server.index.js"
},
"browser": null
},
"./browser/*.js": {
"development": "./src/browser/*.ts",
"default": "./dist/browser/*.js"
},
"./server/*.js": {
"development": "./src/server/*.ts",
"default": "./dist/server/*.js"
},
"./common/*.js": {
"development": "./src/common/*.ts",
"default": "./dist/common/*.js"
},
"./*.js": {
"development": "./src/common/*.ts",
"default": "./dist/common/*.js"
}
},
"files": [
"dist/",
"src/"
],
"imports": {
"#library": {
"development": "./src/common.index.ts",
"default": "./dist/common.index.js"
},
"#library/*.js": {
"development": "./src/common/*.ts",
"default": "./dist/common/*.js"
},
"#browser/*.js": {
"development": "./src/browser/*.ts",
"default": "./dist/browser/*.js"
},
"#server/*.js": {
"development": "./src/server/*.ts",
"default": "./dist/server/*.js"
}
},
"scripts": {
"test": "vitest run",
"build": "tsc -b",
"clean": "tsc -b --clean",
"prepublishOnly": "if [ $(git rev-parse --abbrev-ref HEAD) != main ]; then echo 'ERROR: Must be on main branch to publish.'; exit 1; fi && npm run build"
},
"dependencies": {
"tslib": "^2.8.1"
},
"optionalDependencies": {
"@js-temporal/polyfill": "^0.5.1"
}
}