forked from pinqy520/yoga-layout-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.68 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
{
"name": "@play-co/yoga-layout-wasm",
"version": "1.18.5",
"description": "yoga-layout webassembly module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "make && tsc && make copy-lib",
"build:debug": "make debug && tsc && make copy-lib",
"build:tests": "make tests && tsc -p tsconfig.tests.json && make copy-tests",
"test:wasm": "TEST_ENTRY=wasm time mocha --expose-gc -r tests/tools.js tests/Facebook.Yoga/**/*.js",
"test:asm": "TEST_ENTRY=asm time mocha --expose-gc -r tests/tools.js tests/Facebook.Yoga/**/*.js",
"test": "npm run build:tests && npm run test:wasm && npm run test:asm",
"benchmark": "node tests/run-bench.js $(find tests/Benchmarks -name '*.js')",
"lint:fix": "eslint src test/src --fix",
"lint": "eslint src test/src",
"format": "prettier --write \"test/src/**/*.{js,ts}\" \"src/**/*.{js,ts}\"",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/play-co/yoga-layout-wasm.git"
},
"keywords": [
"webassembly",
"wasm",
"yoga-layout",
"yoga"
],
"author": "Huang Qi",
"license": "MIT",
"bugs": {
"url": "https://github.com/play-co/yoga-layout-wasm/issues"
},
"homepage": "https://github.com/play-co/yoga-layout-wasm#readme",
"devDependencies": {
"@play-co/eslint-config": "1.4.0",
"@types/node": "^16.3.1",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"mocha": "^9.0.2",
"prettier": "^2.3.2",
"typescript": "^4.3.5"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "restricted"
}
}