Summary: https://www.npmjs.com/package/yoga-layout Reviewed By: arcanis Differential Revision: D4611991 fbshipit-source-id: 4f75a85f8664e6d5bec609f6feb668a59f0fdde8
58 lines
1.9 KiB
JSON
58 lines
1.9 KiB
JSON
{
|
|
"name": "yoga-layout",
|
|
"version": "1.2.0",
|
|
"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.",
|
|
"license": "BSD-3-Clause",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/yoga.git"
|
|
},
|
|
|
|
"main": "./sources/entry-node",
|
|
"browser": "./sources/entry-browser",
|
|
|
|
"scripts": {
|
|
|
|
"which": "which",
|
|
"autogypi": "autogypi",
|
|
"node-gyp": "node-gyp",
|
|
"emcc-path": "emcc-path",
|
|
|
|
"is-monolithic": "test \"$(basename \"$(pwd)\")\" = javascript",
|
|
"copy-sources": "! npm -s -- run is-monolithic || (rsync -r --checksum --delete ../yoga/ sources/yoga/)",
|
|
|
|
"build:node": "npm -- run copy-sources && npm -- run node-gyp configure build",
|
|
"build:browser": "npm -- run copy-sources && npm -- run node-gyp configure build --asmjs=1",
|
|
"build:standalone": "webpack",
|
|
"build:all": "npm -- run build:node && npm -- run build:browser && npm -- run build:standalone",
|
|
"build": "npm -- run build:all",
|
|
|
|
"test:node": "TEST_ENTRY=node time mocha --expose-gc -r tests/tools.js tests/Facebook.Yoga/**/*.js",
|
|
"test:browser": "TEST_ENTRY=browser time mocha --expose-gc -r tests/tools.js tests/Facebook.Yoga/**/*.js",
|
|
"test:all": "npm -- run test:node && npm -- run test:browser",
|
|
"test": "npm -- run test:all",
|
|
|
|
"bench": "node tests/run-bench $(find tests/Benchmarks -name '*.js')",
|
|
|
|
"install": "npm -- run autogypi && npm -- run build:node",
|
|
|
|
"prepare": "npm -- run build:browser"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"autogypi": "^0.2.2",
|
|
"nbind": "^0.3.8",
|
|
"node-gyp": "^3.4.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"mocha": "^3.2.0",
|
|
"webpack": "^2.2.0-rc.2"
|
|
|
|
}
|
|
}
|