-
Notifications
You must be signed in to change notification settings - Fork 246
/
package.json
70 lines (70 loc) · 2.05 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
{
"name": "ziggy-js",
"version": "2.3.0",
"description": "Use your Laravel named routes in JavaScript.",
"keywords": [
"laravel",
"routes",
"ziggy"
],
"homepage": "https://github.com/tighten/ziggy",
"bugs": "https://github.com/tighten/ziggy/issues",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/tighten/ziggy.git"
},
"authors": [
{
"name": "Daniel Coulbourne",
"email": "daniel@tighten.co"
},
{
"name": "Jake Bathman",
"email": "jake@tighten.co"
},
{
"name": "Jacob Baker-Kretzmar",
"email": "jacob@tighten.co"
}
],
"files": [
"src/js/index.d.ts",
"dist"
],
"type": "module",
"source": "./src/js/index.js",
"exports": {
"types": "./src/js/index.d.ts",
"default": "./dist/index.js"
},
"module": "./dist/index.esm.js",
"types": "./src/js/index.d.ts",
"scripts": {
"build": "npm run build:esm && npm run build:umd",
"build:esm": "microbundle -i ./src/js/index.js -o ./dist/index.js --format modern,esm --no-sourcemap --no-generateTypes --external none",
"build:npm": "microbundle -i ./src/js/index.js -o ./dist/index.js --format modern,esm --no-sourcemap --no-generateTypes",
"build:umd": "microbundle -i ./src/js/browser.js -o ./dist/route.js --format umd --name route --no-sourcemap --no-generateTypes --external none",
"test": "vitest --typecheck",
"format": "prettier . --write",
"prepublishOnly": "rm -r ./dist/* && npm run build:npm"
},
"mangle": {
"regex": "^_(?!query)"
},
"dependencies": {
"qs": "~6.9.7"
},
"devDependencies": {
"jsdom": "^24.1.1",
"microbundle": "^0.15.1",
"prettier": "^3.3.3",
"typescript": "^5.5.3",
"vitest": "^2.0.3"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4
}
}