32 lines
1.3 KiB
JSON
32 lines
1.3 KiB
JSON
{
|
|
"name": "yoga-layout",
|
|
"version": "1.9.3",
|
|
"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": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/yoga.git"
|
|
},
|
|
"main": "./dist/index",
|
|
"scripts": {
|
|
"is-monolithic": "test \"$(basename \"$(pwd)\")\" = javascript",
|
|
"copy-sources": "! npm -s run is-monolithic || (rsync -r --checksum --delete ../yoga/ sources/yoga/)",
|
|
"build": "npm run copy-sources && make && npm run build:js",
|
|
"test": "time mocha --expose-gc -r tests/tools.js tests/Facebook.Yoga/**/*.js",
|
|
"benchmark": "npm run build && node tests/run-bench $(find tests/Benchmarks -name '*.js')",
|
|
"build:js": "babel sources --out-dir dist && flow-copy-source sources dist"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.24.1",
|
|
"babel-core": "^6.25.0",
|
|
"babel-plugin-replace-require": "^0.0.4",
|
|
"babel-plugin-transform-flow-strip-types": "^6.22.0",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-stage-3": "^6.24.1",
|
|
"cross-env": "^4.0.0",
|
|
"flow-copy-source": "^2.0.7",
|
|
"mocha": "^3.2.0"
|
|
}
|
|
}
|