-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
87 lines (87 loc) · 1.98 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
{
"name": "@design-blocks/block",
"version": "1.0.0-beta.43",
"main": "dist/commonjs/index.js",
"module": "dist/module/index.js",
"types": "./types/index.d.ts",
"react-native": "dist/commonjs/index.js",
"source": "src/index.ts",
"files": [
"dist",
"src",
"types/*.d.ts"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./types/index.d.ts",
"import": "./dist/module/index.js",
"require": "./dist/commonjs/index.js"
}
},
"repository": {
"type": "git",
"repository": "[email protected]:openkitrun/design-blocks.git",
"directory": "@blocks-block"
},
"scripts": {
"build": "pnpm clean:build && pnpm build:native",
"build:native": "bob build",
"clean": "pnpm clean:build && rimraf -rf .turbo",
"clean:build": "rimraf -rf dist",
"lint": "../../node_modules/.bin/biome check src",
"lint:fix": "../../node_modules/.bin/biome check --apply-unsafe src",
"bundlesize": "bundlesize"
},
"keywords": [],
"bundlesize": [
{
"path": "./dist/commonjs/index.js",
"maxSize": "1kB"
},
{
"path": "./dist/module/index.js",
"maxSize": "0.5kB"
},
{
"path": "./dist/typescript/index.d.ts",
"maxSize": "0.5kB"
}
],
"dependencies": {
"@design-blocks/theme": "workspace:*",
"css-to-react-native": "3.2.0"
},
"devDependencies": {
"@types/react": "18.2.45",
"bundlesize": "0.18.1",
"react": "^18",
"react-native": "0.72",
"react-native-builder-bob": "0.23.2",
"rimraf": "4.1.2",
"tsconfig": "workspace:*",
"typescript": "5.0.4"
},
"peerDependencies": {
"react": ">=18",
"react-native": ">=0.71"
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"exclude": [
"**/*.test.tsx",
"**/*.test.ts"
],
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
}
}