forked from vaadin/router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.44 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
{
"name": "@vaadin/router",
"version": "1.7.2",
"description": "Small and powerful client-side router for Web Components. Framework-agnostic.",
"main": "dist/vaadin-router.js",
"module": "dist/vaadin-router.js",
"type": "module",
"repository": "vaadin/vaadin-router",
"keywords": [
"Vaadin",
"vaadin-router",
"router",
"client-side",
"web-components"
],
"author": "Vaadin Ltd",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/vaadin/vaadin-router/issues"
},
"homepage": "https://vaadin.com",
"files": [
"index.js",
"index.polyfilled.js",
"interfaces.d.ts",
"src",
"dist/vaadin-router.*"
],
"scripts": {
"install:dependencies": "bower install",
"lint": "npm-run-all --parallel lint:*",
"lint:js": "eslint --ext .html,.js src test demo *.js *.html",
"lint:css": "stylelint demo/**/*.html",
"build": "rollup -c && npm-run-all --parallel build:minify.* build:typescript-declarations",
"build:minify.module": "uglifyjs dist/vaadin-router.umd.js -c -m --source-map content=dist/vaadin-router.umd.js.map,url=vaadin-router.umd.min.js.map --output dist/vaadin-router.umd.min.js",
"build:minify.browser": "uglifyjs dist/vaadin-router.js -c -m --mangle-props regex=/^__/ --toplevel --source-map --output dist/vaadin-router.min.js",
"build:typescript-declarations": "gen-typescript-declarations --outDir .",
"build:watch": "rollup -c -w",
"start": "npm run build && polyserve --port 8000",
"start:browser-sync": "browser-sync start --config bs-config.cjs",
"start:watch": "npm-run-all --parallel build:watch start start:browser-sync",
"test": "wct && npm run test:coverage && npm run test:typescript-declarations",
"test:coverage": "wct --profile=coverage",
"test:typescript-declarations": "tsc --noEmit",
"size-control": "bundlesize",
"docs": "npm run build && npm run docs:analyze && gulp -f gulpfile.cjs docs",
"docs:analyze": "polymer analyze dist/vaadin-router.js src/documentation/*.js > analysis.json",
"browserslist": "browserslist && browserslist --coverage",
"prepare": "npm run build",
"version": "gulp -f gulpfile.cjs version:update"
},
"bundlesize": [
{
"path": "dist/vaadin-router.min.js",
"maxSize": "8 kB"
}
],
"browserslist": [
"last 1 Chrome major versions",
"last 1 Firefox major versions",
"Firefox ESR",
"last 1 Edge major versions",
"Safari >= 13",
"iOS >= 13",
"last 1 ChromeAndroid major versions"
],
"dependencies": {
"@vaadin/vaadin-usage-statistics": "^2.1.0",
"path-to-regexp": "^6.2.0"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.13.10",
"@polymer/gen-typescript-declarations": "^1.6.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/form-data": "^2.5.0",
"bower": "^1.8.12",
"browser-sync": "^2.26.14",
"browserslist": "^4.21.5",
"bundlesize": "^0.18.1",
"eslint": "^7.22.0",
"eslint-plugin-html": "^6.1.2",
"fs-extra": "^9.1.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"gulp-git": "^2.10.1",
"gulp-replace": "^1.0.0",
"npm-run-all": "^4.1.5",
"polymer-cli": "^1.9.11",
"polyserve": "^0.27.15",
"rollup": "^2.79.1",
"stylelint": "^13.12.0",
"typescript": "^4.9.4",
"uglify-es": "^3.3.9",
"wct-istanbul": "^0.14.3",
"web-component-tester": "^6.9.2",
"yargs": "^16.0.3"
}
}