-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.54 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.54 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
{
"name": "@knocklabs/expo",
"version": "0.5.6",
"author": "@knocklabs",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"types": "dist/types/index.d.ts",
"typings": "dist/types/index.d.ts",
"react-native": "./src/index.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"react-native": "./src/index.ts",
"default": "./dist/esm/index.mjs"
}
},
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"clean": "rimraf dist",
"dev": "tsc && vite build --watch",
"build": "yarn clean && yarn build:esm && yarn build:cjs",
"build:esm": "BUILD_TARGET=esm; tsc && vite build",
"build:cjs": "BUILD_TARGET=cjs; tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format": "prettier \"src/**/*.{js,ts,tsx}\" --write",
"format:check": "prettier \"src/**/*.{js,ts,tsx}\" --check",
"type:check": "tsc --noEmit",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/knocklabs/javascript.git"
},
"bugs": {
"url": "https://github.com/knocklabs/javascript/issues"
},
"peerDependencies": {
"expo": "*",
"expo-constants": "*",
"expo-device": "*",
"expo-notifications": "*",
"react": "*",
"react-native": "*"
},
"dependencies": {
"@knocklabs/client": "workspace:^",
"@knocklabs/react-core": "workspace:^",
"@knocklabs/react-native": "workspace:^",
"react-native-gesture-handler": "~2.30.0",
"react-native-render-html": "^6.3.4",
"react-native-svg": "15.15.3"
},
"devDependencies": {
"@codecov/vite-plugin": "^1.9.1",
"@testing-library/jest-dom": "^6.8.0",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.1.8",
"@types/react-native-htmlview": "^0.16.6",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.39.1",
"@vitejs/plugin-react": "^4.5.1",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.5.2",
"expo": "~55.0.9",
"expo-constants": "~55.0.9",
"expo-device": "~55.0.10",
"expo-notifications": "~55.0.14",
"jsdom": "^27.1.0",
"react": "^19.0.0",
"react-native": "^0.83.4",
"rimraf": "^6.0.1",
"typescript": "^5.8.3",
"vite": "^5.4.19",
"vite-plugin-dts": "^4.5.0",
"vite-plugin-no-bundle": "^4.0.0",
"vitest": "^3.2.4"
}
}