forked from tighten/ziggy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.55 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
{
"name": "ziggy-js",
"version": "1.8.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",
"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"
],
"source": "src/js/index.js",
"main": "dist/index.js",
"umd:main": "dist/index.js",
"unpkg": "dist/index.js",
"browser": "dist/index.js",
"module": "dist/index.m.js",
"esmodule": "dist/index.es.js",
"types": "src/js/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/tighten/ziggy.git"
},
"scripts": {
"build": "microbundle --name route --format modern,es,umd --external none --no-sourcemap --no-generateTypes",
"build:vue": "microbundle --entry src/js/vue.js --output dist/vue.js --name ZiggyVue --format modern,es,umd --external none --no-sourcemap --no-generateTypes",
"build:react": "microbundle --entry src/js/react.js --output dist/react.js --name ZiggyReact --format modern,es,umd --external none --no-sourcemap --no-generateTypes",
"watch": "npm run build watch",
"build:npm": "microbundle --name route --format modern,es,umd --no-sourcemap --no-generateTypes",
"build:npm:vue": "microbundle --entry src/js/vue.js --output dist/vue.js --name ZiggyVue --format modern,es,umd --no-sourcemap --no-generateTypes",
"build:npm:react": "microbundle --entry src/js/react.js --output dist/react.js --name ZiggyReact --format modern,es,umd --no-sourcemap --no-generateTypes",
"test": "vitest",
"typecheck": "vitest typecheck",
"format": "prettier . --write",
"prepublishOnly": "npm run build:npm && npm run build:npm:vue && npm run build:npm:react"
},
"mangle": {
"regex": "^_(?!query)"
},
"dependencies": {
"qs": "~6.9.7"
},
"devDependencies": {
"microbundle": "^0.15.1",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
"vitest": "^1.0.0-beta.1"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4
}
}