-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
96 lines (96 loc) · 2.23 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
{
"name": "spx",
"version": "0.1.2-beta.1",
"private": false,
"description": "Single Page XHR - The essential enhancement for SSR powered web applications",
"homepage": "https://spx.js.org",
"license": "CC BY-NC-ND 4.0",
"author": {
"name": "Νίκος Σαβίδης",
"email": "[email protected]",
"url": "https://x.com/niksavvidis"
},
"keywords": [
"spx",
"xhr",
"ssr",
"navigation",
"browser",
"pushstate",
"history",
"stimulus",
"turbo"
],
"repository": {
"type": "git",
"url": "https://github.com/panoply/spx"
},
"bugs": {
"url": "https://github.com/panoply/spx/issues"
},
"engines": {
"node": ">=18",
"pnpm": ">=7"
},
"files": [
"index.js",
"index.d.ts",
"LICENSE",
"types/components.d.ts",
"types/config.d.ts",
"types/events.d.ts",
"types/global.d.ts",
"types/options.d.ts",
"types/page.d.ts",
"types/session.d.ts",
"types/spx.d.ts"
],
"type": "module",
"typings": "index.d.ts",
"module": "./index.js",
"exports": {
"import": "./index.js"
},
"prettier": "@sissel/prettier-config",
"eslintConfig": {
"extends": "@sissel/eslint-config",
"ignorePatterns": [
"index.js"
],
"rules": {
"no-prototype-builtins": "off",
"multiline-ternary": "off",
"no-use-before-define": "off",
"no-labels": [
"error",
{
"allowLoop": true
}
]
}
},
"scripts": {
"dev": "pnpm tsup & conc -n \"DOCS,TEST,SPX\" -c \"#81D4FA,#FF69B,#00CED1\" \"pnpm doc dev\" \"pnpm test test\" \"tsup --watch\"",
"spx": "ENV=PROD tsup --minify --watch",
"doc": "pnpm -F @spx/docs",
"test": "pnpm -F @spx/test",
"build": "ENV=PROD tsup --minify terser && gzip-size index.js --include-original"
},
"devDependencies": {
"@sissel/eslint-config": "^1.2.1",
"@sissel/prettier-config": "^1.2.5",
"concurrently": "^8.2.2",
"detect-it": "^4.0.1",
"esbuild": "^0.20.1",
"gzip-size-cli": "^5.1.0",
"terser": "^5.29.1",
"tsup": "^8.0.2",
"type-fest": "^4.12.0",
"typescript": "^5.4.2"
},
"optionalDependencies": {
"@types/node": "^20.11.26",
"eslint": "^8.57.0",
"prettier": "^3.2.5"
}
}