-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·139 lines (139 loc) · 4.56 KB
/
Copy pathpackage.json
File metadata and controls
executable file
·139 lines (139 loc) · 4.56 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "sandstone",
"description": "Sandstone, a Typescript library for Minecraft datapacks & resource packs.",
"version": "1.2.23",
"contributors": [
{
"name": "TheMrZZ - Florian ERNST",
"url": "https://github.com/TheMrZZ"
},
{
"email": "mulverin3@gmail.com",
"name": "MulverineX",
"url": "https://github.com/MulverineX"
}
],
"bugs": {
"url": "https://github.com/sandstone-mc/sandstone/issues"
},
"dependencies": {
"@types/bun": "^1.3.14",
"@types/nearley": "^2.11.5",
"adm-zip": "^0.6.0",
"binary-extensions": "^3.1.0",
"fs-extra": "^11.3.6",
"isbinaryfile": "^6.0.0",
"lodash": "^4.18.1",
"nearley": "^2.20.1",
"prismarine-nbt": "^2.8.0"
},
"devDependencies": {
"@ampproject/remapping": "^2.3.0",
"@parcel/watcher": "^2.6.0",
"@sandstone-mc/mcdoc-ts-generator": "0.3.18",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/fs-extra": "^11.0.4",
"@types/lodash": "^4.17.24",
"@typescript/analyze-trace": "^0.11.1",
"@typescript/typescript6": "^6.0.2",
"magic-string": "^1.0.0",
"oxlint": "^1.75.0",
"source-map-js": "^1.2.1",
"typescript": "^7.0.2"
},
"directories": {
"lib": "src"
},
"homepage": "https://sandstone.dev",
"keywords": [
"autocompletion",
"creator",
"datapack",
"generator",
"language",
"library",
"minecraft",
"preprocessor",
"typescript"
],
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/sandstone-mc/sandstone.git"
},
"scripts": {
"benchmark:selector-types": "bun dev:build --silent && bun run scripts/benchmark-selector-types.ts",
"tsc": "./node_modules/typescript/bin/tsc",
"dev:build": "bun run scripts/build.ts",
"dev:build:types": "bun run scripts/build-types.ts",
"dev:watch": "bun run scripts/watch.ts",
"publishToNpm": "bun dev:build && bun publish",
"format": "bun oxlint src --fix",
"lint": "bun oxlint src",
"update-from-mcdoc": "bun run update-from-mcdoc:types && bun run update-from-mcdoc:json",
"update-from-mcdoc:types": "MCDOC_TARGET_VERSION=26.3 mcdoc-ts-generator --out-dir \"src/arguments/generated/\" --no-tsconfig",
"update-from-mcdoc:json": "MCDOC_TARGET_VERSION=26.3 MCDOC_TYPE_PREFIX=Json MCDOC_ALLOW_JS_NUMBER=1 MCDOC_IMPORT_ROOT=sandstone/arguments/generated/_json mcdoc-ts-generator --out-dir \"src/arguments/generated/_json/\" --no-tsconfig"
},
"type": "module",
"main": "dist/exports/index.js",
"module": "dist/exports/index.js",
"types": "dist/exports/index.d.ts",
"files": [
"dist",
"src",
"tsconfig.json"
],
"exports": {
".": {
"types": "./dist/exports/index.d.ts",
"import": "./dist/exports/index.js",
"default": "./dist/exports/index.js"
},
"./browser": {
"types": "./dist/exports/index.d.ts",
"import": "./dist/browser/sandstone.esm.js",
"default": "./dist/browser/sandstone.esm.js"
},
"./arguments": {
"types": "./dist/exports/arguments/index.d.ts",
"import": "./dist/exports/arguments/index.js",
"default": "./dist/exports/arguments/index.js"
},
"./commands": {
"types": "./dist/exports/commands/index.d.ts",
"import": "./dist/exports/commands/index.js",
"default": "./dist/exports/commands/index.js"
},
"./core": {
"types": "./dist/exports/core/index.d.ts",
"import": "./dist/exports/core/index.js",
"default": "./dist/exports/core/index.js"
},
"./flow": {
"types": "./dist/exports/flow/index.d.ts",
"import": "./dist/exports/flow/index.js",
"default": "./dist/exports/flow/index.js"
},
"./pack": {
"types": "./dist/exports/pack/index.d.ts",
"import": "./dist/exports/pack/index.js",
"default": "./dist/exports/pack/index.js"
},
"./variables": {
"types": "./dist/exports/variables/index.d.ts",
"import": "./dist/exports/variables/index.js",
"default": "./dist/exports/variables/index.js"
}
},
"trustedDependencies": [
"@parcel/watcher"
],
"patchedDependencies": {
"@typescript-eslint/eslint-plugin@8.67.0": "patches/@typescript-eslint%2Feslint-plugin@8.67.0.patch",
"@typescript-eslint/parser@8.67.0": "patches/@typescript-eslint%2Fparser@8.67.0.patch",
"@typescript-eslint/type-utils@8.67.0": "patches/@typescript-eslint%2Ftype-utils@8.67.0.patch",
"@typescript-eslint/typescript-estree@8.67.0": "patches/@typescript-eslint%2Ftypescript-estree@8.67.0.patch",
"ts-api-utils@2.5.0": "patches/ts-api-utils@2.5.0.patch"
}
}