-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.18 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
{
"name": "yet-another-yoga-layout-fork",
"version": "0.0.1",
"type": "module",
"exports": {
"./package.json": "./package.json",
"./yoga.wasm": "./dist/yoga.wasm",
".": "./dist/index.js",
"./asm": "./dist/asm.js",
"./asmSync": "./dist/asmSync.js",
"./compat": "./dist/compat.js",
"./imports": "./dist/imports.js"
},
"imports": {
"#wasm": {
"browser": "./dist/browser-wasm.js",
"default": "./dist/node-wasm.js"
}
},
"scripts": {
"echo:cow": "echo 'cow'",
"build": "make && rollup -c && cp tmp/yoga.wasm dist/yoga.wasm",
"gentest": "node ./test/gentest/run.js",
"test": "npm run test:imports && npm run test:compat && npm run test:wasm && npm run test:asm && npm run test:asm-sync",
"test:wasm": "vitest run --dir ./test",
"test:asm": "YOGA_BUILD='asm' vitest run --dir ./test",
"test:asm-sync": "YOGA_BUILD='asmSync' vitest run --dir ./test",
"test:compat": "YOGA_BUILD='compat' vitest run --dir ./test",
"test:imports": "YOGA_BUILD='imports' vitest run --dir ./test",
"size": "size-limit",
"benchmark": "node test/bench/run.js test/bench/index.js"
},
"repository": "jeetiss/yet-another-yoga-layout-fork",
"license": "MIT",
"files": [
"dist",
"package.json",
"index.d.ts",
"LICENSE"
],
"size-limit": [
{
"path": "dist/index.js",
"import": "initYoga",
"name": "wasm"
},
{
"path": "dist/asm.js",
"import": "initYoga",
"name": "asm"
},
{
"path": "dist/asmSync.js",
"import": "initYoga",
"name": "asmSync"
},
{
"path": "dist/compat.js",
"import": "initYoga",
"name": "compat"
},
{
"path": "dist/imports.js",
"import": "initYoga",
"name": "imports"
}
],
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@size-limit/preset-small-lib": "^8.1.2",
"@types/jscodeshift": "^0.11.6",
"jscodeshift": "^0.14.0",
"rollup": "^3.14.0",
"simple-yenc": "^0.3.0",
"size-limit": "^8.1.2",
"vitest": "^0.28.4",
"yoga-layout-prebuilt": "^1.10.0"
}
}