generated from mrousavy/react-native-jsi-library-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
164 lines (164 loc) · 4.01 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "react-native-box2d",
"version": "0.2.5",
"description": "A react-native JSI library for box2d (fast)",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"react-native-box2d.podspec",
"package",
"!externals",
"!lib/typescript/example",
"!android/build",
"!android/.cxx",
"!android/.gradle",
"!ios/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"pods": "cd example && pod-install --quiet",
"copy-headers": "yarn rimraf cpp/box2d && cp -R externals/box2d/include/box2d cpp/box2d",
"build-lib-android": "./scripts/android-build-n-copy-box2d.sh",
"build-lib-ios": "./scripts/ios-build-n-copy-box2d.sh",
"build-lib": "yarn copy-headers && yarn build-lib-android && yarn build-lib-ios",
"build-js": "yarn rimraf lib && bob build",
"prepare": "yarn build-lib && yarn build-js",
"release": "release-it"
},
"keywords": [
"react-native",
"ios",
"android",
"jsi",
"c++",
"fast"
],
"repository": "https://github.com/hannojg/react-native-box2d",
"author": "Hanno Gödecke <[email protected]> (https://github.com/hannojg)",
"license": "MIT",
"bugs": {
"url": "https://github.com/hannojg/react-native-box2d/issues"
},
"homepage": "https://github.com/hannojg/react-native-box2d#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@jamesacarr/eslint-formatter-github-actions": "^0.1.0",
"@react-native-community/eslint-config": "^3.0.1",
"@react-native-community/eslint-plugin": "^1.1.0",
"@release-it/conventional-changelog": "^3.3.0",
"@types/box2d": "^0.0.35",
"@types/react": "^17.0.21",
"@types/react-native": "^0.65.5",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"eslint": "^7.32.0",
"prettier": "^2.4.0",
"react": "^17.0.2",
"react-native": "^0.66.0",
"react-native-builder-bob": "^0.18.1",
"release-it": "^14.11.5",
"typescript": "^4.4.3"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "✨ Features"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "perf",
"section": "💨 Performance Improvements"
},
{
"type": "chore(deps)",
"section": "🛠️ Dependency Upgrades"
},
{
"type": "docs",
"section": "📚 Documentation"
}
]
}
}
}
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
}
}