forked from wcandillon/react-native-webgpu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 4.02 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 4.02 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "react-native-wgpu",
"version": "0.4.0",
"description": "React Native WebGPU",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src/**",
"lib/**",
"!**/__tests__/**",
"android/build.gradle",
"android/CMakeLists.txt",
"android/cpp/**",
"android/src/**",
"cpp/**/*.{h,cpp}",
"apple/**",
"libs/**",
"*.podspec"
],
"dawn": "chromium/7472",
"scripts": {
"test": "NODE_OPTIONS='--experimental-require-module' jest -i",
"test:ref": "REFERENCE=true NODE_OPTIONS='--experimental-require-module' jest -i",
"lint": "eslint . --ext .ts,.tsx --max-warnings 0 --cache --fix",
"tsc": "tsc --noEmit",
"build": "bob build",
"build-dawn": "tsx scripts/build/dawn.ts",
"clean-dawn": "rimraf ./libs && rimraf ../../externals/dawn/out",
"clang-format": "yarn clang-format-ios && yarn clang-format-android && yarn clang-format-common",
"clang-format-ios": "find apple/ -iname \"*.h\" -o -iname \"*.mm\" -o -iname \"*.cpp\" | xargs clang-format -i",
"clang-format-android": "find android/cpp/ -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.cpp\" | xargs clang-format -i",
"clang-format-common": "find cpp/rnwgpu -iname \"*.h\" -o -iname \"*.m\" -o -iname \"*.cpp\" | xargs clang-format -i",
"cpplint": "cpplint --linelength=230 --filter=-legal/copyright,-whitespace/indent,-whitespace/comments,-whitespace/ending_newline,-build/include_order,-runtime/references,-readability/todo,-whitespace/blank_line,-whitespace/todo,-runtime/int,-build/c++11,-whitespace/parens --exclude=example --exclude=android/.cxx --exclude=cpp/webgpu --exclude=cpp/dawn --exclude=ios --exclude=android/build --exclude=node_modules --recursive .",
"install-dawn": "tsx scripts/install-dawn.ts",
"codegen": "tsx scripts/codegen/codegen.ts && yarn clang-format"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wcandillon/react-native-webgpu.git"
},
"author": "William Candillon <wcandillon@gmail.com> (https://github.com/wcandillon)",
"license": "MIT",
"bugs": {
"url": "https://github.com/wcandillon/react-native-webgpu/issues"
},
"homepage": "https://github.com/wcandillon/react-native-webgpu#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.5",
"@types/node": "^20.14.7",
"@types/pixelmatch": "5.2.4",
"@types/pngjs": "^6.0.5",
"@types/react": "^18.2.44",
"@types/seedrandom": "^3.0.8",
"@types/ws": "^8.5.10",
"@webgpu/types": "0.1.65",
"clang-format": "^1.8.0",
"del-cli": "^5.1.0",
"eslint": "9.35.0",
"eslint-config-react-native-wcandillon": "4.0.1",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jest": "^28.8.2",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"lodash": "^4.17.21",
"pixelmatch": "5.3.0",
"pngjs": "^7.0.0",
"prettier": "^3.0.3",
"puppeteer": "24.24.1",
"react": "19.1.0",
"react-native": "0.81.4",
"react-native-builder-bob": "^0.23.2",
"react-native-web": "^0.21.2",
"rimraf": "^5.0.7",
"seedrandom": "^3.0.5",
"teapot": "^1.0.0",
"ts-morph": "^22.0.0",
"tsx": "^4.20.5",
"typescript": "^5.2.2",
"wgpu-matrix": "^3.0.2",
"ws": "^8.18.0",
"yargs": "^17.7.2"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "RNWgpuViewSpec",
"type": "all",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "com.webgpu"
},
"ios": {
"componentProviders": {
"WebGPUView": "WebGPUView"
}
}
}
}