-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathpackage.json
64 lines (64 loc) · 1.6 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
{
"name": "@logto/node",
"version": "3.1.0",
"type": "module",
"module": "./lib/src/index.js",
"types": "./lib/src/index.d.ts",
"exports": {
".": {
"import": "./lib/src/index.js",
"types": "./lib/src/index.d.ts"
},
"./edge": {
"import": "./lib/edge/index.js",
"types": "./lib/edge/index.d.ts"
},
"./exports": {
"import": "./lib/exports/index.js",
"types": "./lib/exports/index.d.ts"
}
},
"files": [
"lib"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/logto-io/js.git",
"directory": "packages/node"
},
"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:coverage": "vitest --silent --coverage",
"prepack": "pnpm build && pnpm test"
},
"dependencies": {
"@logto/client": "workspace:^",
"@silverhand/essentials": "^2.9.2",
"js-base64": "^3.7.4"
},
"devDependencies": {
"@silverhand/eslint-config": "^6.0.1",
"@silverhand/ts-config": "^6.0.0",
"@types/cookie": "^0.6.0",
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.0",
"typescript": "^5.3.3",
"vitest": "^1.6.0"
},
"eslintConfig": {
"extends": "@silverhand"
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"publishConfig": {
"access": "public"
}
}