2017-01-02 02:22:45 -08:00
{
2018-01-18 07:55:50 -08:00
"name" : "yoga-layout" ,
2018-02-15 09:32:29 -08:00
"version" : "1.9.3" ,
2018-01-18 07:55:50 -08:00
"description" : "Yoga is a cross-platform layout engine enabling maximum collaboration within your team by implementing an API many designers are familiar with, and opening it up to developers across different platforms." ,
2018-02-16 18:25:02 -08:00
"license" : "MIT" ,
2018-01-18 07:55:50 -08:00
"repository" : {
"type" : "git" ,
"url" : "git@github.com:facebook/yoga.git"
} ,
2022-12-22 03:06:42 -08:00
"exports" : {
"." : {
"browser" : "./dist/index.wasm.js" ,
"node" : "./dist/index.wasm.js" ,
2022-12-22 05:49:05 -08:00
"react-native" : "./dist/index.asm.js" ,
"default" : "./dist/index.asm.js"
2022-12-22 03:06:42 -08:00
}
} ,
2018-01-18 07:55:50 -08:00
"scripts" : {
"is-monolithic" : "test \"$(basename \"$(pwd)\")\" = javascript" ,
2018-01-19 11:25:26 -08:00
"copy-sources" : "! npm -s run is-monolithic || (rsync -r --checksum --delete ../yoga/ sources/yoga/)" ,
2022-11-22 15:05:05 +03:00
"build" : "npm run copy-sources && make && npm run build:js" ,
2022-12-22 05:49:05 -08:00
"test" : "yarn test:asm && yarn test:wasm" ,
"test:asm" : "jest" ,
"test:wasm" : "WASM=1 jest" ,
2022-11-22 15:05:05 +03:00
"benchmark" : "npm run build && node tests/run-bench $(find tests/Benchmarks -name '*.js')" ,
2022-12-22 03:06:42 -08:00
"build:js" : "babel sources --source-maps --out-dir dist && flow-copy-source sources dist"
2018-01-18 07:55:50 -08:00
} ,
"devDependencies" : {
2022-12-22 03:06:42 -08:00
"@babel/cli" : "^7.20.7" ,
2022-12-22 05:49:05 -08:00
"@babel/core" : "^7.20.7" ,
2022-12-22 03:06:42 -08:00
"@babel/plugin-transform-flow-strip-types" : "^7.19.0" ,
"@babel/preset-env" : "^7.20.2" ,
2019-07-31 06:38:30 -07:00
"flow-copy-source" : "^2.0.7" ,
2022-12-22 05:49:05 -08:00
"jest" : "^29.3.1"
2018-01-18 07:55:50 -08:00
}
2017-01-02 02:22:45 -08:00
}