-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.56 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.56 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
{
"name": "@knocklabs/client",
"version": "0.21.6",
"description": "The clientside library for interacting with Knock",
"homepage": "https://github.com/knocklabs/javascript/tree/main/packages/client",
"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": {
".": {
"types": "./dist/types/index.d.ts",
"react-native": "./src/index.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.mjs"
}
},
"files": [
"dist",
"src",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/knocklabs/javascript.git"
},
"bugs": {
"url": "https://github.com/knocklabs/javascript/issues"
},
"scripts": {
"dev": "tsc && vite build --watch --emptyOutDir false",
"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",
"coverage": "vitest run --coverage",
"clean": "rimraf dist",
"build": "yarn clean && yarn build:cjs && yarn build:esm",
"build:esm": "BUILD_TARGET=esm; vite build",
"build:cjs": "BUILD_TARGET=cjs; vite build",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@babel/cli": "^7.27.2",
"@babel/core": "^7.28.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.28.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-typescript": "^7.27.0",
"@codecov/vite-plugin": "^1.9.1",
"@types/jsonwebtoken": "^9.0.10",
"@typescript-eslint/eslint-plugin": "^8.32.0",
"@typescript-eslint/parser": "^8.39.1",
"cross-env": "^7.0.3",
"crypto": "^1.0.1",
"eslint": "^8.56.0",
"jsonwebtoken": "^9.0.2",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"rollup": "^4.46.2",
"typescript": "^5.8.3",
"vite": "^5.4.19",
"vitest": "^3.2.4"
},
"dependencies": {
"@babel/runtime": "^7.28.6",
"@knocklabs/types": "workspace:^",
"@tanstack/store": "^0.7.2",
"@types/phoenix": "^1.6.7",
"axios": "^1.11.0",
"axios-retry": "^4.5.0",
"eventemitter2": "^6.4.5",
"jwt-decode": "^4.0.0",
"nanoid": "^3.3.11",
"phoenix": "1.8.3",
"urlpattern-polyfill": "^10.0.0"
}
}