-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 2.71 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "@stouder-io/inertia-preact",
"version": "0.1.8",
"license": "MIT",
"description": "The Preact adapter for Inertia.js",
"author": "Xavier Stouder <xavier@stouder.io> (https://stouder.io)",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/StouderIO/inertia-preact.git"
},
"bugs": {
"url": "https://github.com/StouderIO/inertia-preact/issues"
},
"keywords": [
"inertia",
"inertiajs",
"inertiajs-adapter",
"laravel",
"adonis",
"preact",
"preactjs",
"ssr"
],
"files": [
"dist",
"types"
],
"type": "module",
"main": "dist/index.js",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
},
"./server": {
"types": "./types/server.d.ts",
"import": "./dist/server.esm.js",
"require": "./dist/server.js"
}
},
"typesVersions": {
"*": {
"server": [
"types/server.d.ts"
]
}
},
"scripts": {
"dev": "node build.js --watch",
"build": "pnpm run clean && node build.js && tsc --emitDeclarationOnly",
"clean": "rimraf types && rimraf dist",
"prepublishOnly": "pnpm run build"
},
"devDependencies": {
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"axios": "^1.6.2",
"esbuild": "^0.16.13",
"esbuild-node-externals": "^1.12.0",
"eslint": "^8.56.0",
"eslint-config-preact": "^1.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^25.7.0",
"preact": "^10.19.3",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"typescript": "^4.9.5"
},
"peerDependencies": {
"preact": "^10.19.3"
},
"dependencies": {
"@inertiajs/core": "1.0.14",
"lodash.isequal": "^4.5.0",
"preact-render-to-string": "^6.3.1"
},
"eslintConfig": {
"env": {
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"preact",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": [
"error"
],
"react-hooks/rules-of-hooks": "off"
},
"settings": {
"jest": {
"version": 29
}
}
},
"prettier": {
"trailingComma": "all",
"tabWidth": 2,
"semi": false,
"singleQuote": true
}
}