UNPKG

4.62 kBJSONView Raw
1{
2 "name": "@uirouter/angularjs",
3 "description": "State-based routing for AngularJS 1.x",
4 "version": "1.0.30",
5 "scripts": {
6 "clean": "shx rm -rf lib lib-esm _doc build release *.log",
7 "compile": "tsc && tsc -m es6 --outDir lib-esm && npm run fixdts",
8 "fixdts": "dts-downlevel 'lib/**/*.d.ts' 'lib-esm/**/*.d.ts'",
9 "fixmaps:lib": "tweak_sourcemap_paths -a --include 'lib/**/*.js.map' 'lib-esm/**/*.js.map'",
10 "fixmaps:bundle": "tweak_sourcemap_paths -a --include 'release/**/*.js.map'",
11 "build": "npm run clean && npm run compile && npm run bundle && npm run fixmaps:lib && npm run fixmaps:bundle",
12 "lint": "eslint src/**/*.ts",
13 "package": "npm run build",
14 "bundle": "npm run bundle_router && npm run bundle_monolithic_router && npm run bundle_events && npm run bundle_resolve",
15 "bundle_monolithic_router": "rollup -c --environment ROUTER,MONOLITHIC && rollup -c --environment ROUTER,MINIFY,MONOLITHIC",
16 "bundle_router": "rollup -c --environment ROUTER && rollup -c --environment ROUTER,MINIFY",
17 "bundle_events": "rollup -c --environment EVENTS && rollup -c --environment EVENTS,MINIFY",
18 "bundle_resolve": "rollup -c --environment RESOLVE && rollup -c --environment RESOLVE,MINIFY",
19 "test": "tsc && NG=1.7 jest && NG=1.6 jest && NG=1.5 jest && NG=1.4 jest && NG=1.3 jest && NG=1.2 jest",
20 "test:debug": "node --inspect ./node_modules/.bin/jest --runInBand --watch",
21 "test:ng12": "NG=1.2 jest",
22 "test:ng13": "NG=1.3 jest",
23 "test:ng14": "NG=1.4 jest",
24 "test:ng15": "NG=1.5 jest",
25 "test:ng16": "NG=1.6 jest",
26 "test:ng17": "NG=1.7 jest",
27 "test:downstream": "test_downstream_projects",
28 "watch": "jest --watch",
29 "debug": "npm run test:debug",
30 "docs": "generate_docs",
31 "docs:publish": "generate_docs && publish_docs",
32 "release": "release --deps @uirouter/core && node ./scripts/npm_angular_ui_router_release.js && node ./scripts/bower_release.js",
33 "prepublishOnly": "npm run build",
34 "artifacts": "artifact_tagging"
35 },
36 "homepage": "https://ui-router.github.io",
37 "contributors": [
38 {
39 "name": "Nate Abele",
40 "email": "nate@radify.io",
41 "web": "https://radify.io"
42 },
43 {
44 "name": "Chris Thielen",
45 "web": "https://github.com/christopherthielen"
46 },
47 {
48 "name": "Tim Kindberg",
49 "web": "https://github.com/timkindberg"
50 },
51 {
52 "name": "Karsten Sperling",
53 "web": "https://github.com/ksperling"
54 }
55 ],
56 "maintainers": [
57 {
58 "name": "UIRouter Team",
59 "web": "https://github.com/ui-router?tab=members"
60 }
61 ],
62 "repository": {
63 "type": "git",
64 "url": "https://github.com/angular-ui/ui-router.git"
65 },
66 "bugs": {
67 "url": "https://github.com/angular-ui/ui-router/issues"
68 },
69 "engines": {
70 "node": ">=4.0.0"
71 },
72 "license": "MIT",
73 "main": "release/ui-router-angularjs.js",
74 "jsnext:main": "lib-esm/index.js",
75 "module": "lib-esm/index.js",
76 "typings": "lib/index.d.ts",
77 "dependencies": {
78 "@uirouter/core": "6.0.8"
79 },
80 "peerDependencies": {
81 "angular": ">=1.2.0"
82 },
83 "devDependencies": {
84 "@types/angular": "1.6.57",
85 "@types/angular-animate": "^1.5.10",
86 "@types/angular-mocks": "^1.7.0",
87 "@types/jest": "^26.0.5",
88 "@typescript-eslint/eslint-plugin": "^3.7.0",
89 "@typescript-eslint/parser": "^3.7.0",
90 "@uirouter/publish-scripts": "2.5.5",
91 "angular": "1.8.0",
92 "dts-downlevel": "^0.4.0",
93 "eslint": "^7.5.0",
94 "eslint-config-prettier": "^6.11.0",
95 "husky": "^4.2.5",
96 "jest": "^26.0.1",
97 "lodash": "^4.17.19",
98 "prettier": "^2.0.5",
99 "pretty-quick": "^2.0.1",
100 "rollup": "^2.22.1",
101 "rollup-plugin-node-resolve": "^5.2.0",
102 "rollup-plugin-sourcemaps": "^0.6.2",
103 "rollup-plugin-terser": "^6.1.0",
104 "ts-jest": "^26.0.0",
105 "typescript": "^3.9.7"
106 },
107 "husky": {
108 "hooks": {
109 "pre-commit": "pretty-quick --staged"
110 }
111 },
112 "docgen": {
113 "publishDir": "_ng1_docs",
114 "navigation": {
115 "": [
116 "UIRouter"
117 ],
118 "Services": [
119 "StateService",
120 "StateRegistry",
121 "TransitionService",
122 "UrlService",
123 "UrlConfig",
124 "UrlRules"
125 ],
126 "Interfaces": [
127 "Ng1StateDeclaration"
128 ],
129 "Components": [
130 "uiView",
131 "UISref",
132 "UISrefActive",
133 "uiStateDirective"
134 ],
135 "Other": [
136 "Transition",
137 "Trace"
138 ]
139 },
140 "include": [
141 {
142 "pkg": "@uirouter/core",
143 "repo": "https://github.com/ui-router/core",
144 "branch": "master"
145 }
146 ]
147 }
148}