-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
71 lines (71 loc) · 1.89 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
68
69
70
71
{
"name": "@swan-io/chicane",
"version": "2.1.0",
"license": "MIT",
"description": "A simple and safe router for React and TypeScript",
"author": "Mathieu Acthernoene <[email protected]>",
"homepage": "https://swan-io.github.io/chicane",
"repository": {
"type": "git",
"url": "https://github.com/swan-io/chicane.git"
},
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"hook",
"react",
"router",
"typescript"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"clean": "rm -rf dist",
"format": "prettier '**/*' --ignore-unknown --write",
"lint": "eslint --ext ts,tsx ./src",
"test": "vitest --run",
"test:watch": "vitest --watch",
"typecheck": "tsc --noEmit",
"build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
"prepack": "yarn typecheck && yarn lint && yarn test && yarn build"
},
"prettier": {
"plugins": [
"prettier-plugin-organize-imports"
]
},
"peerDependencies": {
"react": ">=18.0.0"
},
"dependencies": {
"@emotion/hash": "^0.9.2",
"use-sync-external-store": "^1.2.2"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.0",
"@types/node": "^20.14.11",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/use-sync-external-store": "^0.0.6",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"jsdom": "^24.1.1",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.2.2",
"typescript": "^5.5.3",
"vitest": "^2.0.4"
}
}