-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathpackage.json
67 lines (67 loc) · 1.74 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
{
"name": "@logto/react",
"version": "4.0.4",
"type": "module",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"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/react"
},
"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 --ext .tsx src",
"test": "vitest",
"test:coverage": "vitest --silent --coverage",
"prepack": "pnpm build && pnpm test"
},
"dependencies": {
"@logto/browser": "workspace:^",
"@silverhand/essentials": "^2.9.2"
},
"devDependencies": {
"@silverhand/eslint-config": "^6.0.1",
"@silverhand/eslint-config-react": "^6.0.2",
"@silverhand/ts-config": "^6.0.0",
"@silverhand/ts-config-react": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@types/react": "^18.2.56",
"@vitest/coverage-v8": "^2.1.9",
"eslint": "^8.57.0",
"happy-dom": "^16.0.0",
"lint-staged": "^15.0.0",
"postcss": "^8.4.31",
"prettier": "^3.0.0",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"stylelint": "^16.0.0",
"typescript": "^5.3.3",
"vitest": "^2.1.9"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"eslintConfig": {
"extends": "@silverhand/react",
"rules": {
"react/prefer-read-only-props": "off"
}
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"publishConfig": {
"access": "public"
}
}