-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
142 lines (142 loc) · 3.68 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "svelte-pathfinder",
"version": "4.8.1",
"description": "Tiny, state-based, advanced router for SvelteJS.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"cdn": "dist/pathfinder.min.js",
"unpkg": "dist/pathfinder.min.js",
"svelte": "src/index.js",
"exports": {
".": {
"svelte": "./src/index.js"
}
},
"types": "src/index.d.ts",
"files": [
"dist",
"src",
"ssr.js",
"CHANGELOG.md"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"build": "npm run format && npm run lint && npm run clean && rollup -c",
"prepublishOnly": "npm run build && npm run size",
"format": "prettier --write src",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "jest src",
"size": "size-limit",
"clean": "rm -rf ./dist"
},
"babel": {
"presets": [
[
"@babel/preset-env"
]
]
},
"browserslist": [
"extends browserslist-config-google"
],
"size-limit": [
{
"name": "UMD output",
"limit": "6.5 KB",
"path": "./dist/index.js"
},
{
"name": "ESM output",
"limit": "6.5 KB",
"path": "./dist/index.mjs"
},
{
"name": "UMD output (minified)",
"limit": "4.5 KB",
"path": "./dist/index.min.js"
},
{
"name": "ESM output (minified)",
"limit": "4.5 KB",
"path": "./dist/index.min.mjs"
},
{
"name": "IIFE bundle",
"limit": "8.5 KB",
"path": "./dist/pathfinder.js"
},
{
"name": "ESM bundle",
"limit": "8.5 KB",
"path": "./dist/pathfinder.mjs"
},
{
"name": "IIFE bundle (minified)",
"limit": "5.5 KB",
"path": "./dist/pathfinder.min.js"
},
{
"name": "ESM bundle (minified)",
"limit": "5.5 KB",
"path": "./dist/pathfinder.min.mjs"
}
],
"prettier": {
"tabWidth": 4,
"semi": true,
"singleQuote": true
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/sveltetools/svelte-pathfinder.git"
},
"keywords": [
"svelte",
"svelte store"
],
"author": "PaulMaly",
"license": "MIT",
"bugs": {
"url": "https://github.com/sveltetools/svelte-pathfinder/issues"
},
"homepage": "https://github.com/sveltetools/svelte-pathfinder#readme",
"devDependencies": {
"@babel/core": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@size-limit/preset-app": "^8.2.6",
"browserslist-config-google": "^3.0.1",
"core-js": "^3.32.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"jest": "^29.6.2",
"prettier": "^3.0.1",
"rollup": "^3.27.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"size-limit": "^8.2.6",
"svelte": "^4.1.2"
},
"peerDependencies": {
"svelte": ">=3 <5"
}
}