forked from panoply/spx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 1.94 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 1.94 KB
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
{
"name": "spx",
"version": "0.0.2-beta.1",
"private": false,
"description": "Single Page XHR for enhancing SSR powered web applications using PushState + XHR",
"homepage": "https://spx.js.org",
"license": "MIT",
"author": "ΝΙΚΟΛΑΣ ΣΑΒΒΙΔΗΣ ",
"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": "^14.0.0",
"pnpm": "^7.0.0",
"vscode": "^1.66.0"
},
"type": "module",
"typings": "index.d.ts",
"module": "./index.js",
"exports": {
"import": "./index.js"
},
"browserslist": [
"extends @brixtol/browserslist-config"
],
"prettier": "@brixtol/prettier-config",
"eslintConfig": {
"ignorePatterns": [
"dist"
],
"extends": "@brixtol/eslint-config",
"rules": {
"multiline-ternary": "off"
}
},
"ava": {
"files": [
"./test/route.test.js"
],
"require": [
"./test/__browser.js"
]
},
"dependencies": {
"detect-it": "^4.0.1"
},
"devDependencies": {
"@brixtol/browserslist-config": "^1.1.0",
"@brixtol/eslint-config": "^1.2.4",
"@brixtol/prettier-config": "^1.2.1",
"@octokit/core": "^3.6.0",
"ava": "^4.2.0",
"browser-env": "^3.3.0",
"esbuild": "^0.14.38",
"gzip-size-cli": "^5.1.0",
"pr-release": "^0.18.9",
"type-fest": "^2.12.2",
"typescript": "^4.6.4"
},
"scripts": {
"dev": "esbuild src/index.ts --outfile=index.js --format=esm --bundle --watch",
"build": "pnpm run prod && gzip-size index.js --include-original",
"prod": "esbuild src/index.ts --minify --tree-shaking=true --format=esm --bundle --outfile=index.js",
"deploy": "pnpm exec bin/docs.sh",
"test": "ava --color --verbose --watch --timeout=2m"
}
}