-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
59 lines (59 loc) · 1.59 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
{
"name": "@logto/client",
"version": "3.0.0",
"type": "module",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"react-native": "./lib/shim.js",
"exports": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"default": "./lib/index.js"
},
"files": [
"lib"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/logto-io/js.git",
"directory": "packages/client"
},
"scripts": {
"dev:tsc": "tsc -p tsconfig.build.json -w --preserveWatchOutput",
"precommit": "lint-staged",
"check": "tsc --noEmit",
"build": "rm -rf lib/ && tsc -p tsconfig.build.json --noEmit && rollup -c",
"lint": "eslint --ext .ts src",
"test": "vitest",
"test:dom": "vitest --config=vitest.config.dom.ts",
"test:coverage": "pnpm test:dom --silent --no-watch && pnpm run test --no-watch --silent --coverage",
"prepack": "pnpm build && pnpm test"
},
"dependencies": {
"@logto/js": "workspace:^",
"@silverhand/essentials": "^2.9.2",
"camelcase-keys": "^9.1.3",
"jose": "^5.2.2"
},
"devDependencies": {
"@silverhand/eslint-config": "^6.0.1",
"@silverhand/ts-config": "^6.0.0",
"@types/node": "^20.11.19",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"happy-dom": "^15.0.0",
"lint-staged": "^15.0.0",
"nock": "14.0.0-beta.15",
"prettier": "^3.0.0",
"typescript": "^5.3.3",
"vitest": "^1.6.0"
},
"eslintConfig": {
"extends": "@silverhand"
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"publishConfig": {
"access": "public"
}
}