-
Notifications
You must be signed in to change notification settings - Fork 252
/
package.json
71 lines (71 loc) · 2.09 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
{
"name": "ziggy-js",
"version": "2.4.1",
"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": "[email protected]"
},
{
"name": "Jake Bathman",
"email": "[email protected]"
},
{
"name": "Jacob Baker-Kretzmar",
"email": "[email protected]"
}
],
"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": {
"@types/qs": "^6.9.17",
"qs": "~6.9.7"
},
"devDependencies": {
"jsdom": "^25.0.1",
"microbundle": "^0.15.1",
"prettier": "^3.3.3",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4
}
}