Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 6.8 KB
/
Copy pathpackage.json
File metadata and controls
142 lines (142 loc) · 6.8 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
140
141
142
{
"name": "toilscript",
"description": "A TypeScript-like language for WebAssembly.",
"keywords": [
"typescript",
"webassembly",
"compiler",
"toilscript",
"wasm"
],
"version": "0.1.67",
"author": "Daniel Wirtz <dcode+assemblyscript@dcode.io>",
"license": "Apache-2.0",
"homepage": "https://github.com/dacely-cloud/toilscript",
"repository": {
"type": "git",
"url": "https://github.com/dacely-cloud/toilscript.git"
},
"bugs": {
"url": "https://github.com/dacely-cloud/toilscript/issues"
},
"engines": {
"node": ">=20",
"npm": ">=10"
},
"engineStrict": true,
"dependencies": {
"binaryen": "130.0.0",
"long": "^5.3.2"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.1.1",
"as-float": "^1.0.1",
"diff": "^9.0.0",
"esbuild": "^0.28.1",
"eslint": "^10.6.0",
"glob": "^13.0.6",
"globals": "^17.7.0",
"typescript": "^6.0.3",
"typescript7": "npm:typescript@7.0.2",
"typescript-eslint": "^8.63.0"
},
"type": "module",
"exports": {
".": {
"import": "./dist/toilscript.js",
"types": "./dist/toilscript.d.ts"
},
"./cli": {
"import": "./dist/cli.js",
"types": "./dist/cli.d.ts"
},
"./transform": {
"import": "./dist/transform.js",
"types": "./dist/transform.d.ts",
"require": "./dist/transform.cjs"
},
"./binaryen": {
"import": "./lib/binaryen.js",
"types": "./lib/binaryen.d.ts"
},
"./*": "./*",
"./shared": {
"types": "./std/shared.d.ts"
}
},
"imports": {
"#rtrace": {
"import": "./lib/rtrace/index.js",
"types": "./lib/rtrace/index.d.ts"
}
},
"bin": {
"toilscript": "./bin/toilscript.js",
"toilinit": "./bin/toilinit.js"
},
"scripts": {
"prepare": "node scripts/build",
"check": "npm run check:config && npm run check:import && npm run lint",
"check:config": "node node_modules/typescript/bin/tsc --noEmit -p src --diagnostics --listFiles",
"check:import": "node node_modules/typescript/bin/tsc --noEmit --skipLibCheck --target ESNEXT --module nodenext --moduleResolution nodenext --experimentalDecorators tests/import/index",
"lint": "eslint --max-warnings 0 --ext js . && eslint --max-warnings 0 --ext ts .",
"build": "node scripts/build",
"prepublishOnly": "node scripts/build",
"watch": "node scripts/build --watch",
"coverage": "npx c8 -- npm test",
"test": "npm run test:parser && npm run test:compiler -- --parallel && npm run test:browser && npm run test:toilconfig && npm run test:transform && npm run test:cli && npm run test:json && npm run test:data && npm run test:dbresolve && npm run test:dbstatic && npm run test:dbtypes && npm run test:routekinds && npm run test:auth-guards && npm run test:reported-bugs && npm run test:checked && npm run test:derive && npm run test:streams && npm run test:daemon && npm run test:dberror && npm run test:events && npm run test:uniquebatch && npm run test:membership && npm run test:sorted-index && npm run test:event-redaction && npm run test:shared && npm run test:unicode",
"test:parser": "node --enable-source-maps tests/parser",
"test:compiler": "node --enable-source-maps --no-warnings tests/compiler",
"test:browser": "node --enable-source-maps tests/browser",
"test:toilconfig": "cd tests/toilconfig && npm run test",
"test:transform": "npm run test:transform:esm && npm run test:transform:cjs",
"test:transform:esm": "node bin/toilscript tests/compiler/empty --transform ./tests/transform/index.js --noEmit && node bin/toilscript tests/compiler/empty --transform ./tests/transform/simple.js --noEmit",
"test:transform:cjs": "node bin/toilscript tests/compiler/empty --transform ./tests/transform/cjs/index.js --noEmit && node bin/toilscript tests/compiler/empty --transform ./tests/transform/cjs/simple.js --noEmit",
"test:cli": "node tests/cli/options.js",
"test:json": "node tests/json/run.mjs",
"test:data": "node tests/data/run.mjs && npm run test:editor",
"test:editor": "node tests/editor/run.mjs",
"test:dbresolve": "node tests/dbresolve/run.mjs",
"test:dbstatic": "node tests/dbstatic/run.mjs",
"test:dbtypes": "node tests/dbtypes/run.mjs",
"test:checked": "node tests/checked/run.mjs",
"test:reported-bugs": "node tests/reported-bugs/run.mjs",
"test:auth-guards": "node tests/auth-guards/run.mjs",
"test:routekinds": "node tests/routekinds/run.mjs",
"test:derive": "node tests/derive/run.mjs",
"test:streams": "node tests/streams/run.mjs && node tests/streams/catalog.mjs && node tests/streams/codegen.mjs",
"test:sorted-index": "node tests/sorted-index/run.mjs",
"test:membership": "node tests/membership/run.mjs",
"test:event-redaction": "node tests/event-redaction/run.mjs",
"test:daemon": "node tests/daemon/run.mjs",
"test:uniquebatch": "node tests/uniquebatch/run.mjs",
"test:events": "node tests/events/run.mjs",
"test:dberror": "node tests/dberror/run.mjs",
"asbuild": "npm run asbuild:debug && npm run asbuild:release",
"asbuild:debug": "node bin/toilscript --config src/toilconfig.json --target debug",
"asbuild:release": "node bin/toilscript --config src/toilconfig.json --target release",
"asbuild:rtraced": "node bin/toilscript --config src/toilconfig.json --target rtraced",
"bootstrap": "npm run bootstrap:debug && npm run bootstrap:release",
"bootstrap:debug": "node bin/toilscript --config src/toilconfig.json --target debug && node bin/toilscript --config src/toilconfig.json --target debug-bootstrap --wasm ./build/toilscript.debug.js && node bin/toilscript --config src/toilconfig.json --target debug-bootstrap --wasm ./build/toilscript.debug-bootstrap.js && git --no-pager diff --no-index build/toilscript.debug.wast build/toilscript.debug-bootstrap.wast",
"bootstrap:release": "node bin/toilscript --config src/toilconfig.json --target release && node bin/toilscript --config src/toilconfig.json --target release-bootstrap --wasm ./build/toilscript.release.js && node bin/toilscript --config src/toilconfig.json --target release-bootstrap --wasm ./build/toilscript.release-bootstrap.js && git --no-pager diff --no-index build/toilscript.release.wast build/toilscript.release-bootstrap.wast",
"bootstrap:rtraced": "node bin/toilscript --config src/toilconfig.json --target rtraced && node bin/toilscript --config src/toilconfig.json --target rtraced --wasm ./build/toilscript.rtraced.js",
"test:shared": "node tests/shared/run.mjs",
"gen:unicode": "node scripts/gen-unicode.mjs",
"test:unicode": "node tests/unicode/run.mjs"
},
"files": [
"bin/",
"dist/",
"std/",
"util/",
"lib/binaryen.js",
"lib/binaryen.d.ts",
"tsconfig-base.json",
"NOTICE"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/assemblyscript"
}
}