forked from Shopify/react-native-skia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 2.59 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
52
{
"name": "react-native-skia-dev-tools",
"version": "1.0.0",
"description": "## Getting started",
"main": "index.js",
"directories": {
"example": "example"
},
"devDependencies": {
"@types/node": "^16.11.7",
"clang-format": "^1.6.0",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"scripts": {
"build-skia-ios-framework": "ts-node ./scripts/build-skia-ios-framework.ts",
"build-skia-ios": "ts-node ./scripts/build-skia-ios.ts && yarn build-skia-ios-framework",
"build-skia-android": "ts-node ./scripts/build-skia-android.ts",
"build-skia": "yarn build-skia-ios && yarn build-skia-android",
"clean-skia": "yarn rimraf ./package/libs && yarn rimraf ./externals/skia/out",
"copy-skia-include-headers": "yarn rimraf ./package/cpp/skia/include/ && cp -a ./externals/skia/include/. ./package/cpp/skia/include",
"copy-skia-module-headers": "yarn rimraf ./package/cpp/skia/modules/ && mkdir -p ./package/cpp/skia/modules/svg/include && mkdir -p ./package/cpp/skia/modules/skresources/include && cp -a ./externals/skia/modules/svg/include/. ./package/cpp/skia/modules/svg/include && cp -a ./externals/skia/modules/skresources/include/. ./package/cpp/skia/modules/skresources/include",
"copy-skia-headers": "yarn copy-skia-module-headers && yarn copy-skia-include-headers",
"build-npm": "yarn ts-node ./scripts/build-npm-package.ts",
"get-filename-npm": "yarn ts-node ./scripts/get-npm-filename.ts",
"get-version-npm": "yarn ts-node ./scripts/get-npm-version.ts",
"build": "yarn build-skia && yarn copy-skia-headers",
"precommit": "yarn lint-java && yarn clang-format",
"lint-java": "node ./scripts/lint-java.js",
"clang-format": "yarn clang-format-ios && yarn clang-format-android && yarn clang-format-common",
"clang-format-ios": "find package/ios/ -iname *.h -o -iname *.m -o -iname *.cpp | xargs clang-format -i",
"clang-format-android": "find package/android/src/ -iname *.h -o -iname *.m -o -iname *.cpp | xargs clang-format -i",
"clang-format-common": "find package/cpp/ -iname *.h -o -iname *.m -o -iname *.cpp | xargs clang-format -i",
"workflow-copy-libs": "yarn ts-node ./scripts/workflow-copy-libs.ts",
"bootstrap": "yarn && cd ./package && yarn && cd .. && cd ./example && yarn && cd .."
},
"license": "MIT",
"licenseFilename": "LICENSE.md",
"readmeFilename": "README.md",
"author": "Shopify Inc.",
"contributors": [
{
"name": "Christian Falch",
"email": "[email protected]"
},
{
"name": "William Candillon",
"email": "[email protected]"
}
]
}