-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
63 lines (63 loc) · 3.3 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
{
"name": "basis-universal-transcoders",
"version": "0.2.0",
"description": "Lightweight WebAssembly transcoder implementations of universal texture formats.",
"keywords": [
"gpu",
"webgl",
"wasm",
"basis",
"uastc",
"texture",
"gltf"
],
"author": "The Khronos Group, Inc.",
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "^17.0.18",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"assemblyscript": "0.19.23",
"eslint": "^8.9.0",
"eslint-plugin-unicorn": "^40.1.0",
"tap-arc": "^0.1.2",
"tape": "^5.5.2",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
},
"scripts": {
"asbuild:uastc-generator": "asc assembly/uastc/generator.ts -b build/tools/uastc_generator.wasm -t build/tools/uastc_generator.wat --optimize --converge --runtime stub --noAssert --importMemory --memoryBase 63488",
"asbuild:uastc-astc": "asc assembly/uastc/astc.ts -b build/uastc_astc.wasm -t build/uastc_astc.wat --optimize --converge --runtime stub --noAssert --importMemory --memoryBase 8",
"asbuild:uastc-bc7": "asc assembly/uastc/bc7.ts -b build/uastc_bc7.wasm -t build/uastc_bc7.wat --optimize --converge --runtime stub --noAssert --importMemory --memoryBase 472",
"asbuild:uastc-rgba8-unorm": "asc assembly/uastc/rgba8.ts -u SRGB=0 -u CHANNELS=4 -b build/uastc_rgba8_unorm.wasm -t build/uastc_rgba8_unorm.wat --optimize --converge --runtime stub --noAssert --importMemory --memoryBase 512",
"asbuild:uastc-rg8-unorm": "asc assembly/uastc/rgba8.ts -u SRGB=0 -u CHANNELS=2 -b build/uastc_rg8_unorm.wasm -t build/uastc_rg8_unorm.wat --optimize --converge --runtime stub --noAssert --importMemory --memoryBase 512",
"asbuild:uastc-r8-unorm": "asc assembly/uastc/rgba8.ts -u SRGB=0 -u CHANNELS=1 -b build/uastc_r8_unorm.wasm -t build/uastc_r8_unorm.wat --optimize --converge --runtime stub --noAssert --importMemory --memoryBase 512",
"asbuild:uastc-rgba8-srgb": "asc assembly/uastc/rgba8.ts -u SRGB=1 -u CHANNELS=4 -b build/uastc_rgba8_srgb.wasm -t build/uastc_rgba8_srgb.wat --optimize --converge --runtime stub --noAssert --importMemory --memoryBase 512",
"asbuild:uastc-transcoders": "npm run asbuild:uastc-astc && npm run asbuild:uastc-bc7",
"asbuild:uastc-decoders": "npm run asbuild:uastc-rgba8-unorm && npm run asbuild:uastc-rg8-unorm && npm run asbuild:uastc-r8-unorm && npm run asbuild:uastc-rgba8-srgb",
"asbuild:uastc": "npm run asbuild:uastc-generator && npm run asbuild:uastc-transcoders && npm run asbuild:uastc-decoders",
"asbuild": "npm run asbuild:uastc",
"test": "ts-node test/uastc/test.ts | tap-arc"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"unicorn"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"semi": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-loss-of-precision": "off",
"@typescript-eslint/semi": [
"error",
"always"
],
"unicorn/number-literal-case": "error"
}
}
}