38320680cb
This CL demonstrates the following - Interface code written in TS - Having support for modular builds (e.g. making Paragraph optional) - Avoiding monolithic interface files - Using eslint to enforce style and avoid errors. - Working debug and release build (using example.html) Many of these files would be generated via a tool (that has not been written yet). go/ts-canvaskit Change-Id: Ibe9a214d5897b09920cef01f6e95302f3cf30d5c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/392297 Reviewed-by: Jorge Betancourt <jmbetancourt@google.com> Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
20 lines
536 B
JSON
20 lines
536 B
JSON
{
|
|
"name": "tskit",
|
|
"version": "0.0.0",
|
|
"description": "Experimental version of canvaskit with typescript binding code",
|
|
"main": "index.js",
|
|
"devDependencies": {
|
|
"@typescript-eslint/eslint-plugin": "^4.21.0",
|
|
"@typescript-eslint/parser": "^4.21.0",
|
|
"eslint": "^7.23.0",
|
|
"eslint-config-airbnb-typescript": "^12.3.1",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"typescript": "^4.2.3"
|
|
},
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "",
|
|
"license": "BSD-3-Clause"
|
|
}
|