UNPKG

3.68 kBJSONView Raw
1{
2 "name": "@uirouter/core",
3 "description": "UI-Router Core: Framework agnostic, State-based routing for JavaScript Single Page Apps",
4 "version": "6.0.8",
5 "scripts": {
6 "clean": "shx rm -rf lib lib-esm _bundles .cache _doc",
7 "compile": "npm run clean && tsc && tsc -m es6 --outDir lib-esm && shx cp src/*.json lib",
8 "build": "run-s compile fixdts bundle fixmaps:*",
9 "bundle": "rollup -c && rollup -c --environment MINIFY",
10 "fixdts": "dts-downlevel --semver '>=2.2.0' 'lib/**/*.d.ts' 'lib-esm/**/*.d.ts'",
11 "fixmaps:lib": "tweak_sourcemap_paths -a --include 'lib/**/*.js.map' 'lib-esm/**/*.js.map'",
12 "fixmaps:bundle": "tweak_sourcemap_paths -a --include '_bundles/**/*.js.map'",
13 "prepublishOnly": "npm run build",
14 "test": "karma start",
15 "test:downstream": "test_downstream_projects",
16 "docs": "generate_docs",
17 "docs:publish": "generate_docs && publish_docs",
18 "watch": "run-p watch:*",
19 "watch:buildjs": "tsc -w",
20 "watch:buildesm": "tsc -w -m es6 --outDir lib-esm",
21 "watch:dts-downlevel": "npm run fixdts",
22 "watch:test": "karma start --singleRun=false --autoWatch=true --autoWatchInterval=1",
23 "debug": "karma start --singleRun=false --autoWatch=true --autoWatchInterval=1 --browsers=ChromeCanary",
24 "changelog": "show_changelog",
25 "release": "release"
26 },
27 "homepage": "https://ui-router.github.io",
28 "contributors": [
29 {
30 "name": "Nate Abele",
31 "email": "nate@radify.io",
32 "web": "https://radify.io"
33 },
34 {
35 "name": "Chris Thielen",
36 "web": "https://github.com/christopherthielen"
37 },
38 {
39 "name": "Tim Kindberg",
40 "web": "https://github.com/timkindberg"
41 },
42 {
43 "name": "Karsten Sperling",
44 "web": "https://github.com/ksperling"
45 }
46 ],
47 "maintainers": [
48 {
49 "name": "UIRouter Team",
50 "web": "https://github.com/ui-router?tab=members"
51 }
52 ],
53 "repository": {
54 "type": "git",
55 "url": "https://github.com/ui-router/core.git"
56 },
57 "bugs": {
58 "url": "https://github.com/ui-router/core/issues"
59 },
60 "engines": {
61 "node": ">=4.0.0"
62 },
63 "typings": "lib/index.d.ts",
64 "main": "lib/index.js",
65 "jsnext:main": "lib-esm/index.js",
66 "module": "lib-esm/index.js",
67 "license": "MIT",
68 "devDependencies": {
69 "@types/jasmine": "^3.3.13",
70 "@types/jquery": "^3.3.36",
71 "@uirouter/publish-scripts": "^2.5.5",
72 "bufferutil": "4.0.2",
73 "dts-downlevel": "^0.4.0",
74 "fork-ts-checker-webpack-plugin": "^6.0.8",
75 "husky": "^4.2.5",
76 "jasmine-core": "^3.3.0",
77 "karma": "^5.0.4",
78 "karma-chrome-launcher": "^3.1.0",
79 "karma-firefox-launcher": "^2.1.0",
80 "karma-jasmine": "^4.0.1",
81 "karma-script-launcher": "^1.0.0",
82 "karma-sourcemap-loader": "^0.3.7",
83 "karma-webpack": "^4.0.2",
84 "prettier": "^2.0.5",
85 "pretty-quick": "^3.1.0",
86 "rollup": "1.32.1",
87 "rollup-plugin-node-resolve": "^5.0.2",
88 "rollup-plugin-sourcemaps": "^0.6.1",
89 "rollup-plugin-uglify": "^6.0.0",
90 "ts-loader": "^8.0.12",
91 "tslint": "5.20.1",
92 "tslint-eslint-rules": "^5.3.1",
93 "typescript": "~3.9",
94 "utf-8-validate": "5.0.3",
95 "webpack": "^4.34.0"
96 },
97 "resolutions": {
98 "chokidar": "3.3.1"
99 },
100 "husky": {
101 "hooks": {
102 "pre-commit": "pretty-quick --staged"
103 }
104 },
105 "docgen": {
106 "publishDir": "_core_docs",
107 "include": [],
108 "navigation": {
109 "": [
110 "UIRouter"
111 ],
112 "Services": [
113 "StateService",
114 "StateRegistry",
115 "TransitionService",
116 "UrlService",
117 "UrlConfig",
118 "UrlRules"
119 ],
120 "Other": [
121 "Transition",
122 "Trace"
123 ]
124 }
125 }
126}