UNPKG

4.63 kBJSONView Raw
1{
2 "name": "@uirouter/angularjs",
3 "description": "State-based routing for AngularJS 1.x",
4 "version": "1.1.0",
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 "peerDependencies": {
78 "angular": ">=1.2.0",
79 "@uirouter/core": "^6.0.8"
80 },
81 "devDependencies": {
82 "@types/angular": "1.6.57",
83 "@types/angular-animate": "^1.5.10",
84 "@types/angular-mocks": "^1.7.0",
85 "@types/jest": "^26.0.5",
86 "@typescript-eslint/eslint-plugin": "^3.7.0",
87 "@typescript-eslint/parser": "^3.7.0",
88 "@uirouter/publish-scripts": "^2.6.1",
89 "@uirouter/core": "^6.1.0",
90 "angular": "1.8.0",
91 "dts-downlevel": "^0.4.0",
92 "eslint": "^7.5.0",
93 "eslint-config-prettier": "^6.11.0",
94 "husky": "^4.2.5",
95 "jest": "^26.0.1",
96 "lodash": "^4.17.19",
97 "prettier": "^2.0.5",
98 "pretty-quick": "^2.0.1",
99 "rollup": "^2.22.1",
100 "rollup-plugin-node-resolve": "^5.2.0",
101 "rollup-plugin-sourcemaps": "^0.6.2",
102 "rollup-plugin-terser": "^6.1.0",
103 "ts-jest": "^26.0.0",
104 "typescript": "^3.9.7"
105 },
106 "husky": {
107 "hooks": {
108 "pre-commit": "pretty-quick --staged"
109 }
110 },
111 "docgen": {
112 "publishDir": "_ng1_docs",
113 "navigation": {
114 "": [
115 "UIRouter"
116 ],
117 "Services": [
118 "StateService",
119 "StateRegistry",
120 "TransitionService",
121 "UrlService",
122 "UrlConfig",
123 "UrlRules"
124 ],
125 "Interfaces": [
126 "Ng1StateDeclaration"
127 ],
128 "Components": [
129 "uiView",
130 "UISref",
131 "UISrefActive",
132 "uiStateDirective"
133 ],
134 "Other": [
135 "Transition",
136 "Trace"
137 ]
138 },
139 "include": [
140 {
141 "pkg": "@uirouter/core",
142 "repo": "https://github.com/ui-router/core",
143 "branch": "master"
144 }
145 ]
146 }
147}